Commit Graph

2150 Commits

Author SHA1 Message Date
500a80a7f7
ui+wind: Send mouse move events through IPC 2023-08-16 09:23:38 +02:00
d1046e35a1
wind+libui: Add protocol for window close requests 2023-08-16 09:23:38 +02:00
c7abee3fb6
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-16 09:23:37 +02:00
a1a221ecb9
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-08-16 09:23:37 +02:00
6855067b21
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-16 09:23:37 +02:00
55ecc904c6
gclient: Create two example windows 2023-08-16 09:23:36 +02:00
ed57e4eeaf
wind: Handle CreateWindow IPC messages 2023-08-16 09:23:36 +02:00
b2015ed2a3
libui: Add CreateWindow IPC message definitions 2023-08-16 09:23:35 +02:00
a4637a3b47
libos: Add basic IPC message framework 2023-08-16 09:23:35 +02:00
b5a166ec91
kernel: Fix poll syscall 2023-08-16 09:23:35 +02:00
2ae5fcd318
wind: Monitor data on client connections 2023-08-16 09:23:34 +02:00
72f632a5d8
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-08-16 09:23:34 +02:00
573e42530f
libui: Add copyright/author text 2023-08-16 09:23:33 +02:00
e096f4a5df
libos: Add copyright/author comments to LocalServer and LocalClient 2023-08-16 09:23:33 +02:00
25e03e4816
wind: Use init --user and pledge() 2023-08-16 09:23:33 +02:00
ac47da3586
Update .gitignore 2023-08-16 09:23:32 +02:00
ef0ae8eef1
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-16 09:23:32 +02:00
e6c3ffcdf7
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-16 09:23:32 +02:00
4306039310
apps: Add gclient 2023-08-16 09:23:31 +02:00
f3f6284698
libos: Add os::LocalClient 2023-08-16 09:23:31 +02:00
a4c0b38fda
libui: Change 'into' to 'onto' 2023-08-16 09:23:30 +02:00
7b511bff4c
libui: Document ui::Font 2023-08-16 09:23:30 +02:00
8bf519b6ac
libui+wind: Move some static variables inside functions 2023-08-16 09:23:30 +02:00
5668fd068e
wind: Generate random windows on keypresses 2023-08-16 09:23:29 +02:00
877b201496
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-16 09:23:29 +02:00
17f8ac4f70
libui: Properly cut off the last drawn character if necessary 2023-08-16 09:23:29 +02:00
8f00fc2643
libui: Add Rect::contains(Rect) 2023-08-16 09:23:28 +02:00
951f8365df
libui: Render font characters properly with no spacing, matching the width calculations 2023-08-16 09:23:28 +02:00
eb94a3d6b6
wind: Render an actual TGA mouse cursor 2023-08-16 09:23:28 +02:00
31caf10c98
wind: Add a close button to windows using a TGA icon 2023-08-16 09:23:27 +02:00
87c89ea568
libui: Add support for TGA image loading 2023-08-16 09:23:27 +02:00
99f954a583
libui: Add an interface to fill a Canvas with an array of pixels 2023-08-16 09:23:26 +02:00
a5a296e2b6
wind: Add window titlebars using ui::Font 2023-08-16 09:23:26 +02:00
8e086317fa
libui: Add PSF font loading and rendering 2023-08-16 09:23:26 +02:00
18024b6648
libui: Add Color::GRAY 2023-08-16 09:23:26 +02:00
890482a931
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-08-16 09:23:25 +02:00
475d6aa39f
libluna: Add assignment operators to Buffer 2023-08-16 09:23:25 +02:00
9e0704d920
wind: Reorder drag sequence 2023-08-16 09:23:24 +02:00
3e72393d8f
libui: Add Rect::relative 2023-08-16 09:23:24 +02:00
40516ab469
libui: Remove redundant statement 2023-08-16 09:23:24 +02:00
3599d345ac
libui: Add getters for separate color values 2023-08-16 09:23:23 +02:00
8a47ac5e10
libui: Remove unnecessary stuff 2023-08-16 09:23:23 +02:00
ec02f09240
base: Remove startup items not necessary for GUI startup 2023-08-16 09:23:22 +02:00
7683040fe8
libui+wind: (Draggable) windows 2023-08-16 09:23:22 +02:00
845912dd49
wind: Create a local server object 2023-08-16 09:23:21 +02:00
04619a2063
libos: Add a new LocalServer class for local domain sockets 2023-08-16 09:23:21 +02:00
af61f7a952
kernel: Support listening sockets in poll() 2023-08-16 09:23:21 +02:00
c9162bf4ff
base: Start wind on startup instead of the shell 2023-08-16 09:23:20 +02:00
2a331564af
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-08-16 09:23:20 +02:00
0247b915b4
libui: Add a GUI and graphics library 2023-08-16 09:23:19 +02:00