mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
WindowServer: Begin refactoring towards a fully asynchronous protocol.
In order to move the WindowServer to userspace, I have to eliminate its dependence on system call facilities. The communication channel with each client needs to be message-based in both directions.
This commit is contained in:
parent
96352ab735
commit
4f98a35beb
18 changed files with 242 additions and 91 deletions
12
LibC/gui.cpp
12
LibC/gui.cpp
|
@ -69,18 +69,6 @@ int gui_set_global_cursor_tracking_enabled(int window_id, bool enabled)
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int gui_menubar_create()
|
||||
{
|
||||
int rc = syscall(SC_gui_menubar_create);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int gui_menubar_destroy(int menubar_id)
|
||||
{
|
||||
int rc = syscall(SC_gui_menubar_destroy, menubar_id);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int gui_menubar_add_menu(int menubar_id, int menu_id)
|
||||
{
|
||||
int rc = syscall(SC_gui_menubar_add_menu, menubar_id, menu_id);
|
||||
|
|
|
@ -16,8 +16,6 @@ int gui_set_window_title(int window_id, const char*, size_t);
|
|||
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);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue