FreeBASIC
0.91.0
|
Go to the source code of this file.
Data Structures | |
struct | FBCONSOLE |
Macros | |
#define | INIT_CONSOLE 1 |
#define | INIT_X11 2 |
#define | TERM_GENERIC 0 |
#define | TERM_XTERM 1 |
#define | TERM_ETERM 2 |
#define | SEQ_LOCATE 0 /* "cm" - move cursor */ |
#define | SEQ_HOME 1 /* "ho" - home cursor */ |
#define | SEQ_SCROLL_REGION 2 /* "cs" - set scrolling region */ |
#define | SEQ_CLS 3 /* "cl" - clear whole screen */ |
#define | SEQ_CLEOL 4 /* "ce" - clear until end of line */ |
#define | SEQ_WINDOW_SIZE 5 /* "WS" - set terminal window size */ |
#define | SEQ_BEEP 6 /* "bl" - beep */ |
#define | SEQ_FG_COLOR 7 /* "AF" - set foreground color */ |
#define | SEQ_BG_COLOR 8 /* "AB" - set background color */ |
#define | SEQ_RESET_COLOR 9 /* "me" - turn off all attributes */ |
#define | SEQ_BRIGHT_COLOR 10 /* "md" - turn on bold (bright) attribute */ |
#define | SEQ_SCROLL 11 /* "SF" - scroll forward */ |
#define | SEQ_SHOW_CURSOR 12 /* "ve" - make cursor visible */ |
#define | SEQ_HIDE_CURSOR 13 /* "vi" - make cursor invisible */ |
#define | SEQ_DEL_CHAR 14 /* "dc" - delete character at cursor position */ |
#define | SEQ_INIT_KEYPAD 15 /* "ks" - enable keypad keys */ |
#define | SEQ_EXIT_KEYPAD 16 /* "ke" - disable keypad keys */ |
#define | SEQ_MAX 17 |
#define | SEQ_EXTRA 100 |
#define | SEQ_SET_COLOR_EX 107 /* xxxx - extended set color */ |
Typedefs | |
typedef struct FBCONSOLE | FBCONSOLE |
Functions | |
void | fb_hRecheckConsoleSize (void) |
int | fb_hTermOut (int code, int param1, int param2) |
void | fb_hAddCh (int k) |
int | fb_hGetCh (int remove) |
int | fb_hXTermInitFocus (void) |
void | fb_hXTermExitFocus (void) |
int | fb_hXTermHasFocus (void) |
int | fb_hConsoleGfxMode (void(*gfx_exit)(void), void(*save)(void), void(*restore)(void), void(*key_handler)(int, int, int, int)) |
int | fb_hInitConsole (void) |
void | fb_hExitConsole (void) |
void | fb_hStartBgThread (void) |
Variables | |
FBCONSOLE | __fb_con |
#define INIT_CONSOLE 1 |
Definition at line 1 of file fb_private_console.h.
#define INIT_X11 2 |
Definition at line 2 of file fb_private_console.h.
#define SEQ_BEEP 6 /* "bl" - beep */ |
Definition at line 14 of file fb_private_console.h.
#define SEQ_BG_COLOR 8 /* "AB" - set background color */ |
Definition at line 16 of file fb_private_console.h.
#define SEQ_BRIGHT_COLOR 10 /* "md" - turn on bold (bright) attribute */ |
Definition at line 18 of file fb_private_console.h.
#define SEQ_CLEOL 4 /* "ce" - clear until end of line */ |
Definition at line 12 of file fb_private_console.h.
#define SEQ_CLS 3 /* "cl" - clear whole screen */ |
Definition at line 11 of file fb_private_console.h.
#define SEQ_DEL_CHAR 14 /* "dc" - delete character at cursor position */ |
Definition at line 22 of file fb_private_console.h.
#define SEQ_EXIT_KEYPAD 16 /* "ke" - disable keypad keys */ |
Definition at line 24 of file fb_private_console.h.
#define SEQ_EXTRA 100 |
Definition at line 26 of file fb_private_console.h.
#define SEQ_FG_COLOR 7 /* "AF" - set foreground color */ |
Definition at line 15 of file fb_private_console.h.
#define SEQ_HIDE_CURSOR 13 /* "vi" - make cursor invisible */ |
Definition at line 21 of file fb_private_console.h.
#define SEQ_HOME 1 /* "ho" - home cursor */ |
Definition at line 9 of file fb_private_console.h.
#define SEQ_INIT_KEYPAD 15 /* "ks" - enable keypad keys */ |
Definition at line 23 of file fb_private_console.h.
#define SEQ_LOCATE 0 /* "cm" - move cursor */ |
Definition at line 8 of file fb_private_console.h.
#define SEQ_MAX 17 |
Definition at line 25 of file fb_private_console.h.
#define SEQ_RESET_COLOR 9 /* "me" - turn off all attributes */ |
Definition at line 17 of file fb_private_console.h.
#define SEQ_SCROLL 11 /* "SF" - scroll forward */ |
Definition at line 19 of file fb_private_console.h.
#define SEQ_SCROLL_REGION 2 /* "cs" - set scrolling region */ |
Definition at line 10 of file fb_private_console.h.
#define SEQ_SET_COLOR_EX 107 /* xxxx - extended set color */ |
Definition at line 36 of file fb_private_console.h.
#define SEQ_SHOW_CURSOR 12 /* "ve" - make cursor visible */ |
Definition at line 20 of file fb_private_console.h.
#define SEQ_WINDOW_SIZE 5 /* "WS" - set terminal window size */ |
Definition at line 13 of file fb_private_console.h.
#define TERM_ETERM 2 |
Definition at line 6 of file fb_private_console.h.
#define TERM_GENERIC 0 |
Definition at line 4 of file fb_private_console.h.
#define TERM_XTERM 1 |
Definition at line 5 of file fb_private_console.h.
void fb_hAddCh | ( | int | k) |
int fb_hConsoleGfxMode | ( | void(*)(void) | gfx_exit, |
void(*)(void) | save, | ||
void(*)(void) | restore, | ||
void(*)(int, int, int, int) | key_handler | ||
) |
Definition at line 336 of file io_multikey.c.
void fb_hExitConsole | ( | void | ) |
int fb_hGetCh | ( | int | remove) |
Definition at line 208 of file io_inkey.c.
int fb_hInitConsole | ( | void | ) |
void fb_hRecheckConsoleSize | ( | void | ) |
void fb_hStartBgThread | ( | void | ) |
int fb_hTermOut | ( | int | code, |
int | param1, | ||
int | param2 | ||
) |
void fb_hXTermExitFocus | ( | void | ) |
Definition at line 49 of file io_xfocus.c.
int fb_hXTermHasFocus | ( | void | ) |
int fb_hXTermInitFocus | ( | void | ) |
Definition at line 26 of file io_xfocus.c.