Searched refs:dialog_state (Results 1 – 20 of 20) sorted by relevance
| /dragonfly/contrib/dialog/ |
| HD | ui_getc.c | 54 p->next = dialog_state.getc_callbacks; in dlg_add_callback() 55 dialog_state.getc_callbacks = p; in dlg_add_callback() 79 if (p->input == dialog_state.pipe_input) in dlg_remove_callback() 80 dialog_state.pipe_input = 0; in dlg_remove_callback() 82 for (q = dialog_state.getc_callbacks; q != 0; q = q->next) { in dlg_remove_callback() 91 if ((q = dialog_state.getc_callbacks) == p) { in dlg_remove_callback() 92 dialog_state.getc_callbacks = p->next; in dlg_remove_callback() 126 for (p = dialog_state.getc_callbacks, q = 0; p != 0; p = q) { in handle_inputs() 156 for (p = dialog_state.getc_callbacks; p != 0; p = p->next) { in may_handle_inputs() 179 if ((p = dialog_state.getc_callbacks) != 0) { in check_inputs() [all …]
|
| HD | util.c | 63 DIALOG_STATE dialog_state; variable 164 p->next = dialog_state.all_subwindows; in add_subwindow() 165 dialog_state.all_subwindows = p; in add_subwindow() 172 DIALOG_WINDOWS *p = dialog_state.all_subwindows; in del_subwindows() 181 dialog_state.all_subwindows = r; in del_subwindows() 293 int fd = fileno(dialog_state.screen_output); in my_putc() 318 dialog_state.output = output; in init_dialog() 319 if (dialog_state.tab_len == 0) in init_dialog() 320 dialog_state.tab_len = TAB_LEN; in init_dialog() 321 if (dialog_state.aspect_ratio == 0) in init_dialog() [all …]
|
| HD | dialog.c | 808 if ((dialog_state.output_count > 1) && !dialog_vars.separate_output) { in show_result() 809 fputs((dialog_state.separate_str in show_result() 810 ? dialog_state.separate_str in show_result() 812 dialog_state.output); in show_result() 817 fputs(dialog_vars.input_result, dialog_state.output); in show_result() 822 fflush(dialog_state.output); in show_result() 1219 dialog_state.pipe_input) in call_programbox() 1225 dialog_state.pipe_input)); in call_programbox() 1226 dialog_state.pipe_input = 0; in call_programbox() 1443 dlg_ttysize(fileno(dialog_state.input), in PrintTextOnly() [all …]
|
| HD | guage.c | 185 : dialog_state.pipe_input); in handle_input() 285 bool save_finish_string = dialog_state.finish_string; in dlg_update_gauge() 287 dialog_state.finish_string = TRUE; in dlg_update_gauge() 291 dialog_state.finish_string = save_finish_string; in dlg_update_gauge() 307 bool save_finish_string = dialog_state.finish_string; in dlg_reallocate_gauge() 309 dialog_state.finish_string = TRUE; in dlg_reallocate_gauge() 336 obj->obj.input = dialog_state.pipe_input; in dlg_reallocate_gauge() 362 dialog_state.finish_string = save_finish_string; in dlg_reallocate_gauge()
|
| HD | rc.c | 106 &dialog_state.aspect_ratio, 111 &dialog_state.separate_str, 116 &dialog_state.tab_len, 121 &dialog_state.visit_items, 126 &dialog_state.use_scrollbar, 132 &dialog_state.use_shadow, 137 &dialog_state.use_colors,
|
| HD | dialog.h | 110 #define DLG_COLS (COLS ? COLS : dialog_state.screen_width) 111 #define DLG_LINES (LINES ? LINES : dialog_state.screen_height) 117 #define SCOLS (DLG_COLS - (dialog_state.use_shadow ? SHADOW_COLS : 0)) 118 #define SLINES (DLG_LINES - (dialog_state.use_shadow ? SHADOW_ROWS : 0)) 359 extern DIALOG_STATE dialog_state;
|
| HD | progressbox.c | 177 tmpint = dialog_state.tab_len in get_line() 178 - (col % dialog_state.tab_len); in get_line() 481 dialog_state.pipe_input); in dialog_progressbox() 482 dialog_state.pipe_input = 0; in dialog_progressbox()
|
| HD | 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() 1160 dialog_state.visit_cols = save_visit; in dlg_buildlist()
|
| HD | 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()
|
| HD | tailbox.c | 55 tmpint = dialog_state.tab_len in get_line() 56 - ((col + obj->hscroll) % dialog_state.tab_len); in get_line() 223 for (p = dialog_state.getc_callbacks; p != 0; p = p->next) { in valid_callback()
|
| HD | dlg_keys.c | 78 dlg_dump_keys(dialog_state.trace_output); in dlg_register_window() 79 dlg_dump_window_keys(dialog_state.trace_output, win); in dlg_register_window() 324 if (dialog_state.had_resize) { in dlg_result_key() 328 dialog_state.had_resize = FALSE; in dlg_result_key() 331 dialog_state.had_resize = TRUE; in dlg_result_key()
|
| HD | 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()
|
| HD | checklist.c | 198 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_checklist() 222 dialog_state.plain_buttons = TRUE; in dlg_checklist() 467 if (button < 0 || !dialog_state.visit_items) { in dlg_checklist()
|
| HD | treeview.c | 203 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_treeview() 221 dialog_state.plain_buttons = TRUE; in dlg_treeview() 431 if (button < 0 || !dialog_state.visit_items) { in dlg_treeview()
|
| HD | argv.c | 40 if (dialog_state.trace_output) { in dlg_string_to_argv()
|
| HD | menubox.c | 362 int button = dialog_state.visit_items ? -1 : dlg_default_button(); in dlg_menu() 384 dialog_state.plain_buttons = TRUE; in dlg_menu() 575 if (button < 0 || !dialog_state.visit_items) { in dlg_menu()
|
| HD | buttons.c | 27 #define MIN_BUTTON (-dialog_state.visit_cols) 28 #define CHR_BUTTON (!dialog_state.plain_buttons)
|
| HD | trace.c | 30 #define myFP dialog_state.trace_output
|
| HD | inputstr.c | 742 if ((string != 0) && dialog_state.finish_string) { in dlg_finish_string() 784 dialog_state.finish_string = TRUE; in _dlg_inputstr_leaks()
|
| HD | CHANGES | 66 object in preference to the global dialog_state. 1320 + add dialog_state.input, use this in end_dialog() to decide whether 1802 favor of dialog_state and dialog_vars. 1803 + move some data such as dialog_vars.output to dialog_state, since 1806 dialog_state.defaultno and dialog_vars.separate_output, making it
|