Main Page   Class Hierarchy   Compound List   File List   Compound Members  

GfxGLWindowGLUI Class Reference

Window class for GLUI. More...

#include <freecloth/gfx/gfxGLWindowGLUI.h>

Inheritance diagram for GfxGLWindowGLUI:

Inheritance graph
[legend]
Collaboration diagram for GfxGLWindowGLUI:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GfxGLWindowGLUT BaseClass
typedef UInt32 ControlID
typedef UInt32 PanelID
enum  TranslateType { TR_XY, TR_X, TR_Y, TR_Z }
enum  EditType { EDIT_TEXT, EDIT_INT, EDIT_FLOAT }
enum  BorderType { BORDER_NONE, BORDER_RAISED, BORDER_EMBOSSED }
enum  { PANEL_NONE = ~0U, CTRL_NONE = ~0U }

Public Member Functions

 GfxGLWindowGLUI (const GfxConfig &, const String &title)
void addGroup (BorderType, PanelID, PanelID parent=PANEL_NONE)
void addPanel (const String &label, PanelID, PanelID parent=PANEL_NONE)
void addRollout (const String &label, PanelID, bool open, PanelID parent=PANEL_NONE)
void addColumn (bool showDivider=true, PanelID=PANEL_NONE)
void addButton (const String &label, ControlID, PanelID=PANEL_NONE)
void addRotate (const String &label, ControlID, PanelID=PANEL_NONE)
void addTranslate (const String &label, TranslateType, ControlID, PanelID=PANEL_NONE)
void addText (const String &label, ControlID=CTRL_NONE, PanelID=PANEL_NONE)
void addEditText (const String &label, ControlID, PanelID=PANEL_NONE)
void addEditInt (const String &label, ControlID, PanelID=PANEL_NONE)
void addEditFloat (const String &label, ControlID, PanelID=PANEL_NONE)
void addEditBox (const String &label, EditType, ControlID, PanelID=PANEL_NONE)
void addCheckbox (const String &label, ControlID, PanelID=PANEL_NONE)
void addRadioGroup (ControlID, PanelID=PANEL_NONE)
void addRadioButton (ControlID group, const String &label)
void setRotate (ControlID, const GeMatrix4 &)
void setTranslateX (ControlID, Float)
void setTranslateY (ControlID, Float)
void setTranslateZ (ControlID, Float)
void setText (ControlID, const String &)
void setCheckbox (ControlID, bool)
void setRadioGroup (ControlID, UInt32)
void setEditText (ControlID, const String &)
void setEditInt (ControlID, Int32)
void setEditFloat (ControlID, Float)
void setEditIntLimits (ControlID, Int32 low, Int32 high, bool wrap=false)
void setEditFloatLimits (ControlID, Float low, Float high, bool wrap=false)
GeMatrix4 getRotate (ControlID) const
Float getTranslateX (ControlID) const
Float getTranslateY (ControlID) const
Float getTranslateZ (ControlID) const
bool getCheckbox (ControlID) const
UInt32 getRadioGroup (ControlID) const
String getEditText (ControlID) const
Int32 getEditInt (ControlID) const
Float getEditFloat (ControlID) const

Protected Member Functions

virtual void registerIdleCB ()
 Virtual, to allow GLUI to override.

virtual void registerCBs ()

Static Protected Member Functions

void reshapeCB (int w, int h)
void controlCB (int control)

Private Member Functions

 GfxGLWindowGLUI (const GfxGLWindowGLUI &)
GfxGLWindowGLUI & operator= (const GfxGLWindowGLUI &)

Private Attributes

Imp * _imp

Detailed Description

Window class for GLUI.

GLUI has an awful C++ API, and some terrible user interface controls, but it's the simplest portable windowing API I could find.

Definition at line 46 of file gfxGLWindowGLUI.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 15:58:58 2003 for Freecloth by doxygen1.3-rc3