GLUI_Node Class Reference

#include <glui.h>

Inherited by GLUI_Control, GLUI_Glut_Window, GLUI_List_Item, GLUI_Listbox_Item, and GLUI_Main.

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.


Constructor & Destructor Documentation

GLUI_Node::GLUI_Node (  ) 

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


Member Function Documentation

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

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

Link in a new child control

Reimplemented in GLUI.

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

Reimplemented in GLUI_EditText, GLUI_CommandLine, and GLUI_List.

GLUI_Node* GLUI_Node::first_child (  )  [inline]

GLUI_Node* GLUI_Node::first_sibling (  ) 

GLUI_Node* GLUI_Node::last_child (  )  [inline]

GLUI_Node* GLUI_Node::last_sibling (  ) 

void GLUI_Node::link_this_to_parent_first ( GLUI_Node parent  ) 

void GLUI_Node::link_this_to_parent_last ( 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  ) 

GLUI_Node* GLUI_Node::next (  ) 

Reimplemented in GLUI_TreePanel.

GLUI_Node* GLUI_Node::parent (  )  [inline]

GLUI_Node* GLUI_Node::prev (  ) 

void GLUI_Node::unlink (  ) 


Friends And Related Function Documentation

friend class GLUI_Main [friend]

friend class GLUI_Rollout [friend]

friend class GLUI_Tree [friend]


Member Data Documentation


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

Generated on Tue Jan 20 23:44:14 2009 for FlowVis by  doxygen 1.5.7.1