Helper class used internally by the wxFrameLayout class. Holds and manages information about bar dimensions.
Derived from
wxObject (REF NOT FOUND)
Include files
<wx/fl/controlbar.h>
Data structures
Members
cbDimInfo::cbDimInfo
cbDimInfo::~cbDimInfo
cbDimInfo::GetDimHandler
cbDimInfo::operator=
cbDimInfo(cbBarDimHandlerBase* pDimHandler, bool isFixed)
Constructor. isFixed is TRUE if vertical/horizontal dimensions cannot be manually adjusted by the user using resizing handles. If FALSE, the frame-layout automatically places resizing handles among bars that do are not fixed.
cbDimInfo(int dh_x, int dh_y, int dv_x, int dv_y, int f_x, int f_y, bool isFixed = TRUE, int horizGap = 6, int vertGap = 6, cbBarDimHandlerBase* pDimHandler = NULL)
Constructor taking dimenstion information. dh_x, dh_y are the dimensions when docked horizontally. dv_x, dv_y are the dimensions when docked vertically. f_x, f_y are the dimensions when floating. For information on isFixed, see comments above. horizGap is the left/right gap, separating decorations from the bar's actual wndow, filled with the frame's background colour. The dimension is given in the frame's coordinates. vertGap is the top/bottom gap, separating decorations from the bar's actual wndow, filled with the frame's background colour. The dimension is given in the frame's coordinates.
cbDimInfo(int x, int y, bool isFixed = TRUE, int gap = 6, cbBarDimHandlerBase* pDimHandler = NULL)
Constructor.
cbDimInfo()
Default constructor.
~cbDimInfo()
Destructor. Destroys handler automatically, if present.
cbBarDimHandlerBase* GetDimHandler()
Returns the handler, if any.
const cbDimInfo& operator operator=(const cbDimInfo& other)
Assignment operator.