Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 9 of 9) sorted by relevance

/scripts/kconfig/lxdialog/
Dinputbox.c29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
34 print_button(dialog, gettext(" Ok "), y, x, selected == 0); in print_buttons()
35 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
37 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
38 wrefresh(dialog); in print_buttons()
50 WINDOW *dialog; in dialog_inputbox() local
69 dialog = newwin(height, width, y, x); in dialog_inputbox()
70 keypad(dialog, TRUE); in dialog_inputbox()
72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
73 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox()
[all …]
Dyesno.c27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
32 print_button(dialog, gettext(" Yes "), y, x, selected == 0); in print_buttons()
33 print_button(dialog, gettext(" No "), y, x + 13, selected == 1); in print_buttons()
35 wmove(dialog, y, x + 1 + 13 * selected); in print_buttons()
36 wrefresh(dialog); in print_buttons()
45 WINDOW *dialog; in dialog_yesno() local
59 dialog = newwin(height, width, y, x); in dialog_yesno()
60 keypad(dialog, TRUE); in dialog_yesno()
62 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
63 dlg.dialog.atr, dlg.border.atr); in dialog_yesno()
[all …]
Dtextbox.c38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
42 print_position(dialog); in refresh_text_box()
43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
44 wrefresh(dialog); in refresh_text_box()
57 WINDOW *dialog, *box; in dialog_textbox() local
91 dialog = newwin(height, width, y, x); in dialog_textbox()
92 keypad(dialog, TRUE); in dialog_textbox()
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
98 wattrset(box, dlg.dialog.atr); in dialog_textbox()
99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
[all …]
Dchecklist.c95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
100 print_button(dialog, gettext("Select"), y, x, selected == 0); in print_buttons()
101 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
103 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
104 wrefresh(dialog); in print_buttons()
116 WINDOW *dialog, *list; in dialog_checklist() local
142 dialog = newwin(height, width, y, x); in dialog_checklist()
143 keypad(dialog, TRUE); in dialog_checklist()
145 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
146 dlg.dialog.atr, dlg.border.atr); in dialog_checklist()
[all …]
Dmenubox.c189 WINDOW *dialog, *menu; in dialog_menu() local
209 dialog = newwin(height, width, y, x); in dialog_menu()
210 keypad(dialog, TRUE); in dialog_menu()
212 draw_box(dialog, 0, 0, height, width, in dialog_menu()
213 dlg.dialog.atr, dlg.border.atr); in dialog_menu()
214 wattrset(dialog, dlg.border.atr); in dialog_menu()
215 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_menu()
217 waddch(dialog, ACS_HLINE); in dialog_menu()
218 wattrset(dialog, dlg.dialog.atr); in dialog_menu()
219 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_menu()
[all …]
Dutil.c30 dlg.dialog.atr = A_NORMAL; in set_mono_theme()
59 #define DLG_COLOR(dialog, f, b, h) \ argument
61 dlg.dialog.fg = (f); \
62 dlg.dialog.bg = (b); \
63 dlg.dialog.hl = (h); \
70 DLG_COLOR(dialog, COLOR_BLACK, COLOR_WHITE, false); in set_classic_theme()
103 DLG_COLOR(dialog, COLOR_WHITE, COLOR_BLACK, false); in set_blackbg_theme()
190 init_one_color(&dlg.dialog); in init_dialog_colors()
310 void print_title(WINDOW *dialog, const char *title, int width) in print_title() argument
314 wattrset(dialog, dlg.title.atr); in print_title()
[all …]
DBIG.FAT.WARNING1 This is NOT the official version of dialog. This version has been
Ddialog.h113 struct dialog_color dialog; member
203 void print_title(WINDOW *dialog, const char *title, int width);
/scripts/kconfig/
Dgconf.c519 GtkWidget *dialog, *label; in on_window1_delete_event() local
525 dialog = gtk_dialog_new_with_buttons(_("Warning !"), in on_window1_delete_event()
536 gtk_dialog_set_default_response(GTK_DIALOG(dialog), in on_window1_delete_event()
540 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label); in on_window1_delete_event()
543 result = gtk_dialog_run(GTK_DIALOG(dialog)); in on_window1_delete_event()
553 gtk_widget_destroy(dialog); in on_window1_delete_event()
732 GtkWidget *dialog; in on_introduction1_activate() local
751 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd), in on_introduction1_activate()
755 g_signal_connect_swapped(GTK_OBJECT(dialog), "response", in on_introduction1_activate()
757 GTK_OBJECT(dialog)); in on_introduction1_activate()
[all …]