Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-02 | LibGUI+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-26 | WindowServer: Bump height of window titlebars and menus from 16 to 18. | Andreas Kling | |
2019-02-19 | WindowServer: Display menus with 95% opacity by default. | Andreas Kling | |
2019-02-17 | WindowServer: Let menu objects reference the WSClientConnection by pointer. | Andreas Kling | |
Since these are owner/ownee relationships, there's no need for indirection. | |||
2019-02-14 | WindowServer: Make WSMenu use WSClientConnection::post_message(). | Andreas Kling | |
2019-02-14 | WindowServer: 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-12 | WindowServer: Don't crash when trying to open an empty menu. | Andreas Kling | |
2019-02-12 | WindowServer: Clean up any menu objects on process exit. | Andreas Kling | |
..and now that this works, implement the Quit menu action in Terminal. :^) | |||
2019-02-12 | WindowServer: 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-12 | Add API's and plumbing for WindowServer clients to make menus. | Andreas Kling | |
2019-02-11 | WindowServer: Add a bunch of horizontal padding to menu items. | Andreas Kling | |
All right, this looks a lot nicer. :^) | |||
2019-02-11 | WindowServer: Make automatic menu dismissal feel more "natural." | Andreas Kling | |
2019-02-11 | WindowServer: Don't keep menu items in hovered state after the cursor leaves. | Andreas Kling | |
2019-02-11 | WindowServer: 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-11 | WindowServer: More work on menus. | Andreas Kling | |
2019-02-11 | WindowServer: 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. |