#include <glui.h>
Inherits GLUI_Panel.
Public Member Functions | |
GLUI_TreePanel (GLUI_Node *parent, const char *name, bool open=false, int inset=0) | |
void | set_color (float r, float g, float b) |
void | set_level_color (float r, float g, float b) |
void | set_format (int f) |
GLUI_Tree * | ab (const char *name, GLUI_Tree *root=NULL) |
void | fb (GLUI_Tree *branch=NULL) |
void | db (GLUI_Tree *branch=NULL) |
void | descendBranch (GLUI_Panel *root=NULL) |
void | resetToRoot (GLUI_Panel *new_root=NULL) |
void | next (void) |
void | refresh (void) |
void | expand_all (void) |
void | collapse_all (void) |
void | update_all (void) |
void | initNode (GLUI_Tree *temp) |
void | formatNode (GLUI_Tree *temp) |
Public Attributes | |
int | max_levels |
int | next_id |
int | format |
float | red |
float | green |
float | blue |
float | lred |
float | lgreen |
float | lblue |
int | root_children |
GLUI_Tree * | curr_branch |
GLUI_Panel * | curr_root |
Protected Member Functions | |
int | uniqueID (void) |
void | common_init () |
FIXME: There's an infinite loop in the traversal code (OSL 2006/06)
GLUI_TreePanel::GLUI_TreePanel | ( | GLUI_Node * | parent, | |
const char * | name, | |||
bool | open = false , |
|||
int | inset = 0 | |||
) |
void GLUI_TreePanel::collapse_all | ( | void | ) |
void GLUI_TreePanel::common_init | ( | void | ) | [inline, protected] |
Reimplemented from GLUI_Panel.
void GLUI_TreePanel::db | ( | GLUI_Tree * | branch = NULL |
) |
void GLUI_TreePanel::descendBranch | ( | GLUI_Panel * | root = NULL |
) |
void GLUI_TreePanel::expand_all | ( | void | ) |
void GLUI_TreePanel::fb | ( | GLUI_Tree * | branch = NULL |
) |
void GLUI_TreePanel::formatNode | ( | GLUI_Tree * | temp | ) |
void GLUI_TreePanel::initNode | ( | GLUI_Tree * | temp | ) |
void GLUI_TreePanel::next | ( | void | ) |
Reimplemented from GLUI_Node.
void GLUI_TreePanel::refresh | ( | void | ) |
void GLUI_TreePanel::resetToRoot | ( | GLUI_Panel * | new_root = NULL |
) |
void GLUI_TreePanel::set_color | ( | float | r, | |
float | g, | |||
float | b | |||
) |
void GLUI_TreePanel::set_format | ( | int | f | ) | [inline] |
void GLUI_TreePanel::set_level_color | ( | float | r, | |
float | g, | |||
float | b | |||
) |
int GLUI_TreePanel::uniqueID | ( | void | ) | [inline, protected] |
void GLUI_TreePanel::update_all | ( | void | ) |
float GLUI_TreePanel::blue |
float GLUI_TreePanel::green |
float GLUI_TreePanel::lblue |
float GLUI_TreePanel::lgreen |
float GLUI_TreePanel::lred |
float GLUI_TreePanel::red |