Commit Graph

26 Commits

Author SHA1 Message Date
a337f3fb6e
libui: Actually fill window backgrounds with the correct color 2023-09-12 22:09:42 +02:00
7c30cda667
libui: Add basic widget and layout system =D 2023-09-12 22:09:42 +02:00
4f25509465
ui+wind: Send mouse move events through IPC 2023-09-12 22:09:42 +02:00
04626e189f
wind+libui: Add protocol for window close requests 2023-09-12 22:09:42 +02:00
03d7e8d84e
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-12 22:09:42 +02:00
a4e1dc24f5
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-09-12 22:09:42 +02:00
ed572a86c6
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-12 22:09:42 +02:00
8b2fbc6613
libui: Add CreateWindow IPC message definitions 2023-09-12 22:09:42 +02:00
2c46be036f
libui: Add copyright/author text 2023-09-12 22:09:41 +02:00
a4bff3381b
libui: Change 'into' to 'onto' 2023-09-12 22:09:40 +02:00
013fdfe553
libui: Document ui::Font 2023-09-12 22:09:40 +02:00
194a5c7817
libui+wind: Move some static variables inside functions 2023-09-12 22:09:40 +02:00
8d58234854
libui: Properly cut off the last drawn character if necessary 2023-09-12 22:09:40 +02:00
29e3b8bcf7
libui: Add Rect::contains(Rect) 2023-09-12 22:09:40 +02:00
281d703c04
libui: Render font characters properly with no spacing, matching the width calculations 2023-09-12 22:09:40 +02:00
360beaf877
libui: Add support for TGA image loading 2023-09-12 22:09:39 +02:00
279ba16880
libui: Add an interface to fill a Canvas with an array of pixels 2023-09-12 22:09:39 +02:00
371830ce14
libui: Add PSF font loading and rendering 2023-09-12 22:09:39 +02:00
3112d2114c
libui: Add Color::GRAY 2023-09-12 22:09:39 +02:00
5097110df7
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-09-12 22:09:39 +02:00
670cffd107
libui: Add Rect::relative 2023-09-12 22:09:39 +02:00
68c3dd9787
libui: Remove redundant statement 2023-09-12 22:09:39 +02:00
81d4f0431d
libui: Add getters for separate color values 2023-09-12 22:09:38 +02:00
d0c910e3ad
libui: Remove unnecessary stuff 2023-09-12 22:09:38 +02:00
821d9ed2f0
libui+wind: (Draggable) windows 2023-09-12 22:09:38 +02:00
fbd55d1c41
libui: Add a GUI and graphics library 2023-09-12 22:09:37 +02:00