Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_static_treeview Class Reference

#include <httree.h>

Inheritance diagram for ht_static_treeview:

ht_treeview ht_view Object ht_pe_resource_viewer List of all members.

Public Member Functions

void init (bounds *b, char *desc)
virtual void done ()
void * add_child (void *node, char *text, Object *Data=NULL)
void * add_node (static_node **node, char *text, Object *Data=NULL)
virtual void adjust (void *node, bool expand)
static_nodecreate_node (char *text, static_node *prev, Object *Data=NULL)
virtual void * get_child (void *node, int i)
virtual void * get_next_node (void *node)
virtual void * get_prev_node (void *node)
virtual void * get_root ()
virtual char * get_text (void *node)
virtual bool has_children (void *node)
virtual bool is_expanded (void *node)
virtual void select_node (void *node)
void * get_cursor_node ()
void goto_node (void *node)

Public Attributes

static_noderoot

Member Function Documentation

void * ht_static_treeview::add_child void *  node,
char *  text,
Object Data = NULL
 

Definition at line 384 of file httree.cc.

References add_node(), create_node(), NULL, and root.

void * ht_static_treeview::add_node static_node **  node,
char *  text,
Object Data = NULL
 

Definition at line 398 of file httree.cc.

References create_node(), static_node::next, and NULL.

Referenced by add_child().

void ht_static_treeview::adjust void *  node,
bool  expand
[virtual]
 

Implements ht_treeview.

Definition at line 412 of file httree.cc.

static_node * ht_static_treeview::create_node char *  text,
static_node prev,
Object Data = NULL
 

Definition at line 417 of file httree.cc.

References static_node::child, static_node::data, static_node::expanded, ht_strdup(), malloc(), static_node::next, NULL, static_node::prev, and static_node::text.

Referenced by add_child(), and add_node().

void ht_static_treeview::done  )  [virtual]
 

Reimplemented from ht_treeview.

Reimplemented in ht_pe_resource_viewer.

Definition at line 378 of file httree.cc.

References ht_treeview::done(), ht_static_treeviewdone_r(), and root.

Referenced by ht_pe_resource_viewer::done().

void * ht_static_treeview::get_child void *  node,
int  i
[virtual]
 

Implements ht_treeview.

Definition at line 429 of file httree.cc.

References static_node::child, static_node::next, and root.

void * ht_static_treeview::get_cursor_node  ) 
 

Definition at line 461 of file httree.cc.

void * ht_static_treeview::get_next_node void *  node  )  [virtual]
 

Implements ht_treeview.

Definition at line 441 of file httree.cc.

void * ht_static_treeview::get_prev_node void *  node  )  [virtual]
 

Implements ht_treeview.

Definition at line 446 of file httree.cc.

void * ht_static_treeview::get_root  )  [virtual]
 

Implements ht_treeview.

Definition at line 451 of file httree.cc.

References root.

char * ht_static_treeview::get_text void *  node  )  [virtual]
 

Implements ht_treeview.

Definition at line 456 of file httree.cc.

void ht_static_treeview::goto_node void *  node  ) 
 

Definition at line 467 of file httree.cc.

bool ht_static_treeview::has_children void *  node  )  [virtual]
 

Implements ht_treeview.

Definition at line 471 of file httree.cc.

void ht_static_treeview::init bounds *  b,
char *  desc
 

Reimplemented from ht_treeview.

Reimplemented in ht_pe_resource_viewer.

Definition at line 356 of file httree.cc.

References Object::init(), root, and VIEW_DEBUG_NAME.

bool ht_static_treeview::is_expanded void *  node  )  [virtual]
 

Implements ht_treeview.

Definition at line 476 of file httree.cc.

void ht_static_treeview::select_node void *  node  )  [virtual]
 

Reimplemented from ht_treeview.

Reimplemented in ht_pe_resource_viewer.

Definition at line 481 of file httree.cc.


Member Data Documentation

static_node* ht_static_treeview::root
 

Definition at line 81 of file httree.h.

Referenced by add_child(), done(), get_child(), get_root(), and init().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:03 2004 by doxygen 1.3.5