GLUI_Node Class Reference

#include <glui.h>

Inheritance diagram for GLUI_Node:

Inheritance graph
[legend]
Collaboration diagram for GLUI_Node:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GLUI_Node ()
virtual ~GLUI_Node ()
GLUI_Nodefirst_sibling ()
GLUI_Nodelast_sibling ()
GLUI_Nodeprev ()
GLUI_Nodenext ()
GLUI_Nodefirst_child ()
GLUI_Nodelast_child ()
GLUI_Nodeparent ()
virtual int add_control (GLUI_Control *control)
void link_this_to_parent_last (GLUI_Node *parent)
void link_this_to_parent_first (GLUI_Node *parent)
void link_this_to_sibling_next (GLUI_Node *sibling)
void link_this_to_sibling_prev (GLUI_Node *sibling)
void unlink ()
void dump (FILE *out, const char *name)

Static Protected Member Functions

static void add_child_to_control (GLUI_Node *parent, GLUI_Control *child)

Protected Attributes

GLUI_Nodeparent_node
GLUI_Nodechild_head
GLUI_Nodechild_tail
GLUI_Nodenext_sibling
GLUI_Nodeprev_sibling

Friends

class GLUI_Tree
class GLUI_Rollout
class GLUI_Main


Detailed Description

GLUI_Node is a node in a sort of tree of GLUI controls. Each GLUI_Node has a list of siblings (in a circular list) and a linked list of children.

Everything onscreen is a GLUI_Node--windows, buttons, etc. The nodes are traversed for event processing, sizing, redraws, etc.

Definition at line 327 of file glui.h.


Constructor & Destructor Documentation

GLUI_Node::GLUI_Node (  ) 

virtual GLUI_Node::~GLUI_Node (  )  [inline, virtual]

Definition at line 335 of file glui.h.


Member Function Documentation

GLUI_Node* GLUI_Node::first_sibling (  ) 

GLUI_Node* GLUI_Node::last_sibling (  ) 

GLUI_Node* GLUI_Node::prev (  ) 

GLUI_Node* GLUI_Node::next (  ) 

Reimplemented in GLUI_TreePanel.

GLUI_Node* GLUI_Node::first_child (  )  [inline]

Definition at line 342 of file glui.h.

GLUI_Node* GLUI_Node::last_child (  )  [inline]

Definition at line 343 of file glui.h.

GLUI_Node* GLUI_Node::parent (  )  [inline]

Definition at line 344 of file glui.h.

virtual int GLUI_Node::add_control ( GLUI_Control control  )  [virtual]

Link in a new child control

Reimplemented in GLUI.

void GLUI_Node::link_this_to_parent_last ( GLUI_Node parent  ) 

void GLUI_Node::link_this_to_parent_first ( GLUI_Node parent  ) 

void GLUI_Node::link_this_to_sibling_next ( GLUI_Node sibling  ) 

void GLUI_Node::link_this_to_sibling_prev ( GLUI_Node sibling  ) 

void GLUI_Node::unlink (  ) 

void GLUI_Node::dump ( FILE *  out,
const char *  name 
)

Reimplemented in GLUI_EditText, GLUI_CommandLine, and GLUI_List.

static void GLUI_Node::add_child_to_control ( GLUI_Node parent,
GLUI_Control child 
) [static, protected]


Friends And Related Function Documentation

friend class GLUI_Tree [friend]

Definition at line 329 of file glui.h.

friend class GLUI_Rollout [friend]

Definition at line 330 of file glui.h.

friend class GLUI_Main [friend]

Definition at line 331 of file glui.h.


Member Data Documentation

GLUI_Node* GLUI_Node::parent_node [protected]

Definition at line 359 of file glui.h.

GLUI_Node* GLUI_Node::child_head [protected]

Definition at line 360 of file glui.h.

GLUI_Node* GLUI_Node::child_tail [protected]

Definition at line 361 of file glui.h.

GLUI_Node* GLUI_Node::next_sibling [protected]

Definition at line 362 of file glui.h.

GLUI_Node* GLUI_Node::prev_sibling [protected]

Definition at line 363 of file glui.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 30 11:04:44 2007 for SPRING Mac by  doxygen 1.5.3