VRS::Cursor Class Reference
A namespace wrapper for the
Cursor Shape enum values (for use like:
Cursor::Arrow).
More...
#include <vrs/sg/cursor.h>
List of all members.
|
Public Types |
| enum | Shape {
Arrow,
UpArrow,
Cross,
Wait,
TextCursor,
PointingHand,
Help,
UpAndDown,
LeftAndRight,
Move,
SplitVertical,
SplitHorizontal,
Forbidden,
Blank
} |
| | Standard mouse cursor shapes for use in a canvas. More...
|
Detailed Description
A namespace wrapper for the
Cursor Shape enum values (for use like:
Cursor::Arrow).
Member Enumeration Documentation
Standard mouse cursor shapes for use in a canvas.
These have to be mapped to the cursors used in the specific GUI toolkit, eg. Qt or Glut. Note that the shape of the cursor then depends on that toolkit and that they might look quite different, some even do not have a similar representation in that toolkit at all. In that case the standard arrow cursor is used as fallback. Those that should be available everywhere are marked with [safe].
- Enumerator:
-
| Arrow |
Standard arrow cursor [safe] |
| UpArrow |
Simple arrow pointing upwards |
| Cross |
Crosshair [safe] |
| Wait |
Means the application is busy and the user has to wait. Typically an hourglass or a watch. [safe] |
| TextCursor |
Text-Cursor (aka I-Beam), looks like an I. [safe] |
| PointingHand |
A pointing hand [safe] |
| Help |
Question mark, typically with arrow (meaning "whats this?") [safe] |
| UpAndDown |
Bidirectional arrows, up and down, typically used for vertical resizing. [safe] |
| LeftAndRight |
Bidirectional arrows, left and right, typically used for horizontal resizing. [safe] |
| Move |
Arrows in all four directions, indicating moveability |
| SplitVertical |
Arrows up and down, with a "split" in the middle |
| SplitHorizontal |
Arrows left and right, with a "split" in the middle |
| Forbidden |
Means the user cannot drop something here or that no mouse interaction is currently possible. |
| Blank |
Invisible cursor (= cursor turned off) [safe] |
The documentation for this class was generated from the following file: