/freebsd/contrib/dialog/ |
H A D | ui_getc.c | 70 p->next = dialog_state.getc_callbacks; in dlg_add_callback() 71 dialog_state.getc_callbacks = p; in dlg_add_callback() 95 if (p->input == dialog_state.pipe_input) in dlg_remove_callback() 96 dialog_state.pipe_input = 0; in dlg_remove_callback() 98 for (q = dialog_state.getc_callbacks; q != 0; q = q->next) { in dlg_remove_callback() 107 if ((q = dialog_state.getc_callbacks) == p) { in dlg_remove_callback() 108 dialog_state.getc_callbacks = p->next; in dlg_remove_callback() 142 for (p = dialog_state.getc_callbacks, q = 0; p != 0; p = q) { in handle_inputs() 172 for (p = dialog_state.getc_callbacks; p != 0; p = p->next) { in may_handle_inputs() 195 if ((p = dialog_state.getc_callbacks) != 0) { in check_inputs() [all …]
|
H A D | util.c | 80 DIALOG_STATE dialog_state; variable 181 p->next = dialog_state.all_subwindows; in add_subwindow() 182 dialog_state.all_subwindows = p; in add_subwindow() 189 DIALOG_WINDOWS *p = dialog_state.all_subwindows; in del_subwindows() 198 dialog_state.all_subwindows = r; in del_subwindows() 310 int fd = fileno(dialog_state.screen_output); in my_putc() 335 dialog_state.output = output; in init_dialog() 336 if (dialog_state.tab_len == 0) in init_dialog() 337 dialog_state.tab_len = TAB_LEN; in init_dialog() 338 if (dialog_state.aspect_ratio == 0) in init_dialog() [all …]
|
H A D | dialog.c | 815 if ((dialog_state.output_count > 1) && !dialog_vars.separate_output) { in show_result() 816 fputs((dialog_state.separate_str in show_result() 817 ? dialog_state.separate_str in show_result() 819 dialog_state.output); in show_result() 824 fputs(dialog_vars.input_result, dialog_state.output); in show_result() 829 fflush(dialog_state.output); in show_result() 1229 dialog_state.pipe_input) in call_programbox() 1235 dialog_state.pipe_input)); in call_programbox() 1236 dialog_state.pipe_input = 0; in call_programbox() 1451 dlg_ttysize(fileno(dialog_state.input), in PrintTextOnly() [all …]
|
H A D | guage.c | 190 if (dialog_state.pipe_input == 0) { in handle_input() 193 } else if ((status = read_data(buf, dialog_state.pipe_input)) > 0) { in handle_input() 201 if ((status = read_data(buf, dialog_state.pipe_input)) > 0) { in handle_input() 210 while ((status = read_data(buf, dialog_state.pipe_input)) > 0 in handle_input() 226 if (feof(dialog_state.pipe_input) || in handle_input() 227 (ferror(dialog_state.pipe_input) && errno != EINTR)) { in handle_input() 284 bool save_finish_string = dialog_state.finish_string; in dlg_update_gauge() 286 dialog_state.finish_string = TRUE; in dlg_update_gauge() 290 dialog_state.finish_string = save_finish_string; in dlg_update_gauge() 306 bool save_finish_string = dialog_state.finish_string; in dlg_reallocate_gauge() [all …]
|
H A D | rc.c | 108 &dialog_state.aspect_ratio, 113 &dialog_state.separate_str, 118 &dialog_state.tab_len, 123 &dialog_state.visit_items, 129 &dialog_state.use_shadow, 134 &dialog_state.use_colors,
|
H A D | progressbox.c | 181 tmpint = dialog_state.tab_len in get_line() 182 - (col % dialog_state.tab_len); in get_line() 485 dialog_state.pipe_input); in dialog_progressbox() 486 dialog_state.pipe_input = 0; in dialog_progressbox()
|
H A D | buildlist.c | 557 bool save_visit = dialog_state.visit_items; in dlg_buildlist() 569 dialog_state.plain_buttons = TRUE; in dlg_buildlist() 574 if (dialog_state.visit_cols) in dlg_buildlist() 575 dialog_state.visit_cols = 2; in dlg_buildlist() 591 button = (dialog_state.visit_items in dlg_buildlist() 874 if (button < 0 || !dialog_state.visit_items) { in dlg_buildlist() 915 if ((button == sRIGHT) && dialog_state.visit_items) { in dlg_buildlist() 930 if ((button == sLEFT) && dialog_state.visit_items) { in dlg_buildlist() 1162 dialog_state.visit_cols = save_visit; in dlg_buildlist()
|
H A D | textbox.c | 147 obj->bytes_read += dialog_state.tab_len in read_high() 149 % dialog_state.tab_len); in read_high() 191 int tmpint = (dialog_state.tab_len in read_high() 192 - ((int) ((long) i - begin_line) % dialog_state.tab_len)); in read_high() 261 count += dialog_state.tab_len in tabize() 262 - ((count - begin_line) % dialog_state.tab_len); in tabize()
|
H A D | tailbox.c | 56 tmpint = dialog_state.tab_len in get_line() 57 - ((col + obj->hscroll) % dialog_state.tab_len); in get_line() 224 for (p = dialog_state.getc_callbacks; p != 0; p = p->next) { in valid_callback()
|
H A D | dialog.h | 132 #define DLG_COLS (COLS ? COLS : dialog_state.screen_width) 133 #define DLG_LINES (LINES ? LINES : dialog_state.screen_height) 139 #define SCOLS (DLG_COLS - (dialog_state.use_shadow ? SHADOW_COLS : 0)) 140 #define SLINES (DLG_LINES - (dialog_state.use_shadow ? SHADOW_ROWS : 0)) 496 extern DIALOG_STATE dialog_state;
|
H A D | dlg_keys.c | 79 dlg_dump_keys(dialog_state.trace_output); in dlg_register_window() 80 dlg_dump_window_keys(dialog_state.trace_output, win); in dlg_register_window() 283 if (dialog_state.had_resize) { in dlg_result_key() 287 dialog_state.had_resize = FALSE; in dlg_result_key() 290 dialog_state.had_resize = TRUE; in dlg_result_key()
|
H A D | arrows.c | 178 if (bottom_arrow || top_arrow || dialog_state.use_scrollbar) { in dlg_draw_scrollbar() 205 if (dialog_state.use_scrollbar) { in dlg_draw_scrollbar()
|
H A D | argv.c | 41 if (dialog_state.trace_output) { in dlg_string_to_argv()
|
H A D | checklist.c | 196 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_checklist() 220 dialog_state.plain_buttons = TRUE; in dlg_checklist() 465 if (button < 0 || !dialog_state.visit_items) { in dlg_checklist()
|
H A D | treeview.c | 200 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_treeview() 218 dialog_state.plain_buttons = TRUE; in dlg_treeview() 426 if (button < 0 || !dialog_state.visit_items) { in dlg_treeview()
|
H A D | menubox.c | 355 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_menu() 377 dialog_state.plain_buttons = TRUE; in dlg_menu() 567 if (button < 0 || !dialog_state.visit_items) { in dlg_menu()
|
H A D | buttons.c | 31 #define MIN_BUTTON (-dialog_state.visit_cols) 32 #define CHR_BUTTON (!dialog_state.plain_buttons)
|
H A D | trace.c | 35 #define myFP dialog_state.trace_output
|
H A D | inputstr.c | 759 if ((string != 0) && dialog_state.finish_string) { in dlg_finish_string() 801 dialog_state.finish_string = TRUE; in _dlg_inputstr_leaks()
|
H A D | CHANGES | 1226 + add dialog_state.input, use this in end_dialog() to decide whether 1708 favor of dialog_state and dialog_vars. 1709 + move some data such as dialog_vars.output to dialog_state, since 1712 dialog_state.defaultno and dialog_vars.separate_output, making it
|
/freebsd/contrib/dialog/package/ |
H A D | dialog.sym | 50 dialog_state
|
H A D | dialog.map | 43 dialog_state;
|
/freebsd/lib/libdpv/ |
H A D | dpv.c | 335 use_shadow = dialog_state.use_shadow; in dpv() 336 use_colors = dialog_state.use_colors; in dpv()
|