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


Public Member Functions | |
| wxSFLayoutVerticalTree () | |
| Constructor. | |
| virtual | ~wxSFLayoutVerticalTree () |
| 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 y) |
| Process single shape. | |
Protected Attributes | |
| double | m_nMinX |
| int | m_nCurrMaxWidth |
| double | m_HSpace |
| double | m_VSpace |
Class encapsulating algorithm which layouts all top-most shapes into vertical tree registered under "Vertical Tree" name.
| wxSFLayoutVerticalTree::wxSFLayoutVerticalTree | ( | ) | [inline] |
Constructor.
| virtual wxSFLayoutVerticalTree::~wxSFLayoutVerticalTree | ( | ) | [inline, virtual] |
Destructor.
| virtual void wxSFLayoutVerticalTree::DoLayout | ( | ShapeList & | shapes | ) | [virtual] |
Function performing the layout change.
| shapes | List of shapes which should be layouted |
Implements wxSFLayoutAlgorithm.
| double wxSFLayoutVerticalTree::GetHSpace | ( | ) | const [inline] |
Get horizontal space.
| double wxSFLayoutVerticalTree::GetVSpace | ( | ) | const [inline] |
Get vertical space.
| void wxSFLayoutVerticalTree::ProcessNode | ( | wxSFShapeBase * | node, |
| double | y | ||
| ) | [protected] |
Process single shape.
| node | Pointer to processed shape. |
| y | Vertical position of the shape. |
| void wxSFLayoutVerticalTree::SetHSpace | ( | double | HSpace | ) | [inline] |
Set horizontal space between shapes.
| HSpace | Horizontal space in pixels. |
| void wxSFLayoutVerticalTree::SetVSpace | ( | double | VSpace | ) | [inline] |
Set vertical space between shapes.
| VSpace | Vertical space in pixels. |
double wxSFLayoutVerticalTree::m_HSpace [protected] |
int wxSFLayoutVerticalTree::m_nCurrMaxWidth [protected] |
double wxSFLayoutVerticalTree::m_nMinX [protected] |
double wxSFLayoutVerticalTree::m_VSpace [protected] |