Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PhCharacterCursorDescription_t

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PhCharacterCursorDescription_t

[Previous] [Contents] [Index] [Next]

PhCharacterCursorDescription_t

A character cursor

Synopsis:

typedef struct Ph_character_cursor_data {
        PhCursorDescription_t hdr;
        PgColor_t color;
} PhCharacterCursorDescription_t;

Description:

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 -- pointer
  • Ph_CURSOR_BIG_POINTER -- big pointer
  • Ph_CURSOR_MOVE -- move
  • Ph_CURSOR_CROSSHAIR -- crosshair
  • Ph_CURSOR_CLOCK, Ph_CURSOR_WAIT -- clock
  • Ph_CURSOR_NOINPUT, Ph_CURSOR_DONT -- no input
  • Ph_CURSOR_FINGER -- finger
  • Ph_CURSOR_INSERT -- insert
  • Ph_CURSOR_DRAG_VERTICAL, Ph_CURSOR_DRAG_TOP, Ph_CURSOR_DRAG_BOTTOM -- drag vertical
  • Ph_CURSOR_DRAG_HORIZONTAL, Ph_CURSOR_DRAG_LEFT, Ph_CURSOR_DRAG_RIGHT -- drag horizontal
  • Ph_CURSOR_DRAG_BACKDIAG, Ph_CURSOR_DRAG_TL, Ph_CURSOR_DRAG_BR -- drag back diagonal
  • Ph_CURSOR_DRAG_FOREDIAG, Ph_CURSOR_DRAG_TR, Ph_CURSOR_DRAG_BL -- drag forward diagonal
  • Ph_CURSOR_LONG_WAIT -- long wait
  • Ph_CURSOR_QUESTION_POINT -- question mark
  • Ph_CURSOR_PASTE -- paste

Classification:

Photon

See also:

PhCursorDescription_t, PgColor_t


[Previous] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026