#include <glui.h>


Public Member Functions | |
| GLUI_List (GLUI_Node *parent, bool scroll=false, int obj_id=-1, GLUI_CB callback=GLUI_CB()) | |
| GLUI_List (GLUI_Node *parent, GLUI_String &live_var, bool scroll=false, int obj_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 obj_id, char *text) |
| int | delete_item (const char *text) |
| int | delete_item (int obj_id) |
| int | delete_all () |
| GLUI_List_Item * | get_item_ptr (const char *text) |
| GLUI_List_Item * | get_item_ptr (int obj_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 | |
| static 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 obj_id, GLUI_CB callback) |
Definition at line 2093 of file glui.h.
| GLUI_List::GLUI_List | ( | GLUI_Node * | parent, | |
| bool | scroll = false, |
|||
| int | obj_id = -1, |
|||
| GLUI_CB | callback = GLUI_CB() | |||
| ) |
| GLUI_List::GLUI_List | ( | GLUI_Node * | parent, | |
| GLUI_String & | live_var, | |||
| bool | scroll = false, |
|||
| int | obj_id = -1, |
|||
| GLUI_CB | callback = GLUI_CB() | |||
| ) |
| int GLUI_List::mouse_down_handler | ( | int | local_x, | |
| int | local_y | |||
| ) | [virtual] |
Reimplemented from GLUI_Control.
| int GLUI_List::mouse_up_handler | ( | int | local_x, | |
| int | local_y, | |||
| bool | inside | |||
| ) | [virtual] |
Reimplemented from GLUI_Control.
| int GLUI_List::mouse_held_down_handler | ( | int | local_x, | |
| int | local_y, | |||
| bool | inside | |||
| ) | [virtual] |
Reimplemented from GLUI_Control.
| int GLUI_List::key_handler | ( | unsigned char | key, | |
| int | modifiers | |||
| ) | [virtual] |
Reimplemented from GLUI_Control.
| int GLUI_List::special_handler | ( | int | key, | |
| int | modifiers | |||
| ) | [virtual] |
Reimplemented from GLUI_Control.
| void GLUI_List::activate | ( | int | how | ) | [virtual] |
Reimplemented from GLUI_Control.
| void GLUI_List::deactivate | ( | void | ) | [virtual] |
Reimplemented from GLUI_Control.
| void GLUI_List::draw | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Implements GLUI_Control.
| int GLUI_List::mouse_over | ( | int | state, | |
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Reimplemented from GLUI_Control.
| int GLUI_List::get_box_width | ( | ) |
| int GLUI_List::find_word_break | ( | int | start, | |
| int | direction | |||
| ) |
| int GLUI_List::substring_width | ( | const char * | t, | |
| int | start, | |||
| int | end | |||
| ) |
| int GLUI_List::find_line | ( | int | x, | |
| int | y | |||
| ) |
| void GLUI_List::update_and_draw_text | ( | void | ) |
| void GLUI_List::draw_text | ( | const char * | t, | |
| int | selected, | |||
| int | x, | |||
| int | y | |||
| ) |
| void GLUI_List::update_size | ( | void | ) | [virtual] |
Reimplemented from GLUI_Control.
| int GLUI_List::add_item | ( | int | obj_id, | |
| char * | text | |||
| ) |
| int GLUI_List::delete_item | ( | const char * | text | ) |
| int GLUI_List::delete_item | ( | int | obj_id | ) |
| int GLUI_List::delete_all | ( | ) |
| GLUI_List_Item* GLUI_List::get_item_ptr | ( | const char * | text | ) |
| GLUI_List_Item* GLUI_List::get_item_ptr | ( | int | obj_id | ) |
| void GLUI_List::dump | ( | FILE * | out, | |
| const char * | text | |||
| ) |
Reimplemented from GLUI_Node.
| static void GLUI_List::scrollbar_callback | ( | GLUI_Control * | ) | [static] |
| void GLUI_List::set_object_callback | ( | GLUI_CB | cb = GLUI_CB(), |
|
| GLUI_Control * | obj = NULL | |||
| ) | [inline] |
| void GLUI_List::common_construct | ( | GLUI_Node * | parent, | |
| GLUI_String * | live_var, | |||
| bool | scroll, | |||
| int | obj_id, | |||
| GLUI_CB | callback | |||
| ) | [protected] |
| int GLUI_List::debug |
1.5.3