Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Platform_NULL_Input Class Reference

Inheritance diagram for Platform_NULL_Input:

Platform_Input

List of all members.


Public Member Functions

 Platform_NULL_Input ()
 ~Platform_NULL_Input ()
virtual const
Platform_Input_KeyboardDevice
GetKeyboardDevice ()
virtual const
Platform_Input_MouseDevice
GetMouseDevice ()
virtual int CreateMouseCursor (int width, int height, int hotspotX, int hotspotY, unsigned short *colorData, unsigned char *alphaData)
virtual void SetMouseCursor (int handle)
virtual void SetDefaultMouseCursor ()

Detailed Description

Author:
Mattias Gustavsson

Definition at line 19 of file Platform_NULL_Input.h.


Constructor & Destructor Documentation

Platform_NULL_Input::Platform_NULL_Input (  ) 

Definition at line 10 of file Platform_NULL_Input.cpp.

Platform_NULL_Input::~Platform_NULL_Input (  ) 

Definition at line 19 of file Platform_NULL_Input.cpp.


Member Function Documentation

const Platform_Input_KeyboardDevice * Platform_NULL_Input::GetKeyboardDevice (  )  [virtual]

Retrieves the keyboard device instance. This pointer is owned and managed by Platform_Input, and should not be deleted by the caller.

Returns:
The keyboard device for the platform

Implements Platform_Input.

Definition at line 37 of file Platform_NULL_Input.cpp.

const Platform_Input_MouseDevice * Platform_NULL_Input::GetMouseDevice (  )  [virtual]

Retrieves the mouse device instance. This pointer is owned and managed by Platform_Input, and should not be deleted by the caller.

Returns:
The mouse device for the platform

Implements Platform_Input.

Definition at line 50 of file Platform_NULL_Input.cpp.

int Platform_NULL_Input::CreateMouseCursor ( int  width,
int  height,
int  hotspotX,
int  hotspotY,
unsigned short *  colorData,
unsigned char *  alphaData 
) [virtual]

Creates a system mouse cursor from the specified bitmap data. Different systems might support different number of colors and transparency, so it is not guaranteed that the cursor will look identical to to the specified bitmap data.

Returns:
A handle to the new cursor, to be used with SetMouseCursor or 0 if it couldn't be created

Implements Platform_Input.

Definition at line 63 of file Platform_NULL_Input.cpp.

void Platform_NULL_Input::SetMouseCursor ( int  handle  )  [virtual]

Tells the system to use the specified mouse cursor, created through a call to CreateMouseCursor. Can also be used to hide the mouse cursor, by passing a value of 0 for handle.

Implements Platform_Input.

Definition at line 71 of file Platform_NULL_Input.cpp.

void Platform_NULL_Input::SetDefaultMouseCursor (  )  [virtual]

Tells the system to use the default mouse cursor for the system (the standard arrow for windows)

Implements Platform_Input.

Definition at line 79 of file Platform_NULL_Input.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.