mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibGUI+WindowServer: Add support for enabled/disabled actions.
The enabled state of a GAction now propagates both to any toolbar buttons and any menu items linked to the action. Toolbar buttons are painted in a grayed out style when disabled. Menu items are gray when disabled. :^)
This commit is contained in:
parent
32e5c8c689
commit
054c982181
20 changed files with 308 additions and 53 deletions
|
@ -50,6 +50,7 @@ private:
|
|||
void handle_request(const WSAPISetApplicationMenubarRequest&);
|
||||
void handle_request(const WSAPIAddMenuToMenubarRequest&);
|
||||
void handle_request(const WSAPIAddMenuItemRequest&);
|
||||
void handle_request(const WSAPIUpdateMenuItemRequest&);
|
||||
void handle_request(const WSAPIAddMenuSeparatorRequest&);
|
||||
void handle_request(const WSAPISetWindowTitleRequest&);
|
||||
void handle_request(const WSAPIGetWindowTitleRequest&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue