Andreas Kling
c5d913970a
LibGUI: Remove parent parameter to GUI::Widget constructor
2020-02-23 12:27:53 +01:00
Andreas Kling
428582e805
LibGUI: Don't require passing a parent to widget constructors
...
This is a step towards using Core::Object::add<T> more, which takes
care of parenting the newly created child automatically.
2020-02-23 11:10:52 +01:00
Andreas Kling
2143da6434
LibGUI: Add forwarding header
...
This patch adds <LibGUI/Forward.h> and uses it a bunch.
It also dragged various header dependency reduction changes into it.
2020-02-16 09:41:56 +01:00
Andreas Kling
f88fe5dc3f
LibGUI: Don't assert when hovering spacing around single-child Splitter
...
Fixes #1215 .
2020-02-13 20:00:01 +01:00
Andreas Kling
1fc887c576
LibGUI: Only highlight grabbable area between a Splitter's children
...
We were previously cheating by setting the entire splitter's background
color to the hover highlight color. This looked goofy whenever there
were transparent widgets inside a splitter, since the highlighted color
would shine through when hovering.
This was especially noticeable in SystemMonitor, which now looks much
better. :^)
2020-02-11 11:53:38 +01:00
Andreas Kling
7aa62665a3
LibGUI: Factor out Splitter hit testing into a separate function
2020-02-11 11:53:38 +01:00
Andreas Kling
6a9cc66b97
LibGUI: Remove leading G from filenames
2020-02-06 20:33:02 +01:00