VCursor Class Reference
#include <vcursor.h>
Public Types | |
| enum | CursorType { CrossHair = 0 , ZoomPlus = 1 , ZoomMinus = 2 , NeedleArrow = 3 } |
Static Public Member Functions | |
| static TQCursor | createCursor (CursorType type) |
| static TQCursor | createCursor (const char *bitmap[], const char *mask[], int hotX=-1, int hotY=-1) |
| static TQCursor | crossHair () |
| static TQCursor | needleArrow () |
| static TQCursor | needleMoveArrow () |
| static TQCursor | horzMove () |
Detailed Description
A helper class for easily creating cursors from XPMs.
One can create a predefined unthemed cursor or create a cursor from two given XMPs, the cursor bitmap and the cursor mask.
Member Enumeration Documentation
◆ CursorType
| enum VCursor::CursorType |
Member Function Documentation
◆ createCursor() [1/2]
|
static |
Creates a cursor from two specified XPM images.
This is only a wrapper function for a TQCursor ctor.
Definition at line 95 of file vcursor.cpp.
◆ createCursor() [2/2]
|
static |
Creates a predefined cursor of the specified type.
- Parameters
-
type the requested cursor id
- Returns
- the predefined cursor
Definition at line 75 of file vcursor.cpp.
◆ crossHair()
|
static |
crosshair cursor
Definition at line 106 of file vcursor.cpp.
◆ horzMove()
|
static |
Definition at line 145 of file vcursor.cpp.
◆ needleArrow()
|
static |
needle arraow cursor
Definition at line 119 of file vcursor.cpp.
◆ needleMoveArrow()
|
static |
needle arrow with four way arrow
Definition at line 132 of file vcursor.cpp.
The documentation for this class was generated from the following files:
