All the GLUI_Main objects are listed in GLUI_Master.gluis. A better name for this class might be "GLUI_Environment"; this class provides the window-level context for every control.
|
Public Member Functions |
| void | adjust_glut_xy (int &x, int &y) |
| void | activate_control (GLUI_Control *control, int how) |
| void | align_controls (GLUI_Control *control) |
| void | deactivate_current_control (void) |
| void | draw_raised_box (int x, int y, int w, int h) |
| void | draw_lowered_box (int x, int y, int w, int h) |
| bool | should_redraw_now (GLUI_Control *ctl) |
| int | set_current_draw_buffer () |
| void | restore_draw_buffer (int buffer_state) |
| void | refresh () |
| void | post_update_main_gfx () |
| void | pack_controls () |
| void | close_internal () |
| void | check_subwindow_position () |
| void | set_ortho_projection () |
| void | set_viewport () |
| int | get_glut_window_id (void) |
Public Attributes |
| GLUI_StdBitmaps | std_bitmaps |
| GLUI_String | window_name |
| RGBc | bkgd_color |
| float | bkgd_color_f [3] |
| void * | font |
| int | curr_modifiers |
Protected Types |
| enum | buffer_mode_t { buffer_front = 1,
buffer_back = 2
} |
Protected Member Functions |
| GLUI_Control * | find_control (int x, int y) |
| GLUI_Control * | find_next_control (GLUI_Control *control) |
| GLUI_Control * | find_next_control_rec (GLUI_Control *control) |
| GLUI_Control * | find_next_control_ (GLUI_Control *control) |
| GLUI_Control * | find_prev_control (GLUI_Control *control) |
| void | create_standalone_window (const char *name, int x=-1, int y=-1) |
| void | create_subwindow (int parent, int window_alignment) |
| void | setup_default_glut_callbacks (void) |
| void | mouse (int button, int state, int x, int y) |
| void | keyboard (unsigned char key, int x, int y) |
| void | special (int key, int x, int y) |
| void | passive_motion (int x, int y) |
| void | reshape (int w, int h) |
| void | visibility (int state) |
| void | motion (int x, int y) |
| void | entry (int state) |
| void | display (void) |
| void | idle (void) |
| int | needs_idle (void) |
| virtual int | add_control (GLUI_Node *parent, GLUI_Control *control) |
| | GLUI_Main (void) |
Protected Attributes |
| int | main_gfx_window_id |
| int | mouse_button_down |
| int | glut_window_id |
| int | top_level_glut_window_id |
| GLUI_Control * | active_control |
| GLUI_Control * | mouse_over_control |
| GLUI_Panel * | main_panel |
| buffer_mode_t | buffer_mode |
| | Current drawing mode.
|
| int | curr_cursor |
| int | w |
| int | h |
| long | flags |
| bool | closing |
| int | parent_window |
| int | glui_id |
| void(* | glut_mouse_CB )(int, int, int, int) |
| void(* | glut_keyboard_CB )(unsigned char, int, int) |
| void(* | glut_special_CB )(int, int, int) |
| void(* | glut_reshape_CB )(int, int) |
Friends |
| void | glui_mouse_func (int button, int state, int x, int y) |
| void | glui_keyboard_func (unsigned char key, int x, int y) |
| void | glui_special_func (int key, int x, int y) |
| void | glui_passive_motion_func (int x, int y) |
| void | glui_reshape_func (int w, int h) |
| void | glui_visibility_func (int state) |
| void | glui_motion_func (int x, int y) |
| void | glui_entry_func (int state) |
| void | glui_display_func (void) |
| void | glui_idle_func (void) |
| void | glui_parent_window_reshape_func (int w, int h) |
| void | glui_parent_window_keyboard_func (unsigned char, int, int) |
| void | glui_parent_window_special_func (int, int, int) |
| void | glui_parent_window_mouse_func (int, int, int, int) |