mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
WindowServer+LibGUI: Add "frameless" window flag
This allows you to create windows with no title bar or window frame.
This commit is contained in:
parent
bb7eb3e104
commit
d847304cb9
6 changed files with 18 additions and 0 deletions
|
@ -62,6 +62,9 @@ public:
|
|||
bool is_fullscreen() const { return m_fullscreen; }
|
||||
void set_fullscreen(bool);
|
||||
|
||||
bool is_frameless() const { return m_frameless; }
|
||||
void set_frameless(bool frameless) { m_frameless = frameless; }
|
||||
|
||||
bool is_resizable() const { return m_resizable; }
|
||||
void set_resizable(bool resizable) { m_resizable = resizable; }
|
||||
|
||||
|
@ -219,6 +222,7 @@ private:
|
|||
bool m_resizable { true };
|
||||
bool m_minimizable { true };
|
||||
bool m_fullscreen { false };
|
||||
bool m_frameless { false };
|
||||
bool m_layout_pending { false };
|
||||
bool m_visible_for_timer_purposes { true };
|
||||
bool m_visible { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue