/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/lxdialog/ |
H A D | yesno.c | 22 #include "dialog.h" 28 print_buttons(WINDOW *dialog, int height, int width, int selected) argument 33 print_button (dialog, " Yes ", y, x, selected == 0); 34 print_button (dialog, " No ", y, x + 13, selected == 1); 36 wmove(dialog, y, x+1 + 13*selected ); 37 wrefresh (dialog); 41 * Display a dialog box with two buttons - Yes and No 47 WINDOW *dialog; local 49 /* center dialog box on screen */ 55 dialog [all...] |
H A D | msgbox.c | 22 #include "dialog.h" 33 WINDOW *dialog; local 35 /* center dialog box on screen */ 41 dialog = newwin (height, width, y, x); 42 keypad (dialog, TRUE); 44 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); 55 wattrset (dialog, title_attr); 56 mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); 57 waddstr (dialog, (char *)title); 58 waddch (dialog, ' '); [all...] |
H A D | inputbox.c | 22 #include "dialog.h" 30 print_buttons(WINDOW *dialog, int height, int width, int selected) argument 35 print_button (dialog, " Ok ", y, x, selected==0); 36 print_button (dialog, " Help ", y, x + 14, selected==1); 38 wmove(dialog, y, x+1+14*selected); 39 wrefresh(dialog); 43 * Display a dialog box for inputing a string 52 WINDOW *dialog; local 54 /* center dialog box on screen */ 61 dialog [all...] |
H A D | checklist.c | 24 #include "dialog.h" 103 print_buttons( WINDOW *dialog, int height, int width, int selected) argument 108 print_button (dialog, "Select", y, x, selected == 0); 109 print_button (dialog, " Help ", y, x + 14, selected == 1); 111 wmove(dialog, y, x+1 + 14*selected); 112 wrefresh (dialog); 116 * Display a dialog box with a list of options that can be turned on or off 126 WINDOW *dialog, *list; local 147 /* center dialog box on screen */ 153 dialog [all...] |
H A D | textbox.c | 22 #include "dialog.h" 35 * Display text from a file in a dialog box. 43 WINDOW *dialog, *text; local 81 /* center dialog box on screen */ 88 dialog = newwin (height, width, y, x); 89 keypad (dialog, TRUE); 92 text = subwin (dialog, height - 4, width - 2, y + 1, x + 1); 99 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); 101 wattrset (dialog, border_attr); 102 mvwaddch (dialog, heigh [all...] |
H A D | menubox.c | 59 #include "dialog.h" 173 WINDOW *dialog, *menu; local 178 /* center dialog box on screen */ 184 dialog = newwin (height, width, y, x); 185 keypad (dialog, TRUE); 187 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); 188 wattrset (dialog, border_attr); 189 mvwaddch (dialog, height - 3, 0, ACS_LTEE); 191 waddch (dialog, ACS_HLINE); 192 wattrset (dialog, dialog_att [all...] |
/asus-wl-520gu-7.0.1.45/src/router/config/ |
H A D | yesno.c | 22 #include "dialog.h" 28 print_buttons(WINDOW *dialog, int height, int width, int selected) argument 33 print_button (dialog, " Yes ", y, x, selected == 0); 34 print_button (dialog, " No ", y, x + 13, selected == 1); 36 wmove(dialog, y, x+1 + 13*selected ); 37 wrefresh (dialog); 41 * Display a dialog box with two buttons - Yes and No 47 WINDOW *dialog; local 49 /* center dialog box on screen */ 55 dialog [all...] |
H A D | msgbox.c | 22 #include "dialog.h" 33 WINDOW *dialog; local 35 /* center dialog box on screen */ 41 dialog = newwin (height, width, y, x); 42 keypad (dialog, TRUE); 44 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); 55 wattrset (dialog, title_attr); 56 mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); 57 waddstr (dialog, (char *)title); 58 waddch (dialog, ' '); [all...] |
H A D | inputbox.c | 22 #include "dialog.h" 30 print_buttons(WINDOW *dialog, int height, int width, int selected) argument 35 print_button (dialog, " Ok ", y, x, selected==0); 36 print_button (dialog, " Help ", y, x + 14, selected==1); 38 wmove(dialog, y, x+1+14*selected); 39 wrefresh(dialog); 43 * Display a dialog box for inputing a string 52 WINDOW *dialog; local 54 /* center dialog box on screen */ 61 dialog [all...] |
H A D | checklist.c | 24 #include "dialog.h" 103 print_buttons( WINDOW *dialog, int height, int width, int selected) argument 108 print_button (dialog, "Select", y, x, selected == 0); 109 print_button (dialog, " Help ", y, x + 14, selected == 1); 111 wmove(dialog, y, x+1 + 14*selected); 112 wrefresh (dialog); 116 * Display a dialog box with a list of options that can be turned on or off 127 WINDOW *dialog, *list; local 148 /* center dialog box on screen */ 154 dialog [all...] |
H A D | textbox.c | 22 #include "dialog.h" 35 * Display text from a file in a dialog box. 43 WINDOW *dialog, *text; local 81 /* center dialog box on screen */ 88 dialog = newwin (height, width, y, x); 89 keypad (dialog, TRUE); 92 text = subwin (dialog, height - 4, width - 2, y + 1, x + 1); 99 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); 101 wattrset (dialog, border_attr); 102 mvwaddch (dialog, heigh [all...] |
H A D | menubox.c | 59 #include "dialog.h" 172 WINDOW *dialog, *menu; local 177 /* center dialog box on screen */ 183 dialog = newwin (height, width, y, x); 184 keypad (dialog, TRUE); 186 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); 187 wattrset (dialog, border_attr); 188 mvwaddch (dialog, height - 3, 0, ACS_LTEE); 190 waddch (dialog, ACS_HLINE); 191 wattrset (dialog, dialog_att [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/libsmbclient/ |
H A D | tree.c | 42 GtkWidget *dialog, *label, *okay_button; local 46 dialog = gtk_dialog_new(); 47 gtk_window_set_modal(GTK_WINDOW(dialog), TRUE); 51 /* Ensure that the dialog box is destroyed when the user clicks ok. */ 55 GTK_OBJECT(dialog)); 56 gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->action_area), 59 /* Add the label, and show everything we've added to the dialog. */ 61 gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), 63 gtk_widget_show_all (dialog); 594 /* Should put up a dialog bo [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/client/ |
H A D | tree.c | 41 GtkWidget *dialog, *label, *okay_button; local 45 dialog = gtk_dialog_new(); 46 gtk_window_set_modal(GTK_WINDOW(dialog), True); 50 /* Ensure that the dialog box is destroyed when the user clicks ok. */ 53 GTK_SIGNAL_FUNC (gtk_widget_destroy), dialog); local 54 gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->action_area), 57 /* Add the label, and show everything we've added to the dialog. */ 59 gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), 61 gtk_widget_show_all (dialog); 592 /* Should put up a dialog bo [all...] |