SoftwareMouse Class Reference

#include <SoftwareMouse.h>

Inheritance diagram for SoftwareMouse:

GameStateI

List of all members.

Public Member Functions

virtual void draw (const unsigned state)

Static Public Member Functions

static SoftwareMouseinstance ()

Protected Attributes

GLTexture mouseTex_

Static Protected Attributes

static SoftwareMouseinstance_ = 0

Private Member Functions

 SoftwareMouse ()
virtual ~SoftwareMouse ()


Detailed Description

Definition at line 27 of file SoftwareMouse.h.


Constructor & Destructor Documentation

SoftwareMouse::SoftwareMouse (  )  [private]

Definition at line 41 of file SoftwareMouse.cpp.

SoftwareMouse::~SoftwareMouse (  )  [private, virtual]

Definition at line 46 of file SoftwareMouse.cpp.


Member Function Documentation

SoftwareMouse * SoftwareMouse::instance (  )  [static]

Definition at line 32 of file SoftwareMouse.cpp.

References instance_.

Referenced by ClientState::addStandardComponents(), and ClientState::setupGameState().

void SoftwareMouse::draw ( const unsigned  state  )  [virtual]

Reimplemented from GameStateI.

Definition at line 50 of file SoftwareMouse.cpp.

References GLState::BLEND_ON, GLTexture::create(), GLState::DEPTH_OFF, GLTexture::draw(), S3D::getDataFile(), ScorchedContext::getGameState(), GameState::getMouseX(), GameState::getMouseY(), GL_QUADS, glBegin(), glColor3f(), glEnd(), glPopMatrix(), glPushMatrix(), glScalef(), glTexCoord2f(), glTranslatef(), glVertex2f(), ScorchedClient::instance(), OptionsDisplay::instance(), ImageFactory::loadImageHandle(), mouseTex_, and GLState::TEXTURE_ON.


Member Data Documentation

SoftwareMouse * SoftwareMouse::instance_ = 0 [static, protected]

Definition at line 37 of file SoftwareMouse.h.

Referenced by instance().

GLTexture SoftwareMouse::mouseTex_ [protected]

Definition at line 38 of file SoftwareMouse.h.

Referenced by draw().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3