![]() |
Ember
|
Tracks pane proportions and applies them on AUI manager resize. More...
#include <ProportionalLayout.h>
Public Member Functions | |
| void | Track (const wxString &paneName, double proportion, double minProportion, bool isWidth) |
| Registers a pane to track with given proportion and constraints. | |
| void | HandleResize (wxAuiManager *mgr, const wxSize &oldClientSize, const wxSize &newClientSize) |
| Updates pane sizes when the managed window is resized. | |
Private Attributes | |
| std::vector< PaneEntry > | m_entries |
Tracks pane proportions and applies them on AUI manager resize.
Definition at line 18 of file ProportionalLayout.h.
| void EmberUI::ProportionalLayout::HandleResize | ( | wxAuiManager * | mgr, |
| const wxSize & | oldClientSize, | ||
| const wxSize & | newClientSize ) |
Updates pane sizes when the managed window is resized.
Definition at line 19 of file ProportionalLayout.cpp.
| void EmberUI::ProportionalLayout::Track | ( | const wxString & | paneName, |
| double | proportion, | ||
| double | minProportion, | ||
| bool | isWidth ) |
Registers a pane to track with given proportion and constraints.
Definition at line 7 of file ProportionalLayout.cpp.
|
private |
Definition at line 26 of file ProportionalLayout.h.