mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:27:34 +00:00
Start working on a GUI kernel API.
This commit is contained in:
parent
becc2c7fa5
commit
8f8c8d1ca3
17 changed files with 150 additions and 11 deletions
23
Kernel/GUITypes.h
Normal file
23
Kernel/GUITypes.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
// GUI system call API types.
|
||||
|
||||
struct GUI_Rect {
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
};
|
||||
|
||||
struct GUI_WindowFlags { enum {
|
||||
Visible = 1 << 0,
|
||||
}; };
|
||||
|
||||
typedef unsigned GUI_Color;
|
||||
|
||||
struct GUI_CreateWindowParameters {
|
||||
GUI_Rect rect;
|
||||
GUI_Color background_color;
|
||||
unsigned flags;
|
||||
char title[128];
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue