Commit Graph

37 Commits

Author SHA1 Message Date
1edf10380f
libui+wind+libos: Move shared memory handling code to os::SharedMemory 2023-09-04 12:16:55 +02:00
5867195168
libui: Add default handlers for events in Widget 2023-09-04 12:16:55 +02:00
5e1d70819a
libui: Propagate Container events only if they are in the child widget's rect 2023-09-04 12:16:54 +02:00
07e992f61a
libui+wind: Handle mouse leave events when the mouse leaves a window 2023-09-04 12:16:54 +02:00
9a7cb66c34
libui: Install the built library into the system root 2023-09-04 12:16:54 +02:00
077a42c15c
wind+libos+libui: Handle interrupted reads properly 2023-09-04 12:16:53 +02:00
1214d1711d
libui: Add Buttons 2023-09-04 12:16:53 +02:00
6d92eefd5f
libui: Handle other mouse events 2023-09-04 12:16:53 +02:00
56a2284b39
libui: Add aligned items using Containers, ImageWidget 2023-09-04 12:16:52 +02:00
5e3b9fc950
libui: Add VerticalLayout 2023-09-04 12:16:52 +02:00
c8edb55eb2
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-04 12:16:52 +02:00
ca92ff9d96
libui: Actually fill window backgrounds with the correct color 2023-09-04 12:16:52 +02:00
b2de0d2b84
libui: Add basic widget and layout system =D 2023-09-04 12:16:52 +02:00
ccd5551450
ui+wind: Send mouse move events through IPC 2023-09-04 12:16:52 +02:00
51b9acac31
wind+libui: Add protocol for window close requests 2023-09-04 12:16:51 +02:00
d7d18c7c31
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-04 12:16:51 +02:00
51ef9536d3
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-09-04 12:16:51 +02:00
87a54a6187
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-04 12:16:51 +02:00
e35c940bd9
libui: Add CreateWindow IPC message definitions 2023-09-04 12:16:50 +02:00
210d322886
libui: Add copyright/author text 2023-09-04 12:16:50 +02:00
b380d84347
libui: Change 'into' to 'onto' 2023-09-04 12:16:48 +02:00
2d7ece4e9b
libui: Document ui::Font 2023-09-04 12:16:48 +02:00
1c4f2dfb15
libui+wind: Move some static variables inside functions 2023-09-04 12:16:48 +02:00
d6b7a4a921
libui: Properly cut off the last drawn character if necessary 2023-09-04 12:16:48 +02:00
feb84ac3fa
libui: Add Rect::contains(Rect) 2023-09-04 12:16:47 +02:00
80c8a80301
libui: Render font characters properly with no spacing, matching the width calculations 2023-09-04 12:16:47 +02:00
218278fb22
libui: Add support for TGA image loading 2023-09-04 12:16:47 +02:00
117edb3e90
libui: Add an interface to fill a Canvas with an array of pixels 2023-09-04 12:16:47 +02:00
dd3611cb25
libui: Add PSF font loading and rendering 2023-09-04 12:16:46 +02:00
e932efd72c
libui: Add Color::GRAY 2023-09-04 12:16:46 +02:00
35d07206d7
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-09-04 12:16:46 +02:00
f61dd9ba99
libui: Add Rect::relative 2023-09-04 12:16:46 +02:00
eef6483192
libui: Remove redundant statement 2023-09-04 12:16:45 +02:00
88fb4be5ed
libui: Add getters for separate color values 2023-09-04 12:16:45 +02:00
94c06379ea
libui: Remove unnecessary stuff 2023-09-04 12:16:45 +02:00
4933e1e32c
libui+wind: (Draggable) windows 2023-09-04 12:16:45 +02:00
4502073b7d
libui: Add a GUI and graphics library 2023-09-04 12:16:44 +02:00