mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
WindowServer: Add Window "modified" state
This will be used to track which windows contain some kind of unsaved data that the user may want some help remembering to save. :^)
This commit is contained in:
parent
5c385d06e8
commit
492464f4c1
5 changed files with 41 additions and 1 deletions
|
@ -56,6 +56,9 @@ endpoint WindowServer
|
|||
|
||||
SetWindowProgress(i32 window_id, i32 progress) =|
|
||||
|
||||
SetWindowModified(i32 window_id, bool modified) =|
|
||||
IsWindowModified(i32 window_id) => (bool modified)
|
||||
|
||||
SetWindowRect(i32 window_id, Gfx::IntRect rect) => (Gfx::IntRect rect)
|
||||
GetWindowRect(i32 window_id) => (Gfx::IntRect rect)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue