FDOSTUI
FreeDOS Text User Interface
|
manipulation of the screens cursor More...
Go to the source code of this file.
Enumerations | |
enum | cursor_features { CURSOR_CAN_HIDE = (1 << 0) } |
cursor features More... | |
enum | cursor_mode { CURSOR_OVERWRITE =0, CURSOR_INSERT =1 } |
mode of cursor such as overwrite or insert More... | |
Functions | |
void | cursor_set_position (unsigned char const i_row, unsigned char const i_column) |
set cursor position More... | |
void | cursor_hide () |
hide the cursor More... | |
void | cursor_underline () |
sets the cursor shape to underline More... | |
void | cursor_block () |
sets the cursor shape to a solid block More... | |
void | cursor_set_type (char const i_scan_start, char const i_scan_end) |
set the cursor type/shape More... | |
void | cursor_get_position (char *const o_scan_start, char *const o_scan_end, char *const o_row, char *const o_column) |
get cursor position and type/shape More... | |
Variables | |
unsigned int | _cursor_features |
global to hold the cursor features | |
enum cursor_mode | _cursor_mode |
global to hold the mode of the cursor | |
manipulation of the screens cursor
enum cursor_features |
enum cursor_mode |
void cursor_block | ( | ) |
sets the cursor shape to a solid block
void cursor_get_position | ( | char *const | o_scan_start, |
char *const | o_scan_end, | ||
char *const | o_row, | ||
char *const | o_column | ||
) |
get cursor position and type/shape
[out] | o_scan_start | starting line of cursor |
[out] | o_scan_end | ending line of cursor |
[out] | o_row | row of current cursor position |
[out] | o_column | column of current cursor position |
void cursor_hide | ( | ) |
hide the cursor
void cursor_set_position | ( | unsigned char const | i_row, |
unsigned char const | i_column | ||
) |
set cursor position
[in] | i_row | row position |
[in] | i_column | column position |
void cursor_set_type | ( | char const | i_scan_start, |
char const | i_scan_end | ||
) |
set the cursor type/shape
[in] | i_scan_start | starting line of cursor (0-7) |
[in] | i_scan_end | ending line of cursor (0-7) |
void cursor_underline | ( | ) |
sets the cursor shape to underline