A character cursor
typedef struct Ph_character_cursor_data {
PhCursorDescription_t hdr;
PgColor_t color;
} PhCharacterCursorDescription_t;
The PhCharacterCursorDescription_t structure is used to define a character cursor.
It contains these members:
- hdr
- The structure header. This is a PhCursorDescription_t structure. You pass this instead of the PhBitmapCursorDescription_t in functions that have a cursor argument, such as PhInitDrag().
The hdr has these members:
- hdr.type -- one of the cursor types listed below.
- hdr.length -- must be equal to sizeof(PhCharacterCursorDescription_t).
- color
- A PgColor_t structure that describes the cursor color.
Cursor types:
- Ph_CURSOR_INHERIT -- The cursor type is inherited from the parent region.
- Ph_CURSOR_POINTER
--
- Ph_CURSOR_BIG_POINTER
--
- Ph_CURSOR_MOVE
--
- Ph_CURSOR_CROSSHAIR
--
- Ph_CURSOR_CLOCK,
Ph_CURSOR_WAIT
--
- Ph_CURSOR_NOINPUT,
Ph_CURSOR_DONT
--
- Ph_CURSOR_FINGER
--
- Ph_CURSOR_INSERT
--
- Ph_CURSOR_DRAG_VERTICAL,
Ph_CURSOR_DRAG_TOP,
Ph_CURSOR_DRAG_BOTTOM
--
- Ph_CURSOR_DRAG_HORIZONTAL,
Ph_CURSOR_DRAG_LEFT,
Ph_CURSOR_DRAG_RIGHT
--
- Ph_CURSOR_DRAG_BACKDIAG,
Ph_CURSOR_DRAG_TL,
Ph_CURSOR_DRAG_BR
--
- Ph_CURSOR_DRAG_FOREDIAG,
Ph_CURSOR_DRAG_TR,
Ph_CURSOR_DRAG_BL
--
- Ph_CURSOR_LONG_WAIT
--
- Ph_CURSOR_QUESTION_POINT
--
- Ph_CURSOR_PASTE
--
Photon
PhCursorDescription_t,
PgColor_t