Class that abstractize the input/output operations with the terminal
Class that abstractize the input/output operations with the terminal
__frame[0] - the upper-left corner character
__frame[1] - the upper horizontal line character
__frame[2] - the upper-right corner character
__frame[3] - the left vertical line character
__frame[4] - the right vertical line character
__frame[5] - the lower-left corner character
__frame[6] - the lower horizontal line character
__frame[7] - the lower-right corner character
Predefined values:
FS_SINGLEFRAME - single-line frame
FS_DOUBLEFRAME - double-line frame
FS_FULLFRAME - full-filled frame
- if TI_BLOCKING_INPUT is set, the function waits until an event
coming from keyboard or mouse arrise, and then returns it
- if TI_BLOCKING_INPUT is not set, the function returns the first
available event coming from keyboard or mouse, if any. If nothing is
available, the function returns zero
TI_BLOCKING_INPUT indicates that GetEvent waits until an
event from keyboard or mouse arrise
TI_USE_FUNCTION_KEYS indicates that pressing the function keys will
generate a keyboard event; this flag should normally be set
TI_INSERT_MODE indicates that pressing a letter inserts it into
the text being edited
TO_HAVE_COLORS indicates that the terminal can display colors
TO_CURSOR_VISIBLE indicates that the cursor is visible
TO_CURSOR_VERY_VISIBLE indicates that the cursor is very visible
TM_IS_PC_CONSOLE indicates that the terminal is a PC console
TM_CAN_RESIZE indicates that the terminal window can be resized
TM_HAVE_MOUSE indicates that the terminal have mouse support
TM_HAVE_GPM_MOUSE indicates that the GPM mouse support is activated
TA_UNDERLINE underlining
TA_REVERSE reverse video
TA_BLINK blinking
TA_BOLD extra bright
TA_HALF_BRIGHT half bright
__f - desired foreground color
__b - desired background color
__f - desired foreground color
__b - desired background color
__frame - margins type, with the following contents:
__c - desired filling character
__Len - object's palette length
__Index - color position into the palette (1 = first)
__buff - pointer to the beggining of memory area
__c - character to output
__buff - pointer to the beggining of memory area
__b - desired background color
__BoolValue - set bit if non-zero, otherwise clear it
__BoolValue - set bit if non-zero, otherwise clear it
__BoolValue - set bit if non-zero, otherwise clear it