#include <curses.h>
#include <panel.h>
#include "basetypes.h"
#include "error_tffc.h"
#include "input.h"
#include "inputw.h"
#include "labels.h"
#include "menurt.h"
#include "msgboxes.h"
#include "scroll.h"
#include "xmem.h"
Defines | |
#define | TFFC_VERSION "0.9.1" |
This is TFFC Version number. More... | |
#define | WIN_WIDTH(win) (win->_maxx) |
Return width size of window win. More... | |
#define | WIN_HEIGHT(win) (win->_maxy) |
Return height size of window win. More... | |
#define | WIN_XPOS(win) (win->_begx) |
Return where window win begin in ``X'' position on screen. More... | |
#define | WIN_YPOS(win) (win->_begy) |
Return where window win begin in ``Y'' position on screen. More... | |
#define | ESC_KEY 27 |
This is alias for ESC key. More... | |
#define | BACKSPACE_KEY 8 |
This is alias for BackSpace key ('\b'). More... | |
#define | TAB_KEY 9 |
This is alias for Tab key ('\t'). More... | |
#define | REDRAW_KEY 12 |
This is alias for NoN key ('\f'). More... | |
#define | ENTER_KEY 13 |
This is alias for Enter key ('\r'). More... | |
#define | RETURN ENTER_KEY |
#define | CTRL_F 6 |
This is alias for 'Ctrl' + 'f' key. More... | |
#define | CTRL_P 16 |
This is alias for 'Ctrl' + 'p' key. More... | |
#define | CTRL_T 20 |
This is alias for 'Ctrl' + 't' key. More... | |
#define | CTRL_V 22 |
This is alias for 'Ctrl' + 'v' key. More... | |
#define | CTRL_X 24 |
This is alias for 'Ctrl' + 'x' key. More... | |
#define | CTRL_Y 25 |
This is alias for 'Ctrl' + 'y' key. More... | |
#define | _TFFC_USE_LDAT_ |
This is definition for using `ldat` struct in ``window_to_file'' routines. More... | |
#define | create_box_win(win, panel, lines, cols, y_pos, x_pos, box_color_pair, color_pair, use_centr) |
#define | create_nobox_win(win, panel, lines, cols, y_pos, x_pos, box_color_pair, color_pair, use_centr) |
#define | del_box_win(win, panel) {del_panel (panel); delwin (win); } |
Functions | |
void | draw_desktop (void) |
draw_desktop. More... | |
void | colorwin (WINDOW *win) |
colorwin. More... | |
void | coloreol (void) |
coloreol. More... | |
void | standardcolors (int color) |
standartcolors. More... | |
uchar | chtype_to_ascii (chtype ch_type) |
void | window_to_file (WINDOW *win, char *file) |
window_to_file. More... | |
void | start_tffc (int col, int min_lines, int min_cols) |
start_tffc. More... | |
void | hide_tffc (void) |
hide_tffc. More... | |
void | unhide_tffc (int drawdesktop) |
unhide_tffc. More... | |
void | exit_tffc (void) |
exit_tffc. More... | |
int | doupdate_t (void) |
doupdate_t. More... | |
void | update_panels_t (void) |
update_panels_t. More... | |
int | wgetch_t (WINDOW *win) |
wgetch_t. More... | |
void | refresh_screen (void) |
refresh_screen. More... | |
void | stdwinset (WINDOW *win) |
stdwinset. More... | |
char * | string_va (const char *fmt,...) |
string_va. More... | |
void | about_tffc (void) |
about_tffc. More... | |
Variables | |
int | tffc_initialized |
This param has `TRUE` or `FALSE` if tffc (curses) run. More... | |
int | STDATTR |
Attribute variables. More... | |
int | HIGHATTR |
Yellow words on the dark Blue background. More... | |
int | BOXATTR |
Light Blue words on dark Blue background. More... | |
int | ACTIVEATTR |
Blue words on the dark blue background. More... | |
int | BARSTDATTR |
Light Green words on dark Blue background. More... | |
int | BARHIGHATTR |
Yellow words on the Black background. More... | |
int | DLGTEXTATTR |
Light Blue words on the Black background. More... | |
int | DLGBOXATTR |
Black words on the light Blue background. More... | |
int | DLGHIGHATTR |
Blue words on the cyan background. More... | |
int | DESCATTR |
Red words on the cyan background. More... | |
int | STATUSBARATTR |
Black words on the cyan background. More... | |
int | PTRATTR |
Yellow words on the dark blue background. More... | |
int | FIELDATTR |
Green words on the blue background. More... | |
int | ERRBOXATTR |
Blue words on the white background. More... | |
int | ERRTXTATTR |
White words on the red background. More... | |
int | ERRRESATTR |
Yellow words on the red background. More... | |
int | GROUPATTR |
Red words on the white background. More... | |
int | GETCHATTR |
White words on the cyan background. More... | |
int | INSATTR |
Black words on the white background. More... | |
int | SHADOWATTR |
Yellow words on the white background. More... | |
int | UNKNATTR |
Black ont the black background. More... |
|
This is definition for using `ldat` struct in ``window_to_file'' routines.
|
|
This is alias for BackSpace key ('\b').
|
|
Value: {if(use_centr == TRUE) \ win = newwin (lines, cols, (LINES - (lines)) / (y_pos), (COLS - (cols))/ (x_pos)); \ else win = newwin (lines, cols, y_pos, x_pos); \ panel = new_panel (win); \ stdwinset (win); \ wtimeout (win, -1); \ wattrset (win, box_color_pair); \ colorwin (win); \ box (win, ACS_VLINE, ACS_HLINE); \ wattrset (win, color_pair); }
|
|
Value: {if(use_centr == TRUE) \ win = newwin (lines, cols, (LINES - (lines)) / (y_pos), (COLS - (cols))/ (x_pos)); \ else win = newwin (lines, cols, y_pos, x_pos); \ panel = new_panel (win); \ stdwinset (win); \ wtimeout (win, -1); \ wattrset (win, box_color_pair); \ colorwin (win); \ wattrset (win, color_pair); }
|
|
This is alias for 'Ctrl' + 'f' key.
|
|
This is alias for 'Ctrl' + 'p' key.
|
|
This is alias for 'Ctrl' + 't' key.
|
|
This is alias for 'Ctrl' + 'v' key.
|
|
This is alias for 'Ctrl' + 'x' key.
|
|
This is alias for 'Ctrl' + 'y' key.
|
|
|
|
This is alias for Enter key ('\r').
|
|
This is alias for ESC key.
|
|
This is alias for NoN key ('\f').
|
|
|
|
This is alias for Tab key ('\t').
|
|
This is TFFC Version number.
|
|
Return height size of window win.
|
|
Return width size of window win.
|
|
Return where window win begin in ``X'' position on screen.
|
|
Return where window win begin in ``Y'' position on screen.
|
|
about_tffc.
|
|
|
|
coloreol.
|
|
colorwin.
|
|
doupdate_t.
|
|
draw_desktop.
|
|
exit_tffc.
|
|
hide_tffc.
|
|
refresh_screen.
|
|
standartcolors.
|
|
start_tffc.
|
|
stdwinset.
|
|
string_va.
|
|
unhide_tffc.
|
|
update_panels_t.
|
|
wgetch_t.
|
|
window_to_file.
|
|
Blue words on the dark blue background.
|
|
Yellow words on the Black background.
|
|
Light Green words on dark Blue background.
|
|
Light Blue words on dark Blue background.
|
|
Red words on the cyan background.
|
|
Black words on the light Blue background.
|
|
Blue words on the cyan background.
|
|
Light Blue words on the Black background.
|
|
Blue words on the white background.
|
|
Yellow words on the red background.
|
|
White words on the red background.
|
|
Green words on the blue background.
|
|
White words on the cyan background.
|
|
Red words on the white background.
|
|
Yellow words on the dark Blue background.
|
|
Black words on the white background.
|
|
Yellow words on the dark blue background.
|
|
Yellow words on the white background.
|
|
Black words on the cyan background.
|
|
Attribute variables. There are standart attribute variables - colors set. |
|
This param has `TRUE` or `FALSE` if tffc (curses) run.
|
|
Black ont the black background.
|