Data Structures |
| struct | scroll_table |
| struct | scroll_table_entry |
Defines |
| #define | MAX_KEY_LEN 30 |
| #define | MAX_DATA_LEN 1024 |
| #define | MAX_ENTRY_WINDOW 20000 |
| #define | NOHTIND 0 |
| #define | TIND 1 |
| #define | HIND 2 |
| #define | S_NONE 0 |
| #define | S_HSCRL 0x001 |
| #define | S_IND 0x002 |
| #define | S_LINE 0x004 |
| #define | S_TSCRL 0x008 |
| #define | S_SRCH 0x010 |
| #define | S_DESC 0x020 |
| #define | S_UFCE 0x040 |
| #define | S_NOKEY 0x080 |
| #define | S_NOBOX 0x100 |
| #define | print_scroll_table_field(key) |
| #define | change_scroll_table_data_len(table_data_len, data) |
| #define | print_fast_horizont_scroll_window(window, fast_scrolling) |
Enumerations |
| enum | { SCROLLUP,
SCROLLDOWN,
SCROLLHOME,
SCROLLEND
} |
| enum | {
UFCE_START,
UFCE_SCROLL,
UFCE_LINEUP,
UFCE_LINEDOWN,
UFCE_HOME,
UFCE_END,
UFCE_SEARCH
} |
| enum | {
IS_NONE = 0,
IS_ALNUM,
IS_ALPHA,
IS_ASCII,
IS_DIGIT,
IS_GRAPH,
IS_LOWER,
IS_PRINT,
IS_PUNCT,
IS_SPACE,
IS_UPPER,
IS_XDIGIT,
IS_CNTRL
} |
Functions |
| void | init_scroll_table (struct scroll_table *table, int lines, int cols, int begy, int begx, int key_len, char *start_key, char *end_key, int(*usr_func)(struct scroll_table *table, char *key, int smer, char *new_key, char *new_data, int *mode_scr), int s_metod, int mode) |
| int | getch_scroll_table (struct scroll_table *table) |
| void | refresh_scroll_table (struct scroll_table *table) |
| void | hide_scroll_table (struct scroll_table *table) |
| void | unhide_scroll_table (struct scroll_table *table) |
| void | destroy_scroll_table (struct scroll_table *table) |
| scroll_table_entry * | add_scroll_table_entry (struct scroll_table *table, char *key, char *data, int refresh_table, int mode_scr) |
| scroll_table_entry * | update_scroll_table_entry (struct scroll_table *table, char *key, char *new_key, char *new_data, int repleace_key, int new_entry, int refresh_table, int mode_scr) |
| void | del_scroll_table_entry (struct scroll_table *table, struct scroll_table_entry *entry, int refresh_table) |
| void | flush_scroll_table (struct scroll_table *table, int refresh_table) |
| void | reload_scroll_table (struct scroll_table *table, int refresh_table) |
| void | print_scroll_entry (struct scroll_table *table, struct scroll_table_entry *entry, unsigned int target_row) |
| char * | move_data_position (char *data, int data_len, uint start) |
| void | add_scroll_table_desc (struct scroll_table *table, char *key_desc, char *data_desc) |
| scroll_table_entry * | operate_scroll_table (struct scroll_table *table, int *ch) |
| void | scroll_table_line (struct scroll_table *table, int direction, int refresh_table) |
| void | scroll_table_page (struct scroll_table *table, int direction) |
| void | horizontal_scroll (struct scroll_table *table, int ch) |
| int | search_key_scroll_table (struct scroll_table *table, int ch) |
| void | search_scroll_table (struct scroll_table *table) |
| scroll_table_entry * | find_scroll_table_entry (struct scroll_table *table, int pozition) |
| int | scroll_table_2_txt (struct scroll_table *table, const char *file, int line) |
| int | txt_2_scroll_table (struct scroll_table *table, const char *file, int mode_scr) |
| void | scroll_table_usr_func (struct scroll_table *table, struct scroll_table_entry *entry, int mode, int smer) |
| void | help_scroll (char *file, int lines, int cols) |
| scroll_table_entry * | find_entry_table (struct scroll_table *table, char *key) |