CursorDevice Class Reference

[internal] Cursor devce defintion More...

#include <MercuryInput.h>

Inheritance diagram for CursorDevice:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

[internal] Cursor devce defintion

Definition at line 61 of file MercuryInput.h.


Constructor & Destructor Documentation

CursorDevice::CursorDevice (  ) 

Definition at line 270 of file MercuryInput.cpp.

virtual CursorDevice::~CursorDevice (  )  [inline, virtual]

Definition at line 65 of file MercuryInput.h.


Member Function Documentation

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.


Member Data Documentation

int CursorDevice::m_x [protected]

Reimplemented in SimPadMouse, and Win32Mouse.

Definition at line 71 of file MercuryInput.h.

int CursorDevice::m_y [protected]

Reimplemented in SimPadMouse, and Win32Mouse.

Definition at line 71 of file MercuryInput.h.

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]

Reimplemented in Win32Mouse.

Definition at line 73 of file MercuryInput.h.

bool CursorDevice::m_bSubscribed [protected]

Reimplemented in Win32Mouse.

Definition at line 74 of file MercuryInput.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo