mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibGUI: Implement destroying individual windows without exiting the process.
This commit is contained in:
parent
5c25f0c4db
commit
37ab7b7a8c
8 changed files with 85 additions and 30 deletions
|
@ -9,6 +9,12 @@ int gui_create_window(const GUI_WindowParameters* params)
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int gui_destroy_window(int window_id)
|
||||
{
|
||||
int rc = syscall(SC_gui_destroy_window, window_id);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int gui_invalidate_window(int window_id, const GUI_Rect* rect)
|
||||
{
|
||||
int rc = syscall(SC_gui_invalidate_window, window_id, rect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue