1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:27:34 +00:00

Start working on a GUI kernel API.

This commit is contained in:
Andreas Kling 2019-01-13 01:59:38 +01:00
parent becc2c7fa5
commit 8f8c8d1ca3
17 changed files with 150 additions and 11 deletions

23
Kernel/GUITypes.h Normal file
View 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];
};