Stg::StgWorldGui Class Reference

#include <stage.hh>

Inherits Stg::StgWorld.

List of all members.


Detailed Description

Extends StgWorld to present an OpenGL-based GUI to the user

Public Member Functions

void DrawFloor ()
void DrawTree (bool leaves)
virtual void Load (const char *filename)
virtual void PopColor ()
virtual void PushColor (double r, double g, double b, double a)
virtual void PushColor (stg_color_t col)
virtual bool RealTimeUpdate ()
virtual void Save ()
 StgWorldGui (int W, int H, const char *L=0)
virtual bool Update ()
 ~StgWorldGui ()

Static Public Member Functions

static void SaveCallback (Fl_Widget *wid, StgWorldGui *world)

Friends

class StgCanvas

Constructor & Destructor Documentation

StgWorldGui::~StgWorldGui (  ) 


Member Function Documentation

void StgWorldGui::DrawFloor (  ) 

void StgWorldGui::DrawTree ( bool  leaves  ) 

virtual void Stg::StgWorldGui::PopColor (  )  [inline, virtual]

Reimplemented from Stg::StgWorld.

References Stg::StgCanvas::PopColor().

Referenced by DrawFloor().

virtual void Stg::StgWorldGui::PushColor ( double  r,
double  g,
double  b,
double  a 
) [inline, virtual]

Reimplemented from Stg::StgWorld.

References Stg::StgCanvas::PushColor().

virtual void Stg::StgWorldGui::PushColor ( stg_color_t  col  )  [inline, virtual]

Reimplemented from Stg::StgWorld.

References Stg::StgCanvas::PushColor().

Referenced by DrawFloor().

bool StgWorldGui::RealTimeUpdate ( void   )  [virtual]

void StgWorldGui::SaveCallback ( Fl_Widget *  wid,
StgWorldGui world 
) [static]

References Save().

Referenced by StgWorldGui().

bool StgWorldGui::Update ( void   )  [virtual]

Reimplemented from Stg::StgWorld.

References Stg::StgWorld::Update().

Referenced by RealTimeUpdate().


Friends And Related Function Documentation

friend class StgCanvas [friend]

Reimplemented from Stg::StgAncestor.

Referenced by StgWorldGui().


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

Generated on Thu Jan 7 17:42:17 2010 for Stage by  doxygen 1.5.5