Commit Graph

2216 Commits

Author SHA1 Message Date
8c4e9dff96
base: Actually add the start icon to source control 2023-09-20 07:05:55 +02:00
345cf5cae3
libui: Add Buttons 2023-09-20 07:05:55 +02:00
d6f63c0a5d
libui: Handle other mouse events 2023-09-20 07:05:55 +02:00
35c7011997
libui: Add aligned items using Containers, ImageWidget 2023-09-20 07:05:55 +02:00
f657ee9ba9
libui: Add VerticalLayout 2023-09-20 07:05:55 +02:00
5703faf50f
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-20 07:05:54 +02:00
4d068beaaf
libui: Actually fill window backgrounds with the correct color 2023-09-20 07:05:54 +02:00
819baa0cd5
libui: Add basic widget and layout system =D 2023-09-20 07:05:54 +02:00
69bb22095f
ui+wind: Send mouse move events through IPC 2023-09-20 07:05:54 +02:00
062b09e20c
wind+libui: Add protocol for window close requests 2023-09-20 07:05:54 +02:00
2328987d81
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-20 07:05:54 +02:00
820b1ae2ba
libui+gclient: Add basic OOP wrappers around the IPC protocol 2023-09-20 07:05:53 +02:00
0fb47d90a7
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-20 07:05:53 +02:00
0127068177
gclient: Create two example windows 2023-09-20 07:05:53 +02:00
d3dd257dc1
wind: Handle CreateWindow IPC messages 2023-09-20 07:05:53 +02:00
1eb00eabfa
libui: Add CreateWindow IPC message definitions 2023-09-20 07:05:53 +02:00
9125561cab
libos: Add basic IPC message framework 2023-09-20 07:05:53 +02:00
3d90d7f98e
kernel: Fix poll syscall 2023-09-20 07:05:52 +02:00
e931d11ae1
wind: Monitor data on client connections 2023-09-20 07:05:52 +02:00
6a35cad8d5
kernel: Add POLLHUP and store it when a polled socket's peer disconnects 2023-09-20 07:05:52 +02:00
5e6ce50c70
libui: Add copyright/author text 2023-09-20 07:05:52 +02:00
02b9dc579b
libos: Add copyright/author comments to LocalServer and LocalClient 2023-09-20 07:05:52 +02:00
774177ba1f
wind: Use init --user and pledge() 2023-09-20 07:05:52 +02:00
7d883fe33b
Update .gitignore 2023-09-20 07:05:52 +02:00
1c50d5133f
libos: Remove some shared pointers and change them to owned/live on the stack 2023-09-20 07:05:52 +02:00
6cf5fa3097
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-09-20 07:05:52 +02:00
60c3bcb3a9
apps: Add gclient 2023-09-20 07:05:51 +02:00
03096680ae
libos: Add os::LocalClient 2023-09-20 07:05:51 +02:00
639eb30c7b
libui: Change 'into' to 'onto' 2023-09-20 07:05:51 +02:00
0bb96985bf
libui: Document ui::Font 2023-09-20 07:05:51 +02:00
fbb66a9fc3
libui+wind: Move some static variables inside functions 2023-09-20 07:05:51 +02:00
3fefb74710
wind: Generate random windows on keypresses 2023-09-20 07:05:51 +02:00
11e0025a5b
wind: Make sure windows have a minimum size to fit the titlebar 2023-09-20 07:05:51 +02:00
98aaf1f7ff
libui: Properly cut off the last drawn character if necessary 2023-09-20 07:05:51 +02:00
c0ada40e2c
libui: Add Rect::contains(Rect) 2023-09-20 07:05:50 +02:00
35d2bd6931
libui: Render font characters properly with no spacing, matching the width calculations 2023-09-20 07:05:50 +02:00
25ad2b17aa
wind: Render an actual TGA mouse cursor 2023-09-20 07:05:50 +02:00
6d78fc64f9
wind: Add a close button to windows using a TGA icon 2023-09-20 07:05:50 +02:00
dc91d047de
libui: Add support for TGA image loading 2023-09-20 07:05:50 +02:00
916b19825d
libui: Add an interface to fill a Canvas with an array of pixels 2023-09-20 07:05:50 +02:00
f6ef79e759
wind: Add window titlebars using ui::Font 2023-09-20 07:05:50 +02:00
23f7210a87
libui: Add PSF font loading and rendering 2023-09-20 07:05:50 +02:00
c6c32f34f2
libui: Add Color::GRAY 2023-09-20 07:05:50 +02:00
16fa55899e
libui: Rename Rect::absolute to normalized and add a new absolute function 2023-09-20 07:05:50 +02:00
7ab0c6b72b
libluna: Add assignment operators to Buffer 2023-09-20 07:05:49 +02:00
277953065a
wind: Reorder drag sequence 2023-09-20 07:05:49 +02:00
2b3e9b778a
libui: Add Rect::relative 2023-09-20 07:05:49 +02:00
7441e396b3
libui: Remove redundant statement 2023-09-20 07:05:49 +02:00
07dc7064f8
libui: Add getters for separate color values 2023-09-20 07:05:49 +02:00
01da7be57c
libui: Remove unnecessary stuff 2023-09-20 07:05:49 +02:00