mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Add API's and plumbing for WindowServer clients to make menus.
This commit is contained in:
parent
bb31d961b4
commit
133706d697
Notes:
sideshowbarker
2024-07-19 15:46:57 +09:00
Author: https://github.com/awesomekling
Commit: 133706d697
17 changed files with 322 additions and 24 deletions
|
@ -230,6 +230,14 @@ public:
|
|||
int gui$get_window_rect(int window_id, GUI_Rect*);
|
||||
int gui$set_window_rect(int window_id, const GUI_Rect*);
|
||||
int gui$set_global_cursor_tracking_enabled(int window_id, bool enabled);
|
||||
int gui$menubar_create();
|
||||
int gui$menubar_destroy(int menubar_id);
|
||||
int gui$menubar_add_menu(int menubar_id, int menu_id);
|
||||
int gui$menu_create(const char* name);
|
||||
int gui$menu_destroy(int menu_id);
|
||||
int gui$menu_add_separator(int menu_id);
|
||||
int gui$menu_add_item(int menu_id, unsigned identifier, const char* text);
|
||||
int gui$set_menubar(int menubar_id);
|
||||
|
||||
DisplayInfo set_video_resolution(int width, int height);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue