Refactored Panel & Pane widgets

This commit is contained in:
Nav
2022-07-16 19:07:09 +01:00
parent ead867eb3e
commit e35fc3e8f2
9 changed files with 115 additions and 35 deletions

View File

@@ -64,6 +64,15 @@ namespace Bloom::Widgets
);
}
/**
* Will evaluate whether the panel should still be visible or not (depending on whether there are any
* visible and attached child panes).
*
* This function is called whenever a child pane is activated/deactivate/attached/detached.
* See PaneWidget::PaneWidget() for more.
*/
void updateVisibility();
protected:
int handleSize = 10;
int minimumResize = 10;