mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
WindowServer: Add a maximize/unmaximize button to windows.
This commit is contained in:
parent
dddf45f563
commit
641893104a
8 changed files with 95 additions and 7 deletions
|
@ -20,11 +20,11 @@ public:
|
|||
void notify_window_rect_changed(const Rect& old_rect, const Rect& new_rect);
|
||||
void invalidate_title_bar();
|
||||
|
||||
private:
|
||||
Rect title_bar_rect() const;
|
||||
Rect title_bar_icon_rect() const;
|
||||
Rect title_bar_text_rect() const;
|
||||
|
||||
private:
|
||||
WSWindow& m_window;
|
||||
Vector<OwnPtr<WSButton>> m_buttons;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue