Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-23 | Demos: Add ColorInput, TabWidget and MessageBox demos in WidgetGallery | Hüseyin ASLITÜRK | |
2020-03-19 | WidgetGallery: Remove G prefixes from components | Tibor Nagy | |
2020-03-04 | LibCore: 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-04 | LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clients | Andreas Kling | |
2020-03-04 | LibGUI: Use set_layout<LayoutType>() in lots of client code | Andreas Kling | |
2020-02-23 | Userspace: Use Core::Object::add() when building interfaces | Andreas Kling | |
2020-02-06 | LibGUI: Remove leading G from filenames | Andreas Kling | |
2020-02-06 | LibCore: Remove leading C from filenames | Andreas Kling | |
2020-02-06 | LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayout | Andreas Kling | |
2020-02-06 | LibGUI: Add HorizontalSlider and VerticalSlider convenience classes | Andreas Kling | |
2020-02-02 | LibGUI: Put all classes in the GUI namespace and remove the leading G | Andreas Kling | |
This took me a moment. Welcome to the new world of GUI::Widget! :^) | |||
2020-02-02 | LibCore: Put all classes in the Core namespace and remove the leading C | Andreas 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. | |||
2020-02-02 | LibGUI: Add GHBoxLayout and GVBoxLayout convenience classes | Andreas Kling | |
2020-01-18 | Meta: Add license header to source files | Andreas Kling | |
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header. | |||
2020-01-06 | AK+Demos+Libraries: Remove executable permissions from {.cpp,.h} files | Shannon Booth | |
2019-09-22 | LibCore: Make CObject reference-counted | Andreas Kling | |
Okay, I've spent a whole day on this now, and it finally kinda works! With this patch, CObject and all of its derived classes are reference counted instead of tree-owned. The previous, Qt-like model was nice and familiar, but ultimately also outdated and difficult to reason about. CObject-derived types should now be stored in RefPtr/NonnullRefPtr and each class can be constructed using the forwarding construct() helper: auto widget = GWidget::construct(parent_widget); Note that construct() simply forwards all arguments to an existing constructor. It is inserted into each class by the C_OBJECT macro, see CObject.h to understand how that works. CObject::delete_later() disappears in this patch, as there is no longer a single logical owner of a CObject. | |||
2019-09-21 | LibGUI: Convert remaining random little things to ObjectPtr | Andreas Kling | |
2019-09-21 | GButton: Convert most code to using ObjectPtr for GButton | Andreas Kling | |
2019-09-21 | LibGUI: Convert GCheckBox to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GRadioButton to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GWindow to ObjectPtr | Andreas Kling | |
2019-09-21 | LibCore: Remove CTimer::create() overloads in favor of construct() | Andreas Kling | |
2019-09-21 | LibGUI: Convert GWidget to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GSlider to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GProgressBar to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GSpinBox to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GTextBox, GTextEditor and GResizeCorner to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GScrollBar to ObjectPtr | Andreas Kling | |
2019-09-21 | LibGUI: Convert GLabel to ObjectPtr | Andreas Kling | |
2019-09-20 | LibCore: Convert CTimer to ObjectPtr | Andreas Kling | |
2019-07-20 | GWidget: Add set_preferred_size(width, height) overload. | Andreas Kling | |
It was annoying to always write set_preferred_size({ width, height }). :^) | |||
2019-07-20 | GSlider: Add support for vertical sliders. | Andreas Kling | |
You now have to pass an Orientation to the GSlider constructor. It's not possible to change the orientation after construction. Added some vertical GSliders to the WidgetGallery demo for testing. :^) | |||
2019-07-11 | GSlider: Make the knob width proportional to the range, if in that mode (#288) | Lawrence Manning | |
Regardless of mode, made the knob container clickable so the knob position can be moved without dragging the knob itself. Added a 3rd GSlider to the WidgetGallery showing the proportional mode in action. | |||
2019-06-22 | WidgetGallery: Fix compiler warnings. | Andreas Kling | |
2019-06-07 | Demos: Run clang-format on everything. | Andreas Kling | |
2019-05-24 | Demos: Start working on a simple WidgetGallery app. | Andreas Kling | |
It's good to have a place where we can try out all the different widgets. This needs some more work on a nice layout, and should also include more of the widgets. :^) |