Commit Graph

2159 Commits

Author SHA1 Message Date
43061a099f
libui: Add Buttons 2023-08-16 14:54:59 +02:00
a529c091f0
libui: Handle other mouse events 2023-08-16 14:54:59 +02:00
efd21c9a1c
libui: Add aligned items using Containers, ImageWidget 2023-08-16 14:54:59 +02:00
88a2e60ea2
libui: Add VerticalLayout 2023-08-16 14:54:59 +02:00
7b55d594d1
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-16 14:54:58 +02:00
2c3c5b8aea
libui: Actually fill window backgrounds with the correct color 2023-08-16 14:54:58 +02:00
e3f31fb463
libui: Add basic widget and layout system =D 2023-08-16 14:54:58 +02:00
7159de0752
ui+wind: Send mouse move events through IPC 2023-08-16 14:54:58 +02:00
c430146c8b
wind+libui: Add protocol for window close requests 2023-08-16 14:54:58 +02:00
b7086dabf3
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-16 14:54:58 +02:00
6d3fdec98a
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-08-16 14:54:58 +02:00
c3c1ce150e
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-16 14:54:57 +02:00
b3dbbbf257
gclient: Create two example windows 2023-08-16 14:54:57 +02:00
537923a5bc
wind: Handle CreateWindow IPC messages 2023-08-16 14:54:57 +02:00
944aa3f3e5
libui: Add CreateWindow IPC message definitions 2023-08-16 14:54:57 +02:00
399edbcf0e
libos: Add basic IPC message framework 2023-08-16 14:54:57 +02:00
bd4c123fdd
kernel: Fix poll syscall 2023-08-16 14:54:57 +02:00
0a3df694c1
wind: Monitor data on client connections 2023-08-16 14:54:57 +02:00
887cc65461
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-08-16 14:54:56 +02:00
2b7bb40d14
libui: Add copyright/author text 2023-08-16 14:54:56 +02:00
b25a9bda6e
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-16 14:54:56 +02:00
a4fde43d4f
wind: Use init --user and pledge() 2023-08-16 14:54:56 +02:00
84060f2739
Update .gitignore 2023-08-16 14:54:56 +02:00
6bb7707e8d
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-16 14:54:56 +02:00
9f4a6639fc
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-16 14:54:55 +02:00
c7d7b9e1ac
apps: Add gclient 2023-08-16 14:54:55 +02:00
c9e172f1c3
libos: Add os::LocalClient 2023-08-16 14:54:55 +02:00
4e1dee5e73
libui: Change 'into' to 'onto' 2023-08-16 14:54:55 +02:00
ad492b42fc
libui: Document ui::Font 2023-08-16 14:54:55 +02:00
88c09edf53
libui+wind: Move some static variables inside functions 2023-08-16 14:54:55 +02:00
2d6300dd65
wind: Generate random windows on keypresses 2023-08-16 14:54:55 +02:00
8cd8896a87
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-16 14:54:55 +02:00
4910f55603
libui: Properly cut off the last drawn character if necessary 2023-08-16 14:54:54 +02:00
23f3e8822b
libui: Add Rect::contains(Rect) 2023-08-16 14:54:54 +02:00
fbeafc7ec2
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-16 14:54:54 +02:00
bdfa05a398
wind: Render an actual TGA mouse cursor 2023-08-16 14:54:54 +02:00
42c398615a
wind: Add a close button to windows using a TGA icon 2023-08-16 14:54:54 +02:00
6599d1a9bd
libui: Add support for TGA image loading 2023-08-16 14:54:54 +02:00
b83e68f6e1
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-16 14:54:54 +02:00
d7ffc5f5a0
wind: Add window titlebars using ui::Font 2023-08-16 14:54:53 +02:00
8a33aa9c86
libui: Add PSF font loading and rendering 2023-08-16 14:54:53 +02:00
9765a03321
libui: Add Color::GRAY 2023-08-16 14:54:53 +02:00
ebbe755f51
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-08-16 14:54:53 +02:00
0f9c5348dd
libluna: Add assignment operators to Buffer 2023-08-16 14:54:53 +02:00
0b3aac37c8
wind: Reorder drag sequence 2023-08-16 14:54:53 +02:00
2b1ce2a8c0
libui: Add Rect::relative 2023-08-16 14:54:53 +02:00
de7f487039
libui: Remove redundant statement 2023-08-16 14:54:52 +02:00
5d6cfc882e
libui: Add getters for separate color values 2023-08-16 14:54:52 +02:00
d6c7092e4b
libui: Remove unnecessary stuff 2023-08-16 14:54:52 +02:00
7c86993896
base: Remove startup items not necessary for GUI startup 2023-08-16 14:54:52 +02:00