summaryrefslogtreecommitdiff
path: root/SharedGraphics/StylePainter.cpp
AgeCommit message (Collapse)Author
2019-04-10LibGUI: Move frame painting from GFrame to StylePainter.Andreas Kling
This way it can be used by others who might not have a GFrame object.
2019-04-06Add a slight hover highlight to GButton and WSButton. :^)Andreas Kling
2019-04-04LibGUI: Make it possible for GButton to be checkable.Andreas Kling
2019-04-03AK: Add Eternal<T> and use it in various places.Andreas Kling
This is useful for static locals that never need to be destroyed: Thing& Thing::the() { static Eternal<Thing> the; return the; } The object will be allocated in data segment memory and will never have its destructor invoked.
2019-03-29StylePainter: Fix underdraw in new button style.Andreas Kling
2019-03-29LibGUI: Don't draw left and right side of surfaces that span entire window.Andreas Kling
In other words, if a surface stretches from the left side of the window all the way to the right side, skip shading and highlighting the sides. This makes widgets blend together just slightly with the window. :^)
2019-03-28StylePainter: Tweak ButtonStyle::Normal highlights.Andreas Kling
2019-03-28Move LibGUI/GStyle to SharedGraphics/StylePainter.Andreas Kling
I want to paint some buttons in WindowServer where we don't have LibGUI.