12 #if defined(__CURSES__) 33 #if defined(__CURSES__) 41 unsigned char const i_row,
42 unsigned char const i_column);
57 #if defined(__DOS__) && !defined(__CURSES__) 65 char const i_scan_start,
66 char const i_scan_end);
70 char*
const o_scan_start,
71 char*
const o_scan_end,
79 #pragma aux cursor_set_position =\ 86 #pragma aux cursor_set_type= \ 94 #pragma aux cursor_get_position=\ 101 "mov [byte ptr ebx], ch"\ 103 "mov [byte ptr ebx], cl"\ 104 "mov [byte ptr esi], dh"\ 105 "mov [byte ptr edi], dl"\ 107 parm [AX] [BX] [SI] [DI]; 111 #pragma aux cursor_get_position=\ 118 "mov [byte ptr bx], ch"\ 120 "mov [byte ptr bx], cl"\ 121 "mov [byte ptr ds:si], dh"\ 122 "mov [byte ptr ds:di], dl"\ 124 parm [AX] [BX] [SI] [DI]; 128 #define CURSOR_MASK_HIDE 0x20 130 #define cursor_hide() cursor_set_type(CURSOR_MASK_HIDE, 0x0) 132 #define cursor_underline() cursor_set_type(0x06, 0x07) 134 #define cursor_block() cursor_set_type(0x00, 0x07) cursor_mode
mode of cursor such as overwrite or insert
Definition: cursor.h:23
void cursor_block()
sets the cursor shape to a solid block
Definition: djgpp/cursor.c:60
cursor_features
cursor features
Definition: cursor.h:16
void cursor_underline()
sets the cursor shape to underline
Definition: djgpp/cursor.c:47
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
void cursor_hide()
hide the cursor
Definition: djgpp/cursor.c:34
void cursor_set_position(unsigned char const i_row, unsigned char const i_column)
set cursor position
Definition: djgpp/cursor.c:18
unsigned int _cursor_features
global to hold the cursor features
Definition: ncurses/cursor.c:17
enum cursor_mode _cursor_mode
global to hold the mode of the cursor
Definition: djgpp/cursor.c:15
void cursor_set_type(char const i_scan_start, char const i_scan_end)
set the cursor type/shape