Commit Graph

2159 Commits

Author SHA1 Message Date
5099b2b0f4
base: Actually add the start icon to source control
Some checks failed
continuous-integration/drone/pr Build is failing
2023-08-16 10:58:34 +02:00
961a127ec4
libui: Add Buttons 2023-08-16 10:58:34 +02:00
bd4376d946
libui: Handle other mouse events 2023-08-16 10:58:33 +02:00
9154919be8
libui: Add aligned items using Containers, ImageWidget 2023-08-16 10:58:33 +02:00
1a85c13036
libui: Add VerticalLayout 2023-08-16 10:58:33 +02:00
55e3b6bbf9
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-16 10:58:33 +02:00
c5b295c38c
libui: Actually fill window backgrounds with the correct color 2023-08-16 10:58:33 +02:00
c483b3a3e6
libui: Add basic widget and layout system =D 2023-08-16 10:58:33 +02:00
c51ccf6948
ui+wind: Send mouse move events through IPC 2023-08-16 10:58:33 +02:00
574cf1f12b
wind+libui: Add protocol for window close requests 2023-08-16 10:58:33 +02:00
3d7f783894
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-16 10:58:33 +02:00
52afb2dfe0
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-08-16 10:58:33 +02:00
6a443ffbc2
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-16 10:58:32 +02:00
6a6e508a7e
gclient: Create two example windows 2023-08-16 10:58:32 +02:00
f9c8bb3346
wind: Handle CreateWindow IPC messages 2023-08-16 10:58:32 +02:00
b69897e3c2
libui: Add CreateWindow IPC message definitions 2023-08-16 10:58:32 +02:00
d59cf7733b
libos: Add basic IPC message framework 2023-08-16 10:58:32 +02:00
211b45cec4
kernel: Fix poll syscall 2023-08-16 10:58:32 +02:00
9ac6112068
wind: Monitor data on client connections 2023-08-16 10:58:32 +02:00
8ebcb9c386
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-08-16 10:58:32 +02:00
6716bf687d
libui: Add copyright/author text 2023-08-16 10:58:32 +02:00
e4e1f8a98f
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-16 10:58:32 +02:00
7739b37b4b
wind: Use init --user and pledge() 2023-08-16 10:58:32 +02:00
deb5137322
Update .gitignore 2023-08-16 10:58:31 +02:00
282ce0aabb
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-16 10:58:31 +02:00
81464f94ce
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-16 10:58:31 +02:00
fb4c874196
apps: Add gclient 2023-08-16 10:58:31 +02:00
4478eae9e8
libos: Add os::LocalClient 2023-08-16 10:58:31 +02:00
8f45a683d0
libui: Change 'into' to 'onto' 2023-08-16 10:58:31 +02:00
42269adb44
libui: Document ui::Font 2023-08-16 10:58:31 +02:00
82dc1e21e6
libui+wind: Move some static variables inside functions 2023-08-16 10:58:31 +02:00
21516eef59
wind: Generate random windows on keypresses 2023-08-16 10:58:31 +02:00
707c0950a0
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-16 10:58:31 +02:00
1e22ab2760
libui: Properly cut off the last drawn character if necessary 2023-08-16 10:58:31 +02:00
525c7c66f4
libui: Add Rect::contains(Rect) 2023-08-16 10:58:30 +02:00
eb193b6559
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-16 10:58:30 +02:00
92c96a0bd8
wind: Render an actual TGA mouse cursor 2023-08-16 10:58:30 +02:00
3081c78edd
wind: Add a close button to windows using a TGA icon 2023-08-16 10:58:30 +02:00
a8777e373e
libui: Add support for TGA image loading 2023-08-16 10:58:30 +02:00
f1f5909e84
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-16 10:58:30 +02:00
afc2a19c8d
wind: Add window titlebars using ui::Font 2023-08-16 10:58:30 +02:00
b253c3c8d8
libui: Add PSF font loading and rendering 2023-08-16 10:58:30 +02:00
338446e2d8
libui: Add Color::GRAY 2023-08-16 10:58:30 +02:00
591c3d5c59
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-08-16 10:58:30 +02:00
e2e136f292
libluna: Add assignment operators to Buffer 2023-08-16 10:58:30 +02:00
e4aa774082
wind: Reorder drag sequence 2023-08-16 10:58:29 +02:00
8b1071a5cd
libui: Add Rect::relative 2023-08-16 10:58:29 +02:00
5db74945e2
libui: Remove redundant statement 2023-08-16 10:58:29 +02:00
452c17677f
libui: Add getters for separate color values 2023-08-16 10:58:29 +02:00
55bd8896d2
libui: Remove unnecessary stuff 2023-08-16 10:58:29 +02:00