summaryrefslogtreecommitdiff
path: root/WindowServer/WSMenu.h
AgeCommit message (Collapse)Author
2019-03-20Move WindowServer into Servers.Andreas Kling
2019-03-06WindowServer: Let the window switcher render itself as a WSWindow.Andreas Kling
Much better than drawing directly into the back buffer.
2019-03-02LibGUI+WindowServer: Add app-global keyboard shortcuts.Andreas Kling
This patch adds a GShortcut class. Each GAction can have a GShortcut which will cause the event loop to listen for that key combination app-globally and activate the event in case it's pressed. The shortcut will also be displayed when the action is added to a menu. Use this to hook up Alt+Up with the "open parent directory" action in the FileManager app. :^)
2019-02-26WindowServer: Bump height of window titlebars and menus from 16 to 18.Andreas Kling
2019-02-19WindowServer: Display menus with 95% opacity by default.Andreas Kling
2019-02-17WindowServer: Let menu objects reference the WSClientConnection by pointer.Andreas Kling
Since these are owner/ownee relationships, there's no need for indirection.
2019-02-14WindowServer: Make WSMenu use WSClientConnection::post_message().Andreas Kling
2019-02-14WindowServer: Add WSClientConnection class to manage an individual client.Andreas Kling
This makes both object lifetimes and object ID's a lot easier to understand.
2019-02-12WindowServer: Don't crash when trying to open an empty menu.Andreas Kling
2019-02-12WindowServer: Clean up any menu objects on process exit.Andreas Kling
..and now that this works, implement the Quit menu action in Terminal. :^)
2019-02-12WindowServer: More work on the menu system.Andreas Kling
Menus are now tied to a Process (by WeakPtr.) This will allow us to pass notifications to the correct event stream.
2019-02-12Add API's and plumbing for WindowServer clients to make menus.Andreas Kling
2019-02-11WindowServer: Add a bunch of horizontal padding to menu items.Andreas Kling
All right, this looks a lot nicer. :^)
2019-02-11WindowServer: Make automatic menu dismissal feel more "natural."Andreas Kling
2019-02-11WindowServer: Don't keep menu items in hovered state after the cursor leaves.Andreas Kling
2019-02-11WindowServer: Give menu items an identifier field and add a simple callback.Andreas Kling
Eventually these identifiers will be sent to the userspace client who created the menu. None of that is hooked up yet though.
2019-02-11WindowServer: More work on menus.Andreas Kling
2019-02-11WindowServer: Start implementing a menu system.Andreas Kling
I'm going with a global top-of-the-screen menu instead of per-window menus. The basic idea is that menus will live in the WindowServer and clients can create menus via WindowServer requests.