Include dependency graph for textbox.c:

Go to the source code of this file.
| Functions | |
| static void | back_lines (int n) | 
| static void | print_page (WINDOW *win, int height, int width) | 
| static void | print_line (WINDOW *win, int row, int width) | 
| static char * | get_line (void) | 
| static void | print_position (WINDOW *win, int height, int width) | 
| int | dialog_textbox (const char *title, const char *file, int height, int width) | 
| Variables | |
| static int | hscroll | 
| static int | fd | 
| static int | file_size | 
| static int | bytes_read | 
| static int | begin_reached = 1 | 
| static int | end_reached | 
| static int | page_length | 
| static char * | buf | 
| static char * | page | 
| static void back_lines | ( | int | n | ) |  [static] | 
Definition at line 328 of file textbox.c.
References begin_reached, buf, BUF_SIZE, bytes_read, end_reached, fd, and page.
Referenced by dialog_textbox().
| int dialog_textbox | ( | const char * | title, | |
| const char * | file, | |||
| int | height, | |||
| int | width | |||
| ) | 
Definition at line 38 of file textbox.c.
References ACS_HLINE, ACS_LTEE, ACS_RTEE, attr_clear(), back_lines(), begin_reached, border_attr, buf, BUF_SIZE, bytes_read, dialog_attr, draw_box(), draw_shadow(), end_reached, ESC, fd, file_size, get_line(), hscroll, MAX_LEN, page, page_length, print_button(), print_line(), print_page(), print_position(), text, and title_attr.
Referenced by j_textbox().
Here is the call graph for this function:

| static char * get_line | ( | void | ) |  [static] | 
Definition at line 490 of file textbox.c.
References buf, BUF_SIZE, bytes_read, end_reached, fd, file_size, line, MAX_LEN, and page.
Referenced by dialog_textbox(), and print_line().
| static void print_line | ( | WINDOW * | win, | |
| int | row, | |||
| int | width | |||
| ) |  [static] | 
Definition at line 460 of file textbox.c.
References get_line(), hscroll, line, and MIN.
Referenced by dialog_textbox(), and print_page().
Here is the call graph for this function:

| static void print_page | ( | WINDOW * | win, | |
| int | height, | |||
| int | width | |||
| ) |  [static] | 
Definition at line 441 of file textbox.c.
References end_reached, page_length, and print_line().
Referenced by dialog_textbox().
Here is the call graph for this function:

| static void print_position | ( | WINDOW * | win, | |
| int | height, | |||
| int | width | |||
| ) |  [static] | 
Definition at line 541 of file textbox.c.
References buf, bytes_read, fd, file_size, page, and position_indicator_attr.
Referenced by dialog_textbox().
| int begin_reached = 1  [static] | 
| char* buf  [static] | 
Definition at line 32 of file textbox.c.
Referenced by back_lines(), cprint_init(), dbg_print_flags(), dbg_print_ptype(), dbg_print_stype(), dialog_textbox(), expr_print(), get_line(), print_position(), rtf_create(), rtf_ioctl(), and touch_all().
| int bytes_read  [static] | 
Definition at line 30 of file textbox.c.
Referenced by back_lines(), dialog_textbox(), get_line(), and print_position().
| int end_reached  [static] | 
Definition at line 31 of file textbox.c.
Referenced by back_lines(), dialog_textbox(), get_line(), and print_page().
| int fd  [static] | 
Definition at line 30 of file textbox.c.
Referenced by __wrap_sem_open(), __wrap_sem_unlink(), back_lines(), dialog_textbox(), get_line(), print_position(), rtf_create_named(), rtf_getfifobyname(), rtf_named_create(), rtf_open_sized(), and show_textbox().
| int file_size  [static] | 
Definition at line 30 of file textbox.c.
Referenced by dialog_textbox(), get_line(), and print_position().
| int hscroll  [static] | 
| char * page  [static] | 
Definition at line 32 of file textbox.c.
Referenced by back_lines(), dialog_textbox(), get_line(), and print_position().
| int page_length  [static] | 
 1.4.7
 1.4.7