Commit Graph

37 Commits

Author SHA1 Message Date
1a79a3beda
libui+wind+libos: Move shared memory handling code to os::SharedMemory 2023-09-10 18:55:46 +02:00
b415e9a81a
libui: Add default handlers for events in Widget 2023-09-10 18:55:46 +02:00
77da94339d
libui: Propagate Container events only if they are in the child widget's rect 2023-09-10 18:55:46 +02:00
072793ce43
libui+wind: Handle mouse leave events when the mouse leaves a window 2023-09-10 18:55:46 +02:00
2fbf75a8b5
libui: Install the built library into the system root 2023-09-10 18:55:46 +02:00
869bbbe122
wind+libos+libui: Handle interrupted reads properly 2023-09-10 18:55:45 +02:00
f60ab19ed1
libui: Add Buttons 2023-09-10 18:55:44 +02:00
364556911f
libui: Handle other mouse events 2023-09-10 18:55:44 +02:00
d26ef849d9
libui: Add aligned items using Containers, ImageWidget 2023-09-10 18:55:44 +02:00
03cdd125d1
libui: Add VerticalLayout 2023-09-10 18:55:44 +02:00
815c2321a1
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-10 18:55:44 +02:00
a044b14b75
libui: Actually fill window backgrounds with the correct color 2023-09-10 18:55:44 +02:00
6701530f7f
libui: Add basic widget and layout system =D 2023-09-10 18:55:44 +02:00
0000bdaac5
ui+wind: Send mouse move events through IPC 2023-09-10 18:55:44 +02:00
b870cd1f8b
wind+libui: Add protocol for window close requests 2023-09-10 18:55:44 +02:00
21da3c7bda
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-10 18:55:43 +02:00
113fce5792
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-09-10 18:55:43 +02:00
ec61bdbfc5
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-10 18:55:43 +02:00
89f156ad64
libui: Add CreateWindow IPC message definitions 2023-09-10 18:55:43 +02:00
841de6efcb
libui: Add copyright/author text 2023-09-10 18:55:42 +02:00
a5b3b10a98
libui: Change 'into' to 'onto' 2023-09-10 18:55:41 +02:00
20f6ef04d3
libui: Document ui::Font 2023-09-10 18:55:41 +02:00
37332b2a67
libui+wind: Move some static variables inside functions 2023-09-10 18:55:41 +02:00
889588599b
libui: Properly cut off the last drawn character if necessary 2023-09-10 18:55:41 +02:00
47ea92536a
libui: Add Rect::contains(Rect) 2023-09-10 18:55:40 +02:00
33a4cd0616
libui: Render font characters properly with no spacing, matching the width calculations 2023-09-10 18:55:40 +02:00
d30a40f3bf
libui: Add support for TGA image loading 2023-09-10 18:55:40 +02:00
a8d3c0b400
libui: Add an interface to fill a Canvas with an array of pixels 2023-09-10 18:55:40 +02:00
cb54c16852
libui: Add PSF font loading and rendering 2023-09-10 18:55:40 +02:00
8d2f5f1de0
libui: Add Color::GRAY 2023-09-10 18:55:40 +02:00
de72ae340b
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-09-10 18:55:39 +02:00
943677f2e5
libui: Add Rect::relative 2023-09-10 18:55:39 +02:00
3287f4fe55
libui: Remove redundant statement 2023-09-10 18:55:39 +02:00
aa9abdcd5a
libui: Add getters for separate color values 2023-09-10 18:55:39 +02:00
f6e60bd715
libui: Remove unnecessary stuff 2023-09-10 18:55:39 +02:00
731601cc13
libui+wind: (Draggable) windows 2023-09-10 18:55:39 +02:00
bd4e2ba351
libui: Add a GUI and graphics library 2023-09-10 18:55:33 +02:00