Jump to content

VIOCURSORINFO: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== VIOCURSORINFO ==
Text mode cursor
 
Text mode cursor.


=== Type ===
=== Type ===
 
  [[USHORT]]  yStart
  [[OS2 API:DataType:USHORT|USHORT]]  yStart
  USHORT  cEnd
  [[OS2 API:DataType:USHORT|USHORT]] cEnd
  USHORT  cx
  [[OS2 API:DataType:USHORT|USHORT]] cx
  USHORT  attr
  [[OS2 API:DataType:USHORT|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.


yStart  Cursor start line.
[[Category:Data type]]
        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.

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.