mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
Taskbar: Show minimized window titles in [brackets].
Had to plumb the minimization state from WindowServer to Toolbar in order to implement this.
This commit is contained in:
parent
74142d78c1
commit
ef9fbef4c6
9 changed files with 35 additions and 7 deletions
|
@ -60,12 +60,16 @@ public:
|
|||
void set_active(bool active) { m_active = active; }
|
||||
bool is_active() const { return m_active; }
|
||||
|
||||
void set_minimized(bool minimized) { m_minimized = minimized; }
|
||||
bool is_minimized() const { return m_minimized; }
|
||||
|
||||
private:
|
||||
WindowIdentifier m_identifier;
|
||||
String m_title;
|
||||
Rect m_rect;
|
||||
GButton* m_button { nullptr };
|
||||
bool m_active { false };
|
||||
bool m_minimized { false };
|
||||
};
|
||||
|
||||
class WindowList {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue