Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

pawsStdTreeDecorator Class Reference

#include <pawstree.h>

List of all members.

Public Member Functions

virtual void Decorate ()
virtual bool OnMouseDown (int button, int modifiers, int x, int y)
 pawsStdTreeDecorator (pawsTree *tree, iGraphics2D *g2d, int selectedColor, int lineColor, int collSpacing)
virtual ~pawsStdTreeDecorator ()

Protected Member Functions

void DecorateSubtree (pawsTreeNode *node)
pawsTreeNode * FindCollapsingNodeInSubtree (pawsTreeNode *subtreeRoot, int x, int y)
void GetCollapseSignFrame (pawsTreeNode *node, csRect &rect)

Protected Attributes

csRef< iPawsImage > collImage
int collSpacing
csRef< iPawsImage > expandImage
iGraphics2D * g2d
int lineColor
int selectedColor
pawsTree * tree

Detailed Description

Definition at line 382 of file pawstree.h.


Constructor & Destructor Documentation

pawsStdTreeDecorator::pawsStdTreeDecorator ( pawsTree *  tree,
iGraphics2D *  g2d,
int  selectedColor,
int  lineColor,
int  collSpacing 
)
virtual pawsStdTreeDecorator::~pawsStdTreeDecorator ( ) [virtual]

Member Function Documentation

virtual void pawsStdTreeDecorator::Decorate ( ) [virtual]

Implements pawsITreeDecorator.

void pawsStdTreeDecorator::DecorateSubtree ( pawsTreeNode *  node) [protected]
pawsTreeNode* pawsStdTreeDecorator::FindCollapsingNodeInSubtree ( pawsTreeNode *  subtreeRoot,
int  x,
int  y 
) [protected]
void pawsStdTreeDecorator::GetCollapseSignFrame ( pawsTreeNode *  node,
csRect &  rect 
) [protected]
virtual bool pawsStdTreeDecorator::OnMouseDown ( int  button,
int  modifiers,
int  x,
int  y 
) [virtual]

Implements pawsITreeDecorator.


Member Data Documentation

Definition at line 406 of file pawstree.h.

Definition at line 404 of file pawstree.h.

Definition at line 407 of file pawstree.h.

iGraphics2D* pawsStdTreeDecorator::g2d [protected]

Definition at line 401 of file pawstree.h.

Definition at line 403 of file pawstree.h.

Definition at line 402 of file pawstree.h.

Definition at line 400 of file pawstree.h.


The documentation for this class was generated from the following file: