1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

Make it possible for userspace to alter window title/geometry.

I'm not in love with this syscall API but it allows me to make progress.
This commit is contained in:
Andreas Kling 2019-01-20 06:02:09 +01:00
parent 8eae89a405
commit dbe83f3a83
11 changed files with 78 additions and 17 deletions

View file

@ -14,7 +14,7 @@ static void paint(GraphicsBitmap& bitmap, int width, int height);
int main(int argc, char** argv)
{
GUI_CreateWindowParameters wparams;
GUI_WindowParameters wparams;
wparams.rect = { { 100, 100 }, { 120, 120 } };
wparams.background_color = 0xffc0c0;
strcpy(wparams.title, "GUI test app");