1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

WindowServer+LibGUI: Add per-window progress

Each window now has an associated progress integer that can be updated
via the SetWindowProgress IPC call.

This can be used by clients to indicate the progress of ongoing tasks.
Any number in the range 0 through 100 indicate a progress percentage.
Any other number means "no progress"
This commit is contained in:
Andreas Kling 2020-05-30 22:08:26 +02:00
parent 8449f0a15b
commit 1d6ec51bee
12 changed files with 47 additions and 4 deletions

View file

@ -92,6 +92,7 @@ public:
void notify_minimization_state_changed(Window&);
void notify_opacity_changed(Window&);
void notify_occlusion_state_changed(Window&);
void notify_progress_changed(Window&);
void notify_client_changed_app_menubar(ClientConnection&);
Gfx::Rect maximized_window_rect(const Window&) const;