Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Platform_Win32_Input_MouseDevice Class Reference

Inheritance diagram for Platform_Win32_Input_MouseDevice:

Platform_Input_MouseDevice

List of all members.


Public Member Functions

 Platform_Win32_Input_MouseDevice (struct HWND__ *windowHandle)
virtual ~Platform_Win32_Input_MouseDevice ()
virtual void GetPosition (float &x, float &y) const
virtual bool IsLeftButtonDown () const
virtual bool IsRightButtonDown () const

Detailed Description

Author:
Mattias Gustavsson

Definition at line 21 of file Platform_Win32_Input_MouseDevice.h.


Constructor & Destructor Documentation

Platform_Win32_Input_MouseDevice::Platform_Win32_Input_MouseDevice ( struct HWND__ *  windowHandle  ) 

Definition at line 14 of file Platform_Win32_Input_MouseDevice.cpp.

Platform_Win32_Input_MouseDevice::~Platform_Win32_Input_MouseDevice (  )  [virtual]

Definition at line 22 of file Platform_Win32_Input_MouseDevice.cpp.


Member Function Documentation

void Platform_Win32_Input_MouseDevice::GetPosition ( float &  x,
float &  y 
) const [virtual]

Retrieves the position of the mouse pointer. This position is in coordinates of the window, and may need to be transformed to correspond to the area of the current back buffer being presented using Platform_Screen.

Implements Platform_Input_MouseDevice.

Definition at line 30 of file Platform_Win32_Input_MouseDevice.cpp.

bool Platform_Win32_Input_MouseDevice::IsLeftButtonDown (  )  const [virtual]

Retrieves the status of the left mouse button

Returns:
True if the left mouse button is held down, false if it isn't

Implements Platform_Input_MouseDevice.

Definition at line 50 of file Platform_Win32_Input_MouseDevice.cpp.

bool Platform_Win32_Input_MouseDevice::IsRightButtonDown (  )  const [virtual]

Retrieves the status of the right mouse button

Returns:
True if the right mouse button is held down, false if it isn't

Implements Platform_Input_MouseDevice.

Definition at line 63 of file Platform_Win32_Input_MouseDevice.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.