A block of empty space. More...
#include <Sizer.h>
Public Member Functions | |
EmptySizer (int minW=0, int minH=0) | |
virtual void | OnCalcSizes () |
virtual void | OnRectChanged (int x, int y, int w, int h) |
![]() | |
virtual size_t | GetItemCount () |
virtual ISizer * | GetItem (size_t i) |
void | CalcSizes () |
SizerSize | GetMinSize () |
void | Move (int x, int y, int w, int h) |
void | Move (const SizerPoint &p, const SizerSize &s) |
void | Move (const SizerRect &r) |
SizerRect | GetRect () const |
void | WmSize (UINT type, int cx, int cy) |
void | WmGetMinMaxInfo (HWND window, MINMAXINFO *mmi) |
Additional Inherited Members | |
![]() | |
bool | dirty |
SizerRect | rect |
SizerSize | minimumSize |
A block of empty space.
This is only necessary if the empty space needs a minimum size. Because otherwise a nullpointer can be inserted into a BoxSizer and GridSizer.
|
inline |
minW | Minimum size that this sizer should have. |
minH | Minimum size that this sizer should have. |
|
inlinevirtual |
Calculates sizes, but does not move the sizer in any way.
Implements ISizer.
|
inlinevirtual |
Moves the sizer and all children.
This function will always be called, even if the sizer is not dirty.
Implements ISizer.