Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATTreeCtrl Class Reference

CATTreeCtrl Class Reference
[GUI Application library for CAT]

#include <CATTreeCtrl.h>

Inheritance diagram for CATTreeCtrl:

CATControlWnd CATControl CATWidget CATGuiObj CATXMLObject

List of all members.


Detailed Description

list box for GUI

Definition at line 37 of file CATTreeCtrl.h.


Public Member Functions

 CATTreeCtrl (const CATString &element, const CATString &rootDir)
virtual ~CATTreeCtrl ()
virtual bool OnControlEvent (const CATEvent &event, CATInt32 &result)
virtual CATResult OnEvent (const CATEvent &event, CATInt32 &retVal)
 Event handler.
virtual void SetFocused (bool focused)
virtual void OnEscapeChange ()
virtual void OnParentCreate ()
virtual void OnParentDestroy ()
virtual CATTREEINFOGetCurItem ()
virtual CATTREEINFOGetRootItem (CATUInt32 index)
virtual CATUInt32 GetNumRootItems ()
virtual CATResult SetCurItem (CATTREEINFO *item, bool sendCommand=true)
virtual CATResult SetItemText (CATTREEINFO *item, const CATString &text)
virtual CATResult ExpandItem (CATTREEINFO *item, bool expand)
virtual CATResult Insert (const CATString &displayText, CATTREEINFO *parent, CATTREEINFO *&newItemRef, void *dataPtr, CATUInt32 index=-1, CATUInt32 imageNumber=-1)
virtual CATTREEINFOGetItemFromDataPtr (void *dataPtr, CATTREEINFO *rootItem=0)
virtual CATResult Remove (CATTREEINFO *&item)
virtual CATResult Clear ()
virtual CATString GetHint () const
 GetHint() retrieves the hint text for the control.
virtual CATCommand GetCommand () const
virtual CATString GetString () const
virtual void SetEnabled (bool enabled)
virtual CATResult UseImageList (CATUInt32 imageListId, CATUInt32 width, const CATColor &transparent)
virtual void ExpandRoot ()

Protected Member Functions

void ClearTreeItem (CATTREEINFO *item)
void OSClearTree ()
CATResult OSAddItem (const CATString &displayText, CATTREEINFO *treeItem, CATUInt32 index)
CATResult OSRemoveItem (CATTREEINFO *treeItem)
CATTREEINFOOSGetCurSel ()
CATResult OSSetCurSel (CATTREEINFO *newSel)
CATResult OSUpdateText (CATTREEINFO *treeItem)
CATResult OSEvent (const CATEvent &event, CATInt32 &retVal)
void OSRebuildTree (std::vector< CATTREEINFO * > *curList)
void OSUpdateTreeColors ()

Protected Attributes

CATTREEINFOfCurSel
std::vector< CATTREEINFO * > fRootList
CATFONT fFont
bool fRespondSelect

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:11:09 2008 for Game Accessibility Suite by doxygen 1.5.4