|
Public Member Functions |
| GLUI_List (GLUI_Node *parent, bool scroll=false, int id=-1, GLUI_CB callback=GLUI_CB()) |
| GLUI_List (GLUI_Node *parent, GLUI_String &live_var, bool scroll=false, int id=-1, GLUI_CB callback=GLUI_CB()) |
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) |
int | key_handler (unsigned char key, int modifiers) |
int | special_handler (int key, int modifiers) |
void | activate (int how) |
void | deactivate (void) |
void | draw (int x, int y) |
int | mouse_over (int state, int x, int y) |
int | get_box_width () |
int | find_word_break (int start, int direction) |
int | substring_width (const char *t, int start, int end) |
int | find_line (int x, int y) |
void | update_and_draw_text (void) |
void | draw_text (const char *t, int selected, int x, int y) |
void | update_size (void) |
int | add_item (int id, const char *text) |
int | delete_item (const char *text) |
int | delete_item (int id) |
int | delete_all () |
GLUI_List_Item * | get_item_ptr (const char *text) |
GLUI_List_Item * | get_item_ptr (int id) |
void | dump (FILE *out, const char *text) |
void | set_start_line (int l) |
int | get_current_item () |
void | set_click_type (int d) |
void | set_object_callback (GLUI_CB cb=GLUI_CB(), GLUI_Control *obj=NULL) |
Static Public Member Functions |
void | scrollbar_callback (GLUI_Control *) |
Public Attributes |
GLUI_String | orig_text |
int | debug |
int | draw_text_only |
int | start_line |
int | num_lines |
int | curr_line |
int | visible_lines |
GLUI_Scrollbar * | scrollbar |
GLUI_List_Item | items_list |
GLUI_Control * | associated_object |
GLUI_CB | obj_cb |
int | cb_click_type |
int | last_line |
int | last_click_time |
Protected Member Functions |
void | common_init () |
void | common_construct (GLUI_Node *parent, GLUI_String *live_var, bool scroll, int id, GLUI_CB callback) |