|
wxShapeFramework
1.13.0 beta
|
Class encapsulating algorithm which layouts all top-most shapes into horizontal tree registered under "Horizontal Tree" name. More...
#include <AutoLayout.h>


Public Member Functions | |
| wxSFLayoutHorizontalTree () | |
| Constructor. | |
| virtual | ~wxSFLayoutHorizontalTree () |
| Destructor. | |
| virtual void | DoLayout (ShapeList &shapes) |
| Function performing the layout change. | |
| void | SetHSpace (double HSpace) |
| Set horizontal space between shapes. | |
| void | SetVSpace (double VSpace) |
| Set vertical space between shapes. | |
| double | GetHSpace () const |
| Get horizontal space. | |
| double | GetVSpace () const |
| Get vertical space. | |
Protected Member Functions | |
| void | ProcessNode (wxSFShapeBase *node, double x) |
Protected Attributes | |
| double | m_nMinY |
| int | m_nCurrMaxHeight |
| double | m_HSpace |
| double | m_VSpace |
Class encapsulating algorithm which layouts all top-most shapes into horizontal tree registered under "Horizontal Tree" name.
| wxSFLayoutHorizontalTree::wxSFLayoutHorizontalTree | ( | ) | [inline] |
Constructor.
| virtual wxSFLayoutHorizontalTree::~wxSFLayoutHorizontalTree | ( | ) | [inline, virtual] |
Destructor.
| virtual void wxSFLayoutHorizontalTree::DoLayout | ( | ShapeList & | shapes | ) | [virtual] |
Function performing the layout change.
| shapes | List of shapes which should be layouted |
Implements wxSFLayoutAlgorithm.
| double wxSFLayoutHorizontalTree::GetHSpace | ( | ) | const [inline] |
Get horizontal space.
| double wxSFLayoutHorizontalTree::GetVSpace | ( | ) | const [inline] |
Get vertical space.
| void wxSFLayoutHorizontalTree::ProcessNode | ( | wxSFShapeBase * | node, |
| double | x | ||
| ) | [protected] |
| void wxSFLayoutHorizontalTree::SetHSpace | ( | double | HSpace | ) | [inline] |
Set horizontal space between shapes.
| HSpace | Horizontal space in pixels. |
| void wxSFLayoutHorizontalTree::SetVSpace | ( | double | VSpace | ) | [inline] |
Set vertical space between shapes.
| VSpace | Vertical space in pixels. |
double wxSFLayoutHorizontalTree::m_HSpace [protected] |
int wxSFLayoutHorizontalTree::m_nCurrMaxHeight [protected] |
double wxSFLayoutHorizontalTree::m_nMinY [protected] |
double wxSFLayoutHorizontalTree::m_VSpace [protected] |