summaryrefslogtreecommitdiff
path: root/LibGUI/GApplication.h
AgeCommit message (Collapse)Author
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
2019-06-03StringViewize a bunch of things -- mostly LibGUIRobin Burchell
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-08GApplication: quit() should have a default exit code of 0.Andreas Kling
2019-04-20LibGUI: Allow GActions to be scoped either globally or widget-locally.Andreas Kling
This makes it possible for e.g GTextEditor to create a bunch of actions with popular shortcuts like Ctrl+C, etc, without polluting the global shortcut namespace. Widget-local actions will only activate while their corresponding widget has focus. :^)
2019-04-08LibGUI+WindowServer: Add support for GWidget tooltips.Andreas Kling
Any GWidget can have a tooltip and it will automatically pop up below the center of the widget when hovered. GActions added to GToolBars will use the action text() as their tooltip automagically. :^)
2019-03-03LibGUI: Move shortcut actions from GEventLoop to GApplications.Andreas Kling
I'm gonna want to have nested event loops sooner or later, so let's not pollute GEventLoop with things that are meant to work globally. This patch also changes key events to pass around their modifiers as a bitfield all the way around the system instead of breaking them up.
2019-02-17LibGUI: Rename GEventLoop::exit() and GApplication::exit() to quit().Andreas Kling
These functions don't exit immediately, but rather on the next iteration of the event loop. Since exit() is already used by the standard library, let's call it quit() instead. That way, saying exit() means the same thing here as anywhere else.
2019-02-11Port all apps to GApplication.Andreas Kling
2019-02-11LibGUI: Add GMenu* and GApplication classes.Andreas Kling