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

GLUI_Tree Class Reference

#include <glui.h>

Inheritance diagram for GLUI_Tree:

GLUI_Panel GLUI_Control GLUI_Node List of all members.

Detailed Description

One collapsible entry in a GLUI_TreePanel.


Public Member Functions

 GLUI_Tree (GLUI_Node *parent, const char *name, int open=false, int inset=0)
void draw (int x, int y)
void draw_pressed (void)
int mouse_down_handler (int local_x, int local_y)
int mouse_up_handler (int local_x, int local_y, bool inside)
int mouse_held_down_handler (int local_x, int local_y, bool inside)
void set_column (GLUI_Column *c)
void open (void)
void close (void)
void update_size (void)
void set_id (int i)
void set_level (int l)
void set_format (int f)
void set_current (int c)
int get_id ()
int get_level ()
int get_child_number ()
void enable_bar ()
void disable_bar ()
void set_child_number (int c)
void set_level_color (float r, float g, float b)
void set_color (float r, float g, float b)

Public Attributes

bool currently_inside
bool initially_inside
GLUI_Button button
GLUI_String level_name
GLUI_TreePanelpanel

Protected Member Functions

void common_init ()


Constructor & Destructor Documentation

GLUI_Tree::GLUI_Tree GLUI_Node parent,
const char *  name,
int  open = false,
int  inset = 0
 


Member Function Documentation

void GLUI_Tree::close void   ) 
 

void GLUI_Tree::common_init void   )  [inline, protected]
 

Reimplemented from GLUI_Panel.

void GLUI_Tree::disable_bar  )  [inline]
 

void GLUI_Tree::draw int  x,
int  y
[virtual]
 

Reimplemented from GLUI_Panel.

void GLUI_Tree::draw_pressed void   ) 
 

void GLUI_Tree::enable_bar  )  [inline]
 

int GLUI_Tree::get_child_number  )  [inline]
 

int GLUI_Tree::get_id void   )  [inline, virtual]
 

Reimplemented from GLUI_Control.

int GLUI_Tree::get_level  )  [inline]
 

int GLUI_Tree::mouse_down_handler int  local_x,
int  local_y
[virtual]
 

Reimplemented from GLUI_Control.

int GLUI_Tree::mouse_held_down_handler int  local_x,
int  local_y,
bool  inside
[virtual]
 

Reimplemented from GLUI_Control.

int GLUI_Tree::mouse_up_handler int  local_x,
int  local_y,
bool  inside
[virtual]
 

Reimplemented from GLUI_Control.

void GLUI_Tree::open void   ) 
 

void GLUI_Tree::set_child_number int  c  )  [inline]
 

void GLUI_Tree::set_color float  r,
float  g,
float  b
[inline]
 

void GLUI_Tree::set_column GLUI_Column c  )  [inline]
 

void GLUI_Tree::set_current int  c  )  [inline]
 

void GLUI_Tree::set_format int  f  )  [inline]
 

void GLUI_Tree::set_id int  i  )  [inline, virtual]
 

Reimplemented from GLUI_Control.

void GLUI_Tree::set_level int  l  )  [inline]
 

void GLUI_Tree::set_level_color float  r,
float  g,
float  b
[inline]
 

void GLUI_Tree::update_size void   )  [virtual]
 

Reimplemented from GLUI_Panel.


Member Data Documentation

GLUI_Button GLUI_Tree::button
 

bool GLUI_Tree::currently_inside
 

bool GLUI_Tree::initially_inside
 

GLUI_String GLUI_Tree::level_name
 

GLUI_TreePanel* GLUI_Tree::panel
 


The documentation for this class was generated from the following files:
Generated on Fri Sep 15 17:51:57 2006 for GLUI by doxygen 1.3.6