Commit graph

6 commits

Author SHA1 Message Date
Andreas Kling
83aa785c57 GSlider: Oops, fix typo in previous commit. 2019-05-25 13:44:37 +02:00
Andreas Kling
d12857fc36 LibGUI: Notify widgets when their enabled state changes.
This is done by dispatching a (synchronous) "EnabledChange" event that can
be picked up in change_event(). Use this event to kick widgets out of their
"being pressed"-type modes if the user is interacting with them while the
state is programmatically changed.
2019-05-25 13:40:57 +02:00
Andreas Kling
cb9134a2ca GSlider: Ignore mouse events when disabled. 2019-05-24 23:03:11 +02:00
Andreas Kling
87c256a7d5 GSlider: Highlight the knob when hovering it. :^) 2019-04-30 00:47:46 +02:00
Andreas Kling
55d7d4e3d8 GSlider: Improve appearance by thinning the track a bit. 2019-04-29 23:42:55 +02:00
Andreas Kling
9c6be9b21e LibGUI: Add a GSlider widget. 2019-04-29 19:20:34 +02:00