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

InSpace::StatusBar Class Reference

#include <StatusBar.H>

Inherits InSpace::DrawObj.

List of all members.

Public Member Functions

 StatusBar (cXYpt screenLoc, const bool showFPS, const Color col=Color(1, 1, 0), const int font=0, float fontScaleFactor=0.025)
virtual ~StatusBar ()
void setMessage (str_ptr s)
void clearMessage ()
void draw ()

Protected Attributes

str_ptr _msg
XYpt _loc
bool _showfps
Color _col
int _font
float _scale


Constructor & Destructor Documentation

InSpace::StatusBar::StatusBar cXYpt  screenLoc,
const bool  showFPS,
const Color  col = Color(1,1,0),
const int  font = 0,
float  fontScaleFactor = 0.025
[inline]
 

virtual InSpace::StatusBar::~StatusBar  )  [inline, virtual]
 


Member Function Documentation

void InSpace::StatusBar::clearMessage  )  [inline]
 

void InSpace::StatusBar::draw  )  [inline, virtual]
 

This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function.

Reimplemented from InSpace::DrawObj.

void InSpace::StatusBar::setMessage str_ptr  s  )  [inline]
 


Member Data Documentation

Color InSpace::StatusBar::_col [protected]
 

int InSpace::StatusBar::_font [protected]
 

XYpt InSpace::StatusBar::_loc [protected]
 

str_ptr InSpace::StatusBar::_msg [protected]
 

float InSpace::StatusBar::_scale [protected]
 

Reimplemented from InSpace::DrawObj.

bool InSpace::StatusBar::_showfps [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Jul 8 15:19:31 2004 for inspace by doxygen 1.3.4