#include <TreeMap.h>

Public Member Functions | |
| void | UpdateLayout (TreeMapItem *item, LayoutRectangle rc) |
| Updates layout of given node. | |
| void | UpdateSliceLayout (CSimpleValArray< TreeMapItem * > &items, int startIdx, int endIdx, LayoutRectangle rc) |
| Updates slice layout of given node. | |
| float | GetChildrenSum (const CSimpleValArray< TreeMapItem * > &items, int startIdx, int endIdx) const |
| Sums the size of the children nodes. | |
| float TreeMapSliceLayout::GetChildrenSum | ( | const CSimpleValArray< TreeMapItem * > & | items, | |
| int | startIdx, | |||
| int | endIdx | |||
| ) | const |
Sums the size of the children nodes.
| items | Child nodes. | |
| startIdx | Start index. | |
| endIdx | End index. |
| void TreeMapSliceLayout::UpdateLayout | ( | TreeMapItem * | item, | |
| LayoutRectangle | rc | |||
| ) | [virtual] |
Updates layout of given node.
| item | TreeMap node. | |
| rc | Bounds of the layout. |
Implements TreeMapLayout.
Reimplemented in TreeMapSquaredLayout, and TreeMapStripLayout.
| void TreeMapSliceLayout::UpdateSliceLayout | ( | CSimpleValArray< TreeMapItem * > & | items, | |
| int | startIdx, | |||
| int | endIdx, | |||
| LayoutRectangle | rc | |||
| ) |
Updates slice layout of given node.
| items | Child nodes. | |
| startIdx | Start index. | |
| endIdx | End index. | |
| rc | Bounds of the layout. |
1.5.9