Gui Class Reference

Top level GUI application. More...

#include <Gui.h>

List of all members.

Public Slots

void loadPressed ()
void savePressed ()
void renderPressed ()
void drawModeChanged ()
void enableAccelPreviewChanged ()
void enableDefaultLightingChanged ()
void selectComboBox (int)

Signals

void drawModeChanged (int style)
void render ()

Public Member Functions

 Gui (const std::string &title="Milton Renderer")
virtual ~Gui ()
void addCanvas (Canvas *canvas)
 Add a canvas to the GUI with a default title.
void addCanvas (Canvas *canvas, const char *title)
 Add a canvas to the GUI with the provided title.

Protected Member Functions

void _init (const std::string &title)
void _redrawAll ()
Canvas_getActiveCanvas (const char *text)


Detailed Description

Top level GUI application.

Definition at line 15 of file Gui.h.


Constructor & Destructor Documentation

Gui::Gui ( const std::string &  title = "Milton Renderer"  )  [inline, explicit]

Definition at line 20 of file Gui.h.

virtual Gui::~Gui (  )  [inline, virtual]

Definition at line 27 of file Gui.h.


Member Function Documentation

void Gui::addCanvas ( Canvas canvas  ) 

Add a canvas to the GUI with a default title.

Definition at line 150 of file Gui.cpp.

void Gui::addCanvas ( Canvas canvas,
const char *  title 
)

Add a canvas to the GUI with the provided title.

Definition at line 109 of file Gui.cpp.

void Gui::loadPressed (  )  [slot]

Load a scene with the given filename, returns a bool and SceneData (out argument)

Definition at line 158 of file Gui.cpp.

void Gui::savePressed (  )  [slot]

Definition at line 187 of file Gui.cpp.

void Gui::renderPressed (  )  [slot]

Definition at line 210 of file Gui.cpp.

void Gui::drawModeChanged (  )  [slot]

Definition at line 154 of file Gui.cpp.

void Gui::enableAccelPreviewChanged (  )  [slot]

Definition at line 238 of file Gui.cpp.

void Gui::enableDefaultLightingChanged (  )  [slot]

Definition at line 246 of file Gui.cpp.

void Gui::selectComboBox ( int  index  )  [slot]

Definition at line 265 of file Gui.cpp.

void Gui::drawModeChanged ( int  style  )  [signal]

void Gui::render (  )  [signal]

void Gui::_init ( const std::string &  title  )  [protected]

Definition at line 14 of file Gui.cpp.

void Gui::_redrawAll (  )  [protected]

Definition at line 254 of file Gui.cpp.

Canvas * Gui::_getActiveCanvas ( const char *  text  )  [protected]

Definition at line 269 of file Gui.cpp.


The documentation for this class was generated from the following files:

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6