Commit Graph

2208 Commits

Author SHA1 Message Date
c161a86893
libui: Add VerticalLayout 2023-09-05 10:47:04 +02:00
3af8301dec
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-05 10:47:03 +02:00
496715c3a6
libui: Actually fill window backgrounds with the correct color 2023-09-05 10:47:03 +02:00
3c93266dd8
libui: Add basic widget and layout system =D 2023-09-05 10:47:03 +02:00
a022dd2d07
ui+wind: Send mouse move events through IPC 2023-09-05 10:47:02 +02:00
3072641362
wind+libui: Add protocol for window close requests 2023-09-05 10:47:02 +02:00
93a5826b5b
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-05 10:47:02 +02:00
6116f57876
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-09-05 10:47:02 +02:00
344f299bd7
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-05 10:47:01 +02:00
bc22430ec5
gclient: Create two example windows 2023-09-05 10:47:01 +02:00
b39a6f5c00
wind: Handle CreateWindow IPC messages 2023-09-05 10:47:01 +02:00
e12a02d63f
libui: Add CreateWindow IPC message definitions 2023-09-05 10:47:01 +02:00
8fa4bb854b
libos: Add basic IPC message framework 2023-09-05 10:47:00 +02:00
ff9be2f4e7
kernel: Fix poll syscall 2023-09-05 10:47:00 +02:00
4d7db20d6f
wind: Monitor data on client connections 2023-09-05 10:47:00 +02:00
306966183e
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-09-05 10:46:59 +02:00
01b74c0a8c
libui: Add copyright/author text 2023-09-05 10:46:59 +02:00
af18824f29
libos: Add copyright/author comments to LocalServer and LocalClient 2023-09-05 10:46:59 +02:00
a23f0b93d2
wind: Use init --user and pledge() 2023-09-05 10:46:59 +02:00
77d33ca737
Update .gitignore 2023-09-05 10:46:58 +02:00
4dae2c8571
libos: Remove some shared pointers and change them to owned/live on the stack 2023-09-05 10:46:58 +02:00
9a9e9a7efe
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-09-05 10:46:58 +02:00
d3a4054e5b
apps: Add gclient 2023-09-05 10:46:58 +02:00
a3979caf2e
libos: Add os::LocalClient 2023-09-05 10:46:57 +02:00
8c4fbdb30d
libui: Change 'into' to 'onto' 2023-09-05 10:46:57 +02:00
70fed7e27f
libui: Document ui::Font 2023-09-05 10:46:57 +02:00
f26ba66801
libui+wind: Move some static variables inside functions 2023-09-05 10:46:57 +02:00
15b5b5cc4d
wind: Generate random windows on keypresses 2023-09-05 10:46:57 +02:00
1281989a8a
wind: Make sure windows have a minimum size to fit the titlebar 2023-09-05 10:46:56 +02:00
95c5eeeb0d
libui: Properly cut off the last drawn character if necessary 2023-09-05 10:46:56 +02:00
f0265a347d
libui: Add Rect::contains(Rect) 2023-09-05 10:46:56 +02:00
328aa16656
libui: Render font characters properly with no spacing, matching the width calculations 2023-09-05 10:46:56 +02:00
3cdc8e818a
wind: Render an actual TGA mouse cursor 2023-09-05 10:46:56 +02:00
d49f59500b
wind: Add a close button to windows using a TGA icon 2023-09-05 10:46:55 +02:00
bb2fe8a9d7
libui: Add support for TGA image loading 2023-09-05 10:46:55 +02:00
be54a2e663
libui: Add an interface to fill a Canvas with an array of pixels 2023-09-05 10:46:55 +02:00
857d0011b3
wind: Add window titlebars using ui::Font 2023-09-05 10:46:55 +02:00
7bb7f63587
libui: Add PSF font loading and rendering 2023-09-05 10:46:54 +02:00
99148870fc
libui: Add Color::GRAY 2023-09-05 10:46:54 +02:00
a5089ab9ee
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-09-05 10:46:54 +02:00
ff03cc189c
libluna: Add assignment operators to Buffer 2023-09-05 10:46:54 +02:00
2dc9236aaf
wind: Reorder drag sequence 2023-09-05 10:46:53 +02:00
a08dbbc33f
libui: Add Rect::relative 2023-09-05 10:46:53 +02:00
670d8d9445
libui: Remove redundant statement 2023-09-05 10:46:53 +02:00
9c35a0acde
libui: Add getters for separate color values 2023-09-05 10:46:53 +02:00
a1089da945
libui: Remove unnecessary stuff 2023-09-05 10:46:52 +02:00
da879bc2b4
base: Remove startup items not necessary for GUI startup 2023-09-05 10:46:52 +02:00
54af27ceaa
libui+wind: (Draggable) windows 2023-09-05 10:46:52 +02:00
1fbafe3f3a
wind: Create a local server object 2023-09-05 10:46:51 +02:00
9007c40dd7
libos: Add a new LocalServer class for local domain sockets 2023-09-05 10:46:51 +02:00