VIOCURSORINFO: Difference between revisions
Appearance
New |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Text mode cursor | |||
=== Type === | === Type === | ||
[[USHORT]] yStart | |||
[[ | USHORT cEnd | ||
USHORT cx | |||
USHORT attr | |||
==== C Declaration Method ==== | ==== C Declaration Method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === 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. | |||
[[Category:Data type]] | |||
Latest revision as of 01:19, 8 September 2018
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.