Jump to content

VIOCURSORINFO: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
No edit summary
Line 34: Line 34:
         A value of -1 denotes a hidden cursor; all other values in text mode
         A value of -1 denotes a hidden cursor; all other values in text mode
         denote normal cursor and in graphics mode denote color attribute.
         denote normal cursor and in graphics mode denote color attribute.
[[OS2_API | Back to OS/2 API]]
[[Category:The OS/2 API Project]]

Revision as of 21:32, 1 November 2011

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.


Back to OS/2 API