#include <glui.h>
Inherited by GLUI_Control, GLUI_Glut_Window, GLUI_List_Item, GLUI_Listbox_Item, and GLUI_Main.
Public Member Functions | |
GLUI_Node () | |
virtual | ~GLUI_Node () |
GLUI_Node * | first_sibling () |
GLUI_Node * | last_sibling () |
GLUI_Node * | prev () |
GLUI_Node * | next () |
GLUI_Node * | first_child () |
GLUI_Node * | last_child () |
GLUI_Node * | parent () |
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_Node * | parent_node |
GLUI_Node * | child_head |
GLUI_Node * | child_tail |
GLUI_Node * | next_sibling |
GLUI_Node * | prev_sibling |
Friends | |
class | GLUI_Tree |
class | GLUI_Rollout |
class | GLUI_Main |
Everything onscreen is a GLUI_Node--windows, buttons, etc. The nodes are traversed for event processing, sizing, redraws, etc.
GLUI_Node::GLUI_Node | ( | ) |
virtual GLUI_Node::~GLUI_Node | ( | ) | [inline, virtual] |
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 | ( | ) |
friend class GLUI_Main [friend] |
friend class GLUI_Rollout [friend] |
friend class GLUI_Tree [friend] |
GLUI_Node* GLUI_Node::child_head [protected] |
GLUI_Node* GLUI_Node::child_tail [protected] |
GLUI_Node* GLUI_Node::next_sibling [protected] |
GLUI_Node* GLUI_Node::parent_node [protected] |
GLUI_Node* GLUI_Node::prev_sibling [protected] |