Skip to Main Content
Volume 7B: XView Reference Manual
book

Volume 7B: XView Reference Manual

by Dan Heller
September 1991
Intermediate to advanced content levelIntermediate to advanced
311 pages
7h 17m
English
O'Reilly Media, Inc.
Content preview from Volume 7B: XView Reference Manual
CURSOR_SRC_CHAR
Specifies the index into the shape font. Predefined shapes are in <xview/cursor.h>.
Argument: unsigned int
Default: -1
Procs: create, get, set
Objects: Xv_Cursor
Usage:
xv_set(cursor,
CURSOR_SRC_CHAR, OLC_BASIC_PTR,
CURSOR_MASK_CHAR, OLC_BASIC_MASK_PTR,
NULL);
See Also: 13.2,
CURSOR_MASK_CHAR
CURSOR_STRING
Creates a text drag and drop cursor. The value of the attribute is the string which is to be displayed in-
side the “flying punch card.” If the string exceeds 3 characters, then only the first 3 characters are
displayed, and a “More arrow” is shown within the cursor. CURSOR_STRING is mutually exclusive
of
CURSOR_IMAGE, CURSOR_SRC_CHAR, and CURSOR_MASK_CHAR. The string is not copied. Once the
drag and drop operation is complete, the text cursor objects used in the operation must be destroyed.
Argument: char *
Default: None
Procs: create,get
Objects: Cursor
See Also: 13.5,
CURSOR_DRAG_STATE, CURSOR_DRAG_TYPE
CURSOR_XHOT
Specifies the x coordinate of the hotspot. Its value cannot be negative.
Argument: int
Default: 0
Procs: create, get, set
Objects: Cursor
See Also: 13.3
CURSOR_YHOT
Specifies the y coordinate of the hotspot. Its value cannot be negative.
Argument: int
Default: 0
Procs: create, get, set
Objects: Cursor
See Also: 13.3
DND_ACCEPT_CURSOR
During a drag and drop operation, this defines the mouse cursor that is used when the cursor is over
an acceptable drop-site.
Argument: Xv_cursor
Default:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gestion des couleurs pas à pas

Gestion des couleurs pas à pas

Jean Delmas
1,000 Garment Graphics

1,000 Garment Graphics

Jeffrey Everett

Publisher Resources

ISBN: 9780937175880