#include <glui.h>
Inherits GLUI_Panel.
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_TreePanel * | panel |
Protected Member Functions | |
void | common_init () |
Private Attributes | |
int | level |
float | red |
float | green |
float | blue |
float | lred |
float | lgreen |
float | lblue |
int | id |
GLUI_Column * | column |
int | is_current |
int | child_number |
int | format |
GLUI_Tree::GLUI_Tree | ( | GLUI_Node * | parent, | |
const char * | name, | |||
int | open = false , |
|||
int | inset = 0 | |||
) |
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.
float GLUI_Tree::blue [private] |
int GLUI_Tree::child_number [private] |
GLUI_Column* GLUI_Tree::column [private] |
int GLUI_Tree::format [private] |
float GLUI_Tree::green [private] |
int GLUI_Tree::id [private] |
int GLUI_Tree::is_current [private] |
float GLUI_Tree::lblue [private] |
int GLUI_Tree::level [private] |
float GLUI_Tree::lgreen [private] |
float GLUI_Tree::lred [private] |
float GLUI_Tree::red [private] |