909d0ed289
libos+wind+apps: Make IPC code object-oriented and add functionality for properly receiving messages
...
This functionality previously had to be repeated across all server programs using the IPC API.
2024-02-03 19:16:39 +01:00
ca5b4de2d8
libui+apps: Change ui::App::init() to take the socket path directly instead of command-line arguments
2024-02-01 21:15:31 +01:00
cee677b1f7
libui: Make App::process_events() private
...
Previously this was public as some applications (mainly terminal) needed to run some code in-between events, but this is no longer needed, due to the EventLoop providing these services (timers and file descriptor notifiers)
2024-01-08 19:13:47 +01:00
f34dd56375
wind+libui: Implement client side decorations
2023-12-27 12:56:40 +01:00
73a7d4f2a1
wind+libui: Run wind as a separate user
continuous-integration/drone/push Build is passing
2023-11-22 21:31:08 +01:00
37e046d766
libui: Make Label initialization step-by-step instead of setting everything in the constructor
continuous-integration/drone/push Build is passing
2023-10-11 22:56:14 +02:00
0b2a835336
libui+libos: Move Action to libos
2023-10-07 15:31:50 +02:00
5892a6bf09
libos+libui: Add event loops
continuous-integration/drone/push Build is passing
2023-10-06 22:06:34 +02:00
041d15a547
libui+taskbar: Make Buttons use Actions and clean up taskbar code
2023-09-27 18:52:17 +02:00
3d46e56386
libui: Add Margins to layouts
2023-09-27 18:51:54 +02:00
d4e834f734
libui: Add Actions
...
This allows components like Buttons to take in capturing lambdas
2023-09-27 18:51:38 +02:00
9a9c7e577a
wind+libui+taskbar: Add various window types and never focus the taskbar
continuous-integration/drone/push Build is passing
2023-09-27 18:14:32 +02:00
b370a99aa6
libui: Allow specifying the color of Labels, and use that in about
2023-09-20 19:45:19 +02:00
7631b81681
libui: Allow not filling the window with a background color every time
2023-09-20 07:06:00 +02:00
e2a1cb0d34
wind+libui: Add support for keyboard events
2023-09-20 07:05:59 +02:00
bb5d726fe8
libui: Add option to run event processing in a loop instead of in app.run()
2023-09-20 07:05:58 +02:00
08b56319c7
libui: Reduce redraw calls by doing them only when events are actually handled
2023-09-20 07:05:58 +02:00
4cf0fac16e
libui: Add a basic Label component
2023-09-20 07:05:58 +02:00
67eac983b5
libui: Clarify that Font is only used for low-level glyph rendering
2023-09-20 07:05:57 +02:00
2643f050eb
libui: Zero-initialize counter variables in Layout
2023-09-20 07:05:57 +02:00
17248e4ccc
libui: Add default handlers for events in Widget
2023-09-20 07:05:57 +02:00
a023811c26
libui+wind: Handle mouse leave events when the mouse leaves a window
2023-09-20 07:05:57 +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
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
1eb00eabfa
libui: Add CreateWindow IPC message definitions
2023-09-20 07:05:53 +02:00
5e6ce50c70
libui: Add copyright/author text
2023-09-20 07:05:52 +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
c0ada40e2c
libui: Add Rect::contains(Rect)
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
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
2b3e9b778a
libui: Add Rect::relative
2023-09-20 07:05:49 +02:00
07dc7064f8
libui: Add getters for separate color values
2023-09-20 07:05:49 +02:00
8859fc3d6a
libui+wind: (Draggable) windows
2023-09-20 07:05:49 +02:00
9df88bac3e
libui: Add a GUI and graphics library
2023-09-20 07:05:48 +02:00