summaryrefslogtreecommitdiff
path: root/Demos
AgeCommit message (Collapse)Author
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-05-29Meta: Add a script check the presence of "#pragma once" in header filesEmanuele Torre
.. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified.
2020-05-25Eyes: Resize the window based on the number of eyesAnotherTest
2020-05-25Eyes: Correctly calculate the eye bounds for arbitrary number of eyesAnotherTest
2020-05-24Demos: Add Eyes demoSergey Bugaev
This is a neat clone of xeyes. It demoes the new ellipse filling functionality, as well as the existing global mouse cursor tracking functionality :^)
2020-05-20Demos: WidgetGallery, Add MessageBox question icon optionHüseyin ASLITÜRK
2020-05-16Demos: Compile LibGfxDemo with the new CMake build systemtgsm
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-12LibGUI: Include keyboard modifier state with button on_click callsAndreas Kling
This will allow you us to implement special behavior when Ctrl+clicking a button.
2020-05-10LibGfx: Add support for dashed linesLinus Groh
Non-configurable for now.
2020-05-10Demos: Add LibGfx Demo :^)Linus Groh
2020-05-09Demos: Add missing copyright header to Mouse/main.cppLinus Groh
2020-05-07MouseDemo: A more visual approach for MouseEvents :^)pierre
2020-05-04MouseDemo: Add menu, using the new icon :^)Ben Wiederhake
2020-05-02Demos: Add a little "Mouse" demo for showing mouse button statesAndreas Kling
This was very helpful when adding support for 5-button mice! :^)
2020-05-02Screensaver: Add app-screensaver.png 16x16 iconBrendan Coles
2020-05-02Fire: Add app-fire.png 16x16 iconBrendan Coles
2020-05-02Cube: Add app-cube.png 16x16 iconBrendan Coles
2020-04-28Screensaver: Draw screen before first timer iteration and seed srand()Brendan Coles
2020-04-28Fire: Use LibC srand()Brendan Coles
2020-04-23Demos: Add ColorInput, TabWidget and MessageBox demos in WidgetGalleryHüseyin ASLITÜRK
2020-04-19Demos: Add Screensaver demoBrendan Coles
2020-04-18Cube: Two small tweaksAndreas Kling
I noticed these when playing with the demo locally: - Use RGB32 instead of RGBA32 for the bitmap buffer. This avoids some flickering that would sometimes occur. - Clip the gradient fill to the widget rect rather than the painter clip rect. In practice, the painter was always clipped to the widget rect here, but it seems logical to say "fill widget with gradient."
2020-04-18Demos: Add 3D Cube DemoStephan Unverwerth
This renders a spinning 3D cube and demonstrates the 3D math classes from LibGfx.
2020-04-13Debugger: Add DebugSessionItamar
The DebugSession class wraps the usage of Ptrace. It is intended to be used by cli & gui debugger programs. Also, call objdump for disassemly
2020-04-13ptrace: Stop a traced thread when it exists from execveItamar
This was a missing feature in the PT_TRACEME command. This feature allows the tracer to interact with the tracee before the tracee has started executing its program. It will be useful for automatically inserting a breakpoint at a debugged program's entry point.
2020-04-13CPU: Handle breakpoint trapItamar
Also, start working on the debugger app.
2020-03-19WidgetGallery: Remove G prefixes from componentsTibor Nagy
2020-03-04LibCore: Make Core::Object::add<ChildType> return a ChildType&Andreas Kling
Since the returned object is now owned by the callee object, we can simply vend a ChildType&. This allows us to use "." instead of "->" at the call site, which is quite nice. :^)
2020-03-04LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clientsAndreas Kling
2020-03-04LibGUI: Use set_layout<LayoutType>() in lots of client codeAndreas Kling
2020-03-03LibGUI: Some more convenience functions for constructing widgetsAndreas Kling
This patch adds two new API's: - WidgetType& GUI::Window::set_main_widget<WidgetType>(); This creates a new main widget for a window, assigns it, and returns it to you as a WidgetType&. - LayoutType& GUI::Widget::set_layout<LayoutType>(); Same basic idea, creates a new layout, assigns it, and returns it to you as a LayoutType&.
2020-03-03LibGUI: Remove Button& parameter from Button::on_click hookAndreas Kling
There was but a single user of this parameter and it's a bit tedious to write it out every time, so let's get rid of it.
2020-02-29LibELF: Use MAP_PRIVATE for file-backed mmaps in ELFDynamicLoaderAndrew Kaster
Clean up some unused code, clean up FIXMEs, and remove premature --dynamic-loader/-pie from LinkDemo (so it runs again on master)
2020-02-25Build: Only look at SUBDIRS with Makefilesjoshua stein
If a directory is renamed or deleted before 'make clean', git will delete the Makefile but leave all of the object and dependency files around. When make would try to recurse into that directory from the wildcard, it would error out since there is no Makefile.
2020-02-23Demos: Remove silly HelloWorld2 demoAndreas Kling
This was just a tiny test app made with the old VisualBuilder. It's not really useful for anything.
2020-02-23Userspace: Use Core::Object::add() when building interfacesAndreas Kling
2020-02-15LibGUI: Remove more header dependencies from Widget.hAndreas Kling
2020-02-14LibGfx: Add forward declaration headerAndreas Kling
This patch adds <LibGfx/Forward.h> with forward declarations for Gfx.
2020-02-10AK: Remove bitrotted Traits::dump() mechanismAndreas Kling
This was only used by HashTable::dump() which I used when doing the first HashTable implementation. Removing this allows us to also remove most includes of <AK/kstdio.h>.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-06LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayoutAndreas Kling
2020-02-06LibGUI: Add HorizontalSlider and VerticalSlider convenience classesAndreas Kling
2020-02-06LibGfx: Prefer using Gfx::Bitmap::load_from_file instead of load_png()Andreas Kling
Code that just wants to open a Gfx::Bitmap from a file should not be calling the PNG codec directly.
2020-02-06LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h}Andreas Kling
2020-02-06LibGfx: Rename from LibDraw :^)Andreas Kling
2020-02-06LibDraw: Put all classes in the Gfx namespaceAndreas Kling
I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^)
2020-02-02LibGUI: Put all classes in the GUI namespace and remove the leading GAndreas Kling
This took me a moment. Welcome to the new world of GUI::Widget! :^)
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.