CoreGraphics::MousePointer Class Reference
#include <mousepointer.h>
Detailed Description
Contains information how to render a mouse pointer through the CoreGraphics::MouseRenderer class. Please note not all parameters are supported on all platforms (like the orientation vector).The pointer works in screen space coordinates, where (0,0) is the middle of the screen, and -1 is top/left.
(C) 2009 Radon Labs GmbH
Public Member Functions | |
MousePointer () | |
constructor | |
void | SetResourceId (const Resources::ResourceId &texResId) |
set mouse pointer texture resource id | |
const Resources::ResourceId & | GetResourceId () const |
get mouse pointer texture resource id | |
void | SetPosition (const Math::point &pos) |
set position of the mouse pointer in screen coordinates | |
const Math::point & | GetPosition () const |
get position of the mouse pointer in screen coordinates | |
void | SetSize (const Math::vector &size) |
set size in screen coordinates (screen size is 2.0) | |
const Math::vector & | GetSize () const |
get size in screen coordinates | |
void | SetOrientation (const Math::vector &orient) |
set orienation of the mouse pointer as horizon vector (1,0) is horizontal | |
const Math::vector & | GetOrientation () const |
get orientation of the mouse pointer as horizon vector | |
void | SetHotspot (const Math::point &hotSpot) |
set hot spot of the mouse vector (-1,-1 is top/left, 1,1 is bottom/right) | |
const Math::point & | GetHotspot () const |
get hot spot of the mouse vector | |
void | SetAlpha (Math::scalar alpha) |
set alpha value | |
Math::scalar | GetAlpha () const |
get hot spot of the mouse vector |