summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-12 00:52:19 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-12 00:52:19 +0100
commit133706d697b7e7441a7f4968b5a52dfc0323d34b (patch)
treee2af7b65b49ce66a9e003278a0508913f644c578 /Kernel/Process.h
parentbb31d961b4b7041ec1b748ce65f256df64e113de (diff)
downloadserenity-133706d697b7e7441a7f4968b5a52dfc0323d34b.zip
Add API's and plumbing for WindowServer clients to make menus.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 09741b84e2..b219cb6adb 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -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);