GRAPHICS: MACGUI: Allow windows to be hidden
This commit is contained in:
parent
6e727d58a1
commit
3aaeced035
3 changed files with 22 additions and 0 deletions
|
@ -39,8 +39,14 @@ BaseMacWindow::BaseMacWindow(int id, bool editable, MacWindowManager *wm) :
|
|||
_contentIsDirty = true;
|
||||
|
||||
_type = kWindowUnknown;
|
||||
|
||||
_visible = true;
|
||||
}
|
||||
|
||||
void BaseMacWindow::setVisible(bool visible) { _visible = visible; }
|
||||
|
||||
bool BaseMacWindow::isVisible() { return _visible; }
|
||||
|
||||
MacWindow::MacWindow(int id, bool scrollable, bool resizable, bool editable, MacWindowManager *wm) :
|
||||
BaseMacWindow(id, editable, wm), _scrollable(scrollable), _resizable(resizable) {
|
||||
_borderIsDirty = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue