Planeshift
pawsStdTreeDecorator Class Reference

#include <pawstree.h>

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 ()
 
- Public Member Functions inherited from pawsITreeDecorator
virtual ~pawsITreeDecorator ()
 

Protected Member Functions

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

Protected Attributes

csRef< iPawsImagecollImage
 
int collSpacing
 
csRef< iPawsImageexpandImage
 
iGraphics2D * g2d
 
int lineColor
 
int selectedColor
 
pawsTreetree
 

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

csRef<iPawsImage> pawsStdTreeDecorator::collImage
protected

Definition at line 406 of file pawstree.h.

int pawsStdTreeDecorator::collSpacing
protected

Definition at line 404 of file pawstree.h.

csRef<iPawsImage> pawsStdTreeDecorator::expandImage
protected

Definition at line 407 of file pawstree.h.

iGraphics2D* pawsStdTreeDecorator::g2d
protected

Definition at line 401 of file pawstree.h.

int pawsStdTreeDecorator::lineColor
protected

Definition at line 403 of file pawstree.h.

int pawsStdTreeDecorator::selectedColor
protected

Definition at line 402 of file pawstree.h.

pawsTree* pawsStdTreeDecorator::tree
protected

Definition at line 400 of file pawstree.h.


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