|
Public Member Functions |
| | GLUI_Scrollbar (GLUI_Node *parent, const char *name, int horz_vert=GLUI_SCROLL_HORIZONTAL, int data_type=GLUI_SCROLL_INT, int id=-1, GLUI_CB callback=GLUI_CB()) |
| | GLUI_Scrollbar (GLUI_Node *parent, const char *name, int horz_vert, int *live_var, int id=-1, GLUI_CB callback=GLUI_CB()) |
| | GLUI_Scrollbar (GLUI_Node *parent, const char *name, int horz_vert, float *live_var, 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 | draw (int x, int y) |
| void | draw_pressed (void) |
| void | draw_unpressed (void) |
| void | draw_text (int sunken) |
| void | update_size (void) |
| void | set_int_limits (int low, int high, int limit_type=GLUI_LIMIT_CLAMP) |
| void | set_float_limits (float low, float high, int limit_type=GLUI_LIMIT_CLAMP) |
| int | find_arrow (int local_x, int local_y) |
| void | do_drag (int x, int y) |
| void | do_callbacks (void) |
| void | draw_scroll (void) |
| void | do_click (void) |
| void | idle (void) |
| bool | needs_idle (void) const |
| void | set_int_val (int new_val) |
| void | set_float_val (float new_val) |
| void | increase_growth (void) |
| void | reset_growth (void) |
| void | set_speed (float speed) |
| void | update_scroll_parameters () |
| void | set_object_callback (GLUI_CB cb=GLUI_CB(), GLUI_Control *obj=NULL) |
Public Attributes |
| bool | currently_inside |
| int | state |
| float | growth |
| float | growth_exp |
| int | last_x |
| int | last_y |
| int | data_type |
| int | callback_count |
| int | last_int_val |
| | Used to prevent repeated callbacks.
|
| float | last_float_val |
| int | first_callback |
| float | user_speed |
| float | float_min |
| float | float_max |
| int | int_min |
| int | int_max |
| int | horizontal |
| double | last_update_time |
| | GLUI_Time() we last advanced scrollbar.
|
| double | velocity_limit |
| | Maximum distance to advance per second.
|
| int | box_length |
| int | box_start_position |
| int | box_end_position |
| int | track_length |
| void * | associated_object |
| GLUI_CB | object_cb |
Protected Member Functions |
| void | common_init (void) |
| void | common_construct (GLUI_Node *parent, const char *name, int horz_vert, int data_type, void *live_var, int id, GLUI_CB callback) |
| virtual void | draw_scroll_arrow (int arrowtype, int x, int y) |
| virtual void | draw_scroll_box (int x, int y, int w, int h) |