VIOCURSORINFO: Difference between revisions
Appearance
No edit summary |
m Ak120 moved page OS2 API:DataType:VIOCURSORINFO to VIOCURSORINFO |
(No difference)
|
Revision as of 20:21, 28 November 2016
VIOCURSORINFO
Text mode cursor
Type
USHORT yStart USHORT cEnd USHORT cx USHORT attr
C Declaration Method
typedef struct
Fields
- yStart
- Cursor start line.
- Horizontal scan line in the character cell that marks the top line of the cursor. If the character cell has n scan lines, 0 is the top scan line of the character cell and (n-1) is the bottom scan line.
- cEnd
- Cursor end line.
- Horizontal scan line in the character cell that marks the bottom line of the cursor. Scan lines within a character cell are numbered as defined in startline.
- cx
- Cursor width.
- Width of the cursor. In text modes, cursorwidth is the number of columns. The maximum number supported by the OS/2 base video subsystem is 1. In graphics mode, cursorwidth is the number of pels.
- attr
- Attribute.
- A value of -1 denotes a hidden cursor; all other values in text mode denote normal cursor and in graphics mode denote color attribute.