summaryrefslogtreecommitdiff
path: root/LibGUI/GCheckBox.cpp
AgeCommit message (Collapse)Author
2019-05-24LibGUI: Share code for text painting in GAbstractButton.Andreas Kling
This gives all the GAbstractButton a consistent disabled appearance.
2019-05-24Demos: 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. :^)
2019-05-24LibGUI: Make GCheckBox inherit from GAbstractButton.Andreas Kling
2019-05-15LibGUI: Support cycling through focusable widgets with Tab and Shift-Tab.Andreas Kling
2019-05-12Change String&& arguments to const String& in a couple of places.Andreas Kling
String&& is more nuisance than anything, and the codegen improvement is basically negligible since the underlying type is already retainable.
2019-05-10LibGUI+WindowServer: Improve checkmark appearance.Andreas Kling
2019-04-10GCheckBox: Paint the box part as a container frame.Andreas Kling
2019-03-29Rename Painter::set_clip_rect() to add_clip_rect().Andreas Kling
It was confusing to see multiple calls to set_foo() in a row. Since this is an intersecting operation, let's call it add_clip_rect() instead.
2019-03-28LibGUI: Add a GPainter class that inherits from Painter.Andreas Kling
This gets rid of the last little piece of LibGUI knowledge in Painter.
2019-03-24WindowServer+LibGUI: Implement automatic cursor tracking.Andreas Kling
When a mouse button is pressed inside a window, put that window into an automatic mouse tracking state where all mouse events are sent to that window until all mouse buttons are released. This might feel even better if it only cared about the mouse buttons you actually pressed while *inside* the windows to get released, I don't know. I'll have to use it for a while and see how it's like.
2019-03-06Implement basic support for variable-width fonts.Andreas Kling
Also add a nice new font called Katica. It's not used anywhere yet but I'm definitely itching to start using it. :^)
2019-02-28LibGUI: Clip to paint event rect in most widgets.Andreas Kling
2019-02-25Convert more RetainPtr use to Retained.Andreas Kling
2019-02-11WindowServer: More work on menus.Andreas Kling
2019-02-05SharedGraphics: Add some useful painting helpers and make use of them.Andreas Kling
2019-02-04LibGUI: Use LightGray as the base UI color.Andreas Kling
This feels nicely reminiscent of the gap in time between Win3.11 and Win95, one of my favorite eras in UI look-and-feel.
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-27LibGUI: More work on GCheckBox.Andreas Kling
- Make it track the mouse cursor just like GButton does so that changes only get committed if the mouseup event happens while inside the widget rect. - Draw a focus rect around the box when appropriate. - When focused, support toggling the checked state with the space bar.
2019-01-21LibGUI: Mass coding style fixes.Andreas Kling
2019-01-20Rename all the LibGUI classes to GClassName.Andreas Kling