#include <SoftwareMouse.h>

Public Member Functions | |
| virtual void | draw (const unsigned state) |
Static Public Member Functions | |
| static SoftwareMouse * | instance () |
Protected Attributes | |
| GLTexture | mouseTex_ |
Static Protected Attributes | |
| static SoftwareMouse * | instance_ = 0 |
Private Member Functions | |
| SoftwareMouse () | |
| virtual | ~SoftwareMouse () |
Definition at line 27 of file SoftwareMouse.h.
| SoftwareMouse::SoftwareMouse | ( | ) | [private] |
Definition at line 41 of file SoftwareMouse.cpp.
| SoftwareMouse::~SoftwareMouse | ( | ) | [private, virtual] |
Definition at line 46 of file SoftwareMouse.cpp.
| 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.
SoftwareMouse * SoftwareMouse::instance_ = 0 [static, protected] |
GLTexture SoftwareMouse::mouseTex_ [protected] |
1.5.3