Public Member Functions | Public Attributes

GHudElement Class Reference

#include <GHudElement.h>

Inheritance diagram for GHudElement:
GGraphicsObject GObject

List of all members.

Public Member Functions

 GHudElement (std::string name, float x, float y, float width, float height, int texId, int alphaId)
 ~GHudElement (void)
int SetupVBO (void)
int Draw (double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS)
int DrawSprites (double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS)
std::string GetName (void)
int ToggleActive (void)
void SetActive (bool)
void SetTemporary (double time, float lifetime)

Public Attributes

float x
float y
float height
float width
int TextureId
int AlphaId
double ActivationTime
double LifeTime
bool active
std::string name
float vertices [8]
float texcoords [8]
unsigned short indices [6]
unsigned int vboId [2]

Constructor & Destructor Documentation

GHudElement::GHudElement ( std::string  name,
float  x,
float  y,
float  width,
float  height,
int  texId,
int  alphaId 
)
GHudElement::~GHudElement ( void   ) 

Member Function Documentation

int GHudElement::Draw ( double  time,
double  dtime,
GMatrix16 viewmatrix,
GMatrix16 worldmatrix,
int  FLAGS 
) [virtual]

Implements GGraphicsObject.

int GHudElement::DrawSprites ( double  time,
double  dtime,
GMatrix16 viewmatrix,
GMatrix16 worldmatrix,
int  FLAGS 
) [virtual]

Implements GGraphicsObject.

std::string GHudElement::GetName ( void   ) 
void GHudElement::SetActive ( bool  _a  ) 
void GHudElement::SetTemporary ( double  time,
float  lifetime 
)
int GHudElement::SetupVBO ( void   ) 
int GHudElement::ToggleActive ( void   ) 

Member Data Documentation

unsigned short GHudElement::indices[6]
std::string GHudElement::name
unsigned int GHudElement::vboId[2]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines