Commit Graph

2200 Commits

Author SHA1 Message Date
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
d6b75f5981
gclient: Create two example windows 2023-08-28 12:51:14 +02:00
c6bff6f8b4
wind: Handle CreateWindow IPC messages 2023-08-28 12:51:14 +02:00
03bde69c65
libui: Add CreateWindow IPC message definitions 2023-08-28 12:51:14 +02:00
9752ab29d3
libos: Add basic IPC message framework 2023-08-28 12:51:14 +02:00
2445c2f6aa
kernel: Fix poll syscall 2023-08-28 12:51:14 +02:00
7aaa05ded6
wind: Monitor data on client connections 2023-08-28 12:51:14 +02:00
3253151cb7
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-08-28 12:51:13 +02:00
e28f8f7520
libui: Add copyright/author text 2023-08-28 12:51:13 +02:00
65aa931931
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-28 12:51:13 +02:00
2192399ca2
wind: Use init --user and pledge() 2023-08-28 12:51:13 +02:00
0df32b92b3
Update .gitignore 2023-08-28 12:51:13 +02:00
baab157431
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-28 12:51:00 +02:00
0fcc5b9a5e
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-28 12:51:00 +02:00
92a4174f02
apps: Add gclient 2023-08-28 12:51:00 +02:00
48e97de59c
libos: Add os::LocalClient 2023-08-28 12:51:00 +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
554a8ee300
wind: Generate random windows on keypresses 2023-08-28 12:50:59 +02:00
1caf80bde2
wind: Make sure windows have a minimum size to fit the titlebar 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
432a5c27cb
wind: Render an actual TGA mouse cursor 2023-08-28 12:50:59 +02:00
8e01e2cd77
wind: Add a close button to windows using a TGA icon 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
a7c4e8900c
wind: Add window titlebars using ui::Font 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
57e1f49a32
libluna: Add assignment operators to Buffer 2023-08-28 12:50:20 +02:00
b49d9d55b7
wind: Reorder drag sequence 2023-08-28 12:49:45 +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
1fa0bbfa37
base: Remove startup items not necessary for GUI startup 2023-08-28 12:49:45 +02:00