mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
WindowServer+LibGUI: Implement minimizable property to windows
This commit is contained in:
parent
a641f4d213
commit
eab34a7de3
Notes:
sideshowbarker
2024-07-19 10:22:21 +09:00
Author: https://github.com/JamiKettunen
Commit: eab34a7de3
Pull-request: https://github.com/SerenityOS/serenity/pull/1010
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth
8 changed files with 46 additions and 8 deletions
|
@ -61,6 +61,7 @@ void GWindow::show()
|
|||
m_rect_when_windowless,
|
||||
m_has_alpha_channel,
|
||||
m_modal,
|
||||
m_minimizable,
|
||||
m_resizable,
|
||||
m_fullscreen,
|
||||
m_show_titlebar,
|
||||
|
@ -549,6 +550,7 @@ void GWindow::save_to(AK::JsonObject& json)
|
|||
json.set("title", title());
|
||||
json.set("visible", is_visible());
|
||||
json.set("active", is_active());
|
||||
json.set("minimizable", is_minimizable());
|
||||
json.set("resizable", is_resizable());
|
||||
json.set("fullscreen", is_fullscreen());
|
||||
json.set("rect", rect().to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue