#include <MercuryInput.h>
Inheritance diagram for CursorDevice:
Public Member Functions | |
CursorDevice () | |
virtual | ~CursorDevice () |
virtual void | GetPosition (int &x, int &y)=0 |
virtual void | Update ()=0 |
Static Public Member Functions | |
static void | UpdateFocus (const MString &message, void *data, void *info) |
Protected Attributes | |
int | m_x |
int | m_y |
int | m_Xoff |
int | m_Yoff |
bool | m_bSubscribed |
Static Protected Attributes | |
static bool | m_bHasFocus |
Definition at line 61 of file MercuryInput.h.
CursorDevice::CursorDevice | ( | ) |
Definition at line 270 of file MercuryInput.cpp.
virtual CursorDevice::~CursorDevice | ( | ) | [inline, virtual] |
Definition at line 65 of file MercuryInput.h.
virtual void CursorDevice::GetPosition | ( | int & | x, | |
int & | y | |||
) | [pure virtual] |
Implemented in SimPadMouse, FBMouse, SDLMouse, and Win32Mouse.
virtual void CursorDevice::Update | ( | ) | [pure virtual] |
Implemented in SimPadMouse, FBMouse, SDLMouse, and Win32Mouse.
void CursorDevice::UpdateFocus | ( | const MString & | message, | |
void * | data, | |||
void * | info | |||
) | [static] |
Definition at line 279 of file MercuryInput.cpp.
int CursorDevice::m_x [protected] |
int CursorDevice::m_y [protected] |
int CursorDevice::m_Xoff [protected] |
Definition at line 72 of file MercuryInput.h.
int CursorDevice::m_Yoff [protected] |
Definition at line 72 of file MercuryInput.h.
bool CursorDevice::m_bHasFocus [static, protected] |
bool CursorDevice::m_bSubscribed [protected] |