| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <ICursorControl.h>
Inheritance diagram for irr::gui::ICursorControl:

Public Member Functions | |
| virtual core::position2d< s32 > | getPosition ()=0 |
| Returns the current position of the mouse cursor. | |
| virtual core::position2d< f32 > | getRelativePosition ()=0 |
| Returns the current position of the mouse cursor. | |
| virtual bool | isVisible () const =0 |
| Returns if the cursor is currently visible. | |
| virtual void | setPosition (s32 x, s32 y)=0 |
| Sets the new position of the cursor. | |
| virtual void | setPosition (const core::position2d< s32 > &pos)=0 |
| Sets the new position of the cursor. | |
| virtual void | setPosition (f32 x, f32 y)=0 |
| Sets the new position of the cursor. | |
| virtual void | setPosition (const core::position2d< f32 > &pos)=0 |
| Sets the new position of the cursor. | |
| virtual void | setReferenceRect (core::rect< s32 > *rect=0)=0 |
| Sets an absolute reference rect for setting and retrieving the cursor position. | |
| virtual void | setVisible (bool visible)=0 |
| Changes the visible state of the mouse cursor. | |
Definition at line 18 of file ICursorControl.h.
|
|
Returns the current position of the mouse cursor.
|
|
|
Returns the current position of the mouse cursor.
|
|
|
Returns if the cursor is currently visible.
|
|
||||||||||||
|
Sets the new position of the cursor.
|
|
|
Sets the new position of the cursor.
|
|
||||||||||||
|
Sets the new position of the cursor. The position must be between (0.0f, 0.0f) and (1.0f, 1.0f), where (0.0f, 0.0f) is the top left corner and (1.0f, 1.0f) is the bottom right corner of the render window.
|
|
|
Sets the new position of the cursor. The position must be between (0.0f, 0.0f) and (1.0f, 1.0f), where (0.0f, 0.0f) is the top left corner and (1.0f, 1.0f) is the bottom right corner of the render window.
|
|
|
Sets an absolute reference rect for setting and retrieving the cursor position. If this rect is set, the cursor position is not being calculated relative to the rendering window but to this rect. You can set the rect pointer to 0 to disable this feature again. This feature is useful when rendering into parts of foreign windows for example in an editor.
|
|
|
Changes the visible state of the mouse cursor.
|
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Sep 21 08:57:51 2008 by Doxygen
(1.4.2) |