Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

GLUI_Master_Object Class Reference

#include <glui.h>

List of all members.


Detailed Description

The master manages our interaction with GLUT. There's only one GLUI_Master_Object.


Public Member Functions

 GLUI_Master_Object ()
 ~GLUI_Master_Object ()
GLUI_Glut_Windowfind_glut_window (int window_id)
void set_glutIdleFunc (void(*f)(void))
void set_left_button_glut_menu_control (GLUI_Control *control)
void set_glutReshapeFunc (void(*f)(int width, int height))
void set_glutKeyboardFunc (void(*f)(unsigned char key, int x, int y))
void set_glutSpecialFunc (void(*f)(int key, int x, int y))
void set_glutMouseFunc (void(*f)(int, int, int, int))
void set_glutDisplayFunc (void(*f)(void))
void set_glutTimerFunc (unsigned int millis, void(*f)(int value), int value)
void set_glutOverlayDisplayFunc (void(*f)(void))
void set_glutSpaceballMotionFunc (Int3_CB f)
void set_glutSpaceballRotateFunc (Int3_CB f)
void set_glutSpaceballButtonFunc (Int2_CB f)
void set_glutTabletMotionFunc (Int2_CB f)
void set_glutTabletButtonFunc (Int4_CB f)
void set_glutMenuStatusFunc (Int3_CB f)
void set_glutMenuStateFunc (Int1_CB f)
void set_glutButtonBoxFunc (Int2_CB f)
void set_glutDialsFunc (Int2_CB f)
GLUIcreate_glui (const char *name, long flags=0, int x=-1, int y=-1)
GLUIcreate_glui_subwindow (int parent_window, long flags=0)
GLUIfind_glui_by_window_id (int window_id)
void get_viewport_area (int *x, int *y, int *w, int *h)
void auto_set_viewport ()
void close_all ()
void sync_live_all ()
void reshape ()
float get_version ()
void glui_setIdleFuncIfNecessary (void)

Public Attributes

GLUI_Node gluis
GLUI_Controlactive_control
GLUI_Controlcurr_left_button_glut_menu
GLUIactive_control_glui
int glui_id_counter

Friends

void glui_idle_func ()


Constructor & Destructor Documentation

GLUI_Master_Object::GLUI_Master_Object  ) 
 

GLUI_Master_Object::~GLUI_Master_Object  ) 
 


Member Function Documentation

void GLUI_Master_Object::auto_set_viewport  ) 
 

void GLUI_Master_Object::close_all  ) 
 

GLUI * GLUI_Master_Object::create_glui const char *  name,
long  flags = 0,
int  x = -1,
int  y = -1
 

GLUI * GLUI_Master_Object::create_glui_subwindow int  parent_window,
long  flags = 0
 

GLUI * GLUI_Master_Object::find_glui_by_window_id int  window_id  ) 
 

GLUI_Glut_Window * GLUI_Master_Object::find_glut_window int  window_id  ) 
 

float GLUI_Master_Object::get_version  )  [inline]
 

void GLUI_Master_Object::get_viewport_area int *  x,
int *  y,
int *  w,
int *  h
 

void GLUI_Master_Object::glui_setIdleFuncIfNecessary void   ) 
 

void GLUI_Master_Object::reshape  ) 
 

void GLUI_Master_Object::set_glutButtonBoxFunc Int2_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutDialsFunc Int2_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutDisplayFunc void(*  f)(void)  )  [inline]
 

void GLUI_Master_Object::set_glutIdleFunc void(*  f)(void)  ) 
 

void GLUI_Master_Object::set_glutKeyboardFunc void(*  f)(unsigned char key, int x, int y)  ) 
 

void GLUI_Master_Object::set_glutMenuStateFunc Int1_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutMenuStatusFunc Int3_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutMouseFunc void(*  f)(int, int, int, int)  ) 
 

void GLUI_Master_Object::set_glutOverlayDisplayFunc void(*  f)(void)  )  [inline]
 

void GLUI_Master_Object::set_glutReshapeFunc void(*  f)(int width, int height)  ) 
 

void GLUI_Master_Object::set_glutSpaceballButtonFunc Int2_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutSpaceballMotionFunc Int3_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutSpaceballRotateFunc Int3_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutSpecialFunc void(*  f)(int key, int x, int y)  ) 
 

void GLUI_Master_Object::set_glutTabletButtonFunc Int4_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutTabletMotionFunc Int2_CB  f  )  [inline]
 

void GLUI_Master_Object::set_glutTimerFunc unsigned int  millis,
void(*  f)(int value),
int  value
[inline]
 

void GLUI_Master_Object::set_left_button_glut_menu_control GLUI_Control control  ) 
 

void GLUI_Master_Object::sync_live_all  ) 
 


Friends And Related Function Documentation

void glui_idle_func  )  [friend]
 


Member Data Documentation

GLUI_Control* GLUI_Master_Object::active_control
 

GLUI* GLUI_Master_Object::active_control_glui
 

GLUI_Control * GLUI_Master_Object::curr_left_button_glut_menu
 

int GLUI_Master_Object::glui_id_counter
 

GLUI_Node GLUI_Master_Object::gluis
 


The documentation for this class was generated from the following files:
Generated on Fri Sep 15 17:51:57 2006 for GLUI by doxygen 1.3.6