Commit Graph

36 Commits

Author SHA1 Message Date
e85dc97e91
libui: Add default handlers for events in Widget
All checks were successful
continuous-integration/drone/pr Build is passing
2023-08-29 15:32:33 +02:00
2c7ae3c61b
libui: Propagate Container events only if they are in the child widget's rect 2023-08-29 15:29:17 +02:00
f0f1a9c46c
libui+wind: Handle mouse leave events when the mouse leaves a window 2023-08-29 15:26:34 +02:00
033b4c3db8
libui: Install the built library into the system root 2023-08-28 12:51:16 +02:00
2eb973ca2b
wind+libos+libui: Handle interrupted reads properly 2023-08-28 12:51:16 +02:00
8e28d45b9c
libui: Add Buttons 2023-08-28 12:51:15 +02:00
f8e6b45dd2
libui: Handle other mouse events 2023-08-28 12:51:15 +02:00
ff68f574ff
libui: Add aligned items using Containers, ImageWidget 2023-08-28 12:51:15 +02:00
da6daff8c7
libui: Add VerticalLayout 2023-08-28 12:51:15 +02:00
09cb378a7a
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-28 12:51:15 +02:00
d58a56a1d1
libui: Actually fill window backgrounds with the correct color 2023-08-28 12:51:15 +02:00
096a4e7953
libui: Add basic widget and layout system =D 2023-08-28 12:51:15 +02:00
9c30641587
ui+wind: Send mouse move events through IPC 2023-08-28 12:51:15 +02:00
75b3e78d34
wind+libui: Add protocol for window close requests 2023-08-28 12:51:15 +02:00
d801fe6bb8
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-28 12:51:14 +02:00
41f9d8cadd
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-08-28 12:51:14 +02:00
36cc66c2e9
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-28 12:51:14 +02:00
03bde69c65
libui: Add CreateWindow IPC message definitions 2023-08-28 12:51:14 +02:00
e28f8f7520
libui: Add copyright/author text 2023-08-28 12:51:13 +02:00
f092e41247
libui: Change 'into' to 'onto' 2023-08-28 12:51:00 +02:00
c5ffbae6a0
libui: Document ui::Font 2023-08-28 12:51:00 +02:00
790d9d119b
libui+wind: Move some static variables inside functions 2023-08-28 12:50:59 +02:00
5b496791c5
libui: Properly cut off the last drawn character if necessary 2023-08-28 12:50:59 +02:00
fd99fc88ee
libui: Add Rect::contains(Rect) 2023-08-28 12:50:59 +02:00
4ac0adee57
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-28 12:50:59 +02:00
ee7671a8cb
libui: Add support for TGA image loading 2023-08-28 12:50:59 +02:00
efa96655f3
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-28 12:50:58 +02:00
f7763ca2bc
libui: Add PSF font loading and rendering 2023-08-28 12:50:56 +02:00
f104d491e0
libui: Add Color::GRAY 2023-08-28 12:50:29 +02:00
786bec0b18
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-08-28 12:50:29 +02:00
99080b8c50
libui: Add Rect::relative 2023-08-28 12:49:45 +02:00
9ecf259c71
libui: Remove redundant statement 2023-08-28 12:49:45 +02:00
dc107d14d7
libui: Add getters for separate color values 2023-08-28 12:49:45 +02:00
d39f0387fe
libui: Remove unnecessary stuff 2023-08-28 12:49:45 +02:00
39296773d2
libui+wind: (Draggable) windows 2023-08-28 12:49:45 +02:00
60dc10d4fc
libui: Add a GUI and graphics library 2023-08-28 12:49:09 +02:00