#include <glui.h>
Inherits GLUI_Node.
Inherited by GLUI.
There's a separate GLUI_Main object for:
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.
enum GLUI_Main::buffer_mode_t [protected] |
GLUI_Main::GLUI_Main | ( | void | ) | [protected] |
void GLUI_Main::activate_control | ( | GLUI_Control * | control, | |
int | how | |||
) |
virtual int GLUI_Main::add_control | ( | GLUI_Node * | parent, | |
GLUI_Control * | control | |||
) | [protected, virtual] |
Reimplemented in GLUI.
void GLUI_Main::adjust_glut_xy | ( | int & | x, | |
int & | y | |||
) | [inline] |
void GLUI_Main::align_controls | ( | GLUI_Control * | control | ) |
void GLUI_Main::check_subwindow_position | ( | ) |
void GLUI_Main::close_internal | ( | ) |
void GLUI_Main::create_standalone_window | ( | const char * | name, | |
int | x = -1 , |
|||
int | y = -1 | |||
) | [protected] |
void GLUI_Main::create_subwindow | ( | int | parent, | |
int | window_alignment | |||
) | [protected] |
void GLUI_Main::deactivate_current_control | ( | void | ) |
void GLUI_Main::display | ( | void | ) | [protected] |
void GLUI_Main::draw_lowered_box | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) |
Draw a 3D-look pushed-in box around this rectangle
void GLUI_Main::draw_raised_box | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) |
Draw a 3D-look pushed-out box around this rectangle
void GLUI_Main::entry | ( | int | state | ) | [protected] |
GLUI_Control* GLUI_Main::find_control | ( | int | x, | |
int | y | |||
) | [protected] |
GLUI_Control* GLUI_Main::find_next_control | ( | GLUI_Control * | control | ) | [protected] |
GLUI_Control* GLUI_Main::find_next_control_ | ( | GLUI_Control * | control | ) | [protected] |
GLUI_Control* GLUI_Main::find_next_control_rec | ( | GLUI_Control * | control | ) | [protected] |
GLUI_Control* GLUI_Main::find_prev_control | ( | GLUI_Control * | control | ) | [protected] |
int GLUI_Main::get_glut_window_id | ( | void | ) | [inline] |
Reimplemented in GLUI.
void GLUI_Main::idle | ( | void | ) | [protected] |
void GLUI_Main::keyboard | ( | unsigned char | key, | |
int | x, | |||
int | y | |||
) | [protected] |
void GLUI_Main::motion | ( | int | x, | |
int | y | |||
) | [protected] |
void GLUI_Main::mouse | ( | int | button, | |
int | state, | |||
int | x, | |||
int | y | |||
) | [protected] |
int GLUI_Main::needs_idle | ( | void | ) | [protected] |
void GLUI_Main::pack_controls | ( | ) |
Recompute the sizes and positions of all controls
void GLUI_Main::passive_motion | ( | int | x, | |
int | y | |||
) | [protected] |
void GLUI_Main::post_update_main_gfx | ( | ) |
Redraw the main graphics window
void GLUI_Main::refresh | ( | ) |
Pack, resize the window, and redraw all the controls.
void GLUI_Main::reshape | ( | int | w, | |
int | h | |||
) | [protected] |
void GLUI_Main::restore_draw_buffer | ( | int | buffer_state | ) |
Go back to using this draw buffer. Undoes set_current_draw_buffer.
int GLUI_Main::set_current_draw_buffer | ( | ) |
Switch to the appropriate draw buffer now. Returns the old draw buffer. This routine should probably only be called from inside the GLUI_DrawingSentinal, in glui_internal_control.h
void GLUI_Main::set_ortho_projection | ( | ) |
void GLUI_Main::set_viewport | ( | ) |
void GLUI_Main::setup_default_glut_callbacks | ( | void | ) | [protected] |
bool GLUI_Main::should_redraw_now | ( | GLUI_Control * | ctl | ) |
Return true if this control should redraw itself immediately (front buffer); Or queue up a redraw and return false if it shouldn't (back buffer).
void GLUI_Main::special | ( | int | key, | |
int | x, | |||
int | y | |||
) | [protected] |
void GLUI_Main::visibility | ( | int | state | ) | [protected] |
friend class GLUI [friend] |
friend class GLUI_Control [friend] |
void glui_display_func | ( | void | ) | [friend] |
void glui_entry_func | ( | int | state | ) | [friend] |
void glui_idle_func | ( | void | ) | [friend] |
void glui_keyboard_func | ( | unsigned char | key, | |
int | x, | |||
int | y | |||
) | [friend] |
friend class GLUI_Master_Object [friend] |
void glui_motion_func | ( | int | x, | |
int | y | |||
) | [friend] |
void glui_mouse_func | ( | int | button, | |
int | state, | |||
int | x, | |||
int | y | |||
) | [friend] |
void glui_parent_window_keyboard_func | ( | unsigned | char, | |
int | , | |||
int | ||||
) | [friend] |
void glui_parent_window_mouse_func | ( | int | , | |
int | , | |||
int | , | |||
int | ||||
) | [friend] |
void glui_parent_window_reshape_func | ( | int | w, | |
int | h | |||
) | [friend] |
void glui_parent_window_special_func | ( | int | , | |
int | , | |||
int | ||||
) | [friend] |
void glui_passive_motion_func | ( | int | x, | |
int | y | |||
) | [friend] |
void glui_reshape_func | ( | int | w, | |
int | h | |||
) | [friend] |
friend class GLUI_Rotation [friend] |
void glui_special_func | ( | int | key, | |
int | x, | |||
int | y | |||
) | [friend] |
friend class GLUI_Translation [friend] |
void glui_visibility_func | ( | int | state | ) | [friend] |
GLUI_Control* GLUI_Main::active_control [protected] |
unsigned char GLUI_Main::bkgd_color[3] |
float GLUI_Main::bkgd_color_f[3] |
buffer_mode_t GLUI_Main::buffer_mode [protected] |
Current drawing mode.
bool GLUI_Main::closing [protected] |
int GLUI_Main::curr_cursor [protected] |
long GLUI_Main::flags [protected] |
void* GLUI_Main::font |
int GLUI_Main::glui_id [protected] |
void(* GLUI_Main::glut_keyboard_CB)(unsigned char, int, int) [protected] |
void(* GLUI_Main::glut_mouse_CB)(int, int, int, int) [protected] |
void(* GLUI_Main::glut_reshape_CB)(int, int) [protected] |
void(* GLUI_Main::glut_special_CB)(int, int, int) [protected] |
int GLUI_Main::glut_window_id [protected] |
int GLUI_Main::h [protected] |
int GLUI_Main::main_gfx_window_id [protected] |
GLUI_Panel* GLUI_Main::main_panel [protected] |
int GLUI_Main::mouse_button_down [protected] |
GLUI_Control* GLUI_Main::mouse_over_control [protected] |
int GLUI_Main::parent_window [protected] |
int GLUI_Main::top_level_glut_window_id [protected] |
int GLUI_Main::w [protected] |