Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

HudOptions Class Reference

#include <HudOptions.h>

Inheritance diagram for HudOptions:

[legend]
Collaboration diagram for HudOptions:
[legend]
List of all members.

Public Methods

 HudOptions ()
virtual ~HudOptions ()
virtual void draw ()
void setOptions (vector< string > options)
int getSelection ()
void nextSelection ()
void previousSelection ()
void clearOptions ()
bool hasOptions ()

Protected Attributes

int _currentSelection
int _finalSelection
int _numberOfOptions
vector< GLfloat * > _coordinatesVec
vector< int > _widthVec
vector< int > _heightVec

Detailed Description

draw the options the user can selecte


Constructor & Destructor Documentation

HudOptions::HudOptions (    ) 
 

HudOptions::~HudOptions (    )  [virtual]
 


Member Function Documentation

void HudOptions::clearOptions (    ) 
 

void HudOptions::draw (    )  [virtual]
 

draw

Implements HudBase.

int HudOptions::getSelection (    ) 
 

get the option the user selected, (-1 = no selecting or esc)

bool HudOptions::hasOptions (    )  [inline]
 

void HudOptions::nextSelection (    ) 
 

void HudOptions::previousSelection (    ) 
 

void HudOptions::setOptions (  vector< string >    options ) 
 

set the options to draw


Member Data Documentation

vector< GLfloat * > HudOptions::_coordinatesVec [protected]
 

int HudOptions::_currentSelection [protected]
 

int HudOptions::_finalSelection [protected]
 

vector< int > HudOptions::_heightVec [protected]
 

int HudOptions::_numberOfOptions [protected]
 

vector< int > HudOptions::_widthVec [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:10 2004 for naturecalls by doxygen1.2.18