summaryrefslogtreecommitdiff
path: root/LibCore/CObject.h
AgeCommit message (Collapse)Author
2019-05-28Add clang-format fileRobin Burchell
Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh.
2019-05-27LibCore: Add CObject::for_each_child_of_type<T>()Andreas Kling
Use this to iterate over all the GRadioButtons in a group.
2019-05-27LibCore+LibGUI: Add is<T>(CObject&) and to<T>(CObject&) helpers.Andreas Kling
2019-05-27LibCore: Add CObject::for_each_child(callback).Andreas Kling
2019-04-18LibCore+LibGUI: Make CObject child events synchronous.Andreas Kling
...and then make GWidget layout invalidation lazy. This way we coalesce multiple invalidations into a single relayout and we don't have to worry about child widgets not being fully constructed.
2019-04-16GWidget: Add some new child z-ordering facilities.Andreas Kling
- child_at(Point) - move_to_front() - move_to_back() - is_frontmost() - is_backmost() This patch also makes it possible to receive the mouse event that triggers a context menu before the context menu is shown. I'm not sure this is the best design for context menus but it works for now.
2019-04-10LibCore: Move LibGUI/GObject to LibCore/CObject.Andreas Kling