Software mouse cursor. More...
#include <GUIFakeMouseCursor.h>
Public Member Functions | |
| CGUIFakeMouseCursor () | |
| Standard constructor. | |
| ~CGUIFakeMouseCursor () | |
| Standard destructor. | |
| virtual eC_Bool | DoDraw () |
| void | SetCursorImage (const ImageResource_t &eCursorImage) |
| void | Update () |
| update position and invalidate | |
Software mouse cursor.
The CGUIFakeMouseCursor class emulates a mouse cursor by software. To use it, call CreateInstance. If the mouse cursor isn't needed anymore call DeleteInstance.
The image IMG_STDCTRL_FAKE_MOUSE_CURSOR can be used to supply an image used as mouse cursor. Otherwise a built-in cursor will be used.
|
virtual |
Draws the mouse cursor
| void CGUIFakeMouseCursor::SetCursorImage | ( | const ImageResource_t & | eCursorImage | ) |
Sets the image which is used to draw the mouse-cursor
| eCursorImage | image to be used |