Searched refs:dialog (Results 1 - 25 of 29) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/scripts/kconfig/lxdialog/
H A Dyesno.c22 #include "dialog.h"
27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
32 print_button(dialog, " Yes ", y, x, selected == 0);
33 print_button(dialog, " No ", y, x + 13, selected == 1);
35 wmove(dialog, y, x + 1 + 13 * selected);
36 wrefresh(dialog);
40 * Display a dialog box with two buttons - Yes and No
45 WINDOW *dialog; local
53 /* center dialog box on screen */
59 dialog
[all...]
H A Dinputbox.c22 #include "dialog.h"
29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
34 print_button(dialog, " Ok ", y, x, selected == 0);
35 print_button(dialog, " Help ", y, x + 14, selected == 1);
37 wmove(dialog, y, x + 1 + 14 * selected);
38 wrefresh(dialog);
42 * Display a dialog box for inputing a string
50 WINDOW *dialog; local
63 /* center dialog box on screen */
69 dialog
[all...]
H A Dtextbox.c22 #include "dialog.h"
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, argument
42 print_position(dialog);
43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */
44 wrefresh(dialog);
49 * Display text from a file in a dialog box.
57 WINDOW *dialog, *box; local
85 /* center dialog box on screen */
91 dialog = newwin(height, width, y, x);
92 keypad(dialog, TRU
[all...]
H A Dchecklist.c24 #include "dialog.h"
95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
100 print_button(dialog, "Select", y, x, selected == 0);
101 print_button(dialog, " Help ", y, x + 14, selected == 1);
103 wmove(dialog, y, x + 1 + 14 * selected);
104 wrefresh(dialog);
108 * Display a dialog box with a list of options that can be turned on or off
116 WINDOW *dialog, *list; local
136 /* center dialog box on screen */
142 dialog
[all...]
H A Dmenubox.c59 #include "dialog.h"
189 WINDOW *dialog, *menu; local
203 /* center dialog box on screen */
209 dialog = newwin(height, width, y, x);
210 keypad(dialog, TRUE);
212 draw_box(dialog, 0, 0, height, width,
213 dlg.dialog.atr, dlg.border.atr);
214 wattrset(dialog, dlg.border.atr);
215 mvwaddch(dialog, height - 3, 0, ACS_LTEE);
217 waddch(dialog, ACS_HLIN
[all...]
H A Dutil.c22 #include "dialog.h"
30 dlg.dialog.atr = A_NORMAL;
59 #define DLG_COLOR(dialog, f, b, h) \
61 dlg.dialog.fg = (f); \
62 dlg.dialog.bg = (b); \
63 dlg.dialog.hl = (h); \
70 DLG_COLOR(dialog, COLOR_BLACK, COLOR_WHITE, false);
103 DLG_COLOR(dialog, COLOR_WHITE, COLOR_BLACK, false);
190 init_one_color(&dlg.dialog);
267 * Do some initialization for dialog
300 print_title(WINDOW *dialog, const char *title, int width) argument
[all...]
H A Ddialog.h2 * dialog.h -- common declarations for all dialog modules
37 * of dialog was hacked to work with ncurses 1.9.9e, making it incompatible
107 struct dialog_color dialog; member in struct:dialog_info
198 void print_title(WINDOW *dialog, const char *title, int width);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/config/
H A Dyesno.c22 #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 Dmsgbox.c22 #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 Dinputbox.c22 #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 Dchecklist.c24 #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 Dtextbox.c22 #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 Dmenubox.c59 #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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/scripts/kconfig/lxdialog/
H A Dyesno.c22 #include "dialog.h"
27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
32 print_button(dialog, " Yes ", y, x, selected == 0);
33 print_button(dialog, " No ", y, x + 13, selected == 1);
35 wmove(dialog, y, x + 1 + 13 * selected);
36 wrefresh(dialog);
40 * Display a dialog box with two buttons - Yes and No
45 WINDOW *dialog; local
47 /* center dialog box on screen */
53 dialog
[all...]
H A Dmsgbox.c22 #include "dialog.h"
32 WINDOW *dialog; local
34 /* center dialog box on screen */
40 dialog = newwin(height, width, y, x);
41 keypad(dialog, TRUE);
43 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
45 print_title(dialog, title, width);
47 wattrset(dialog, dialog_attr);
48 print_autowrap(dialog, prompt, width - 2, 1, 2);
51 wattrset(dialog, border_att
[all...]
H A Dinputbox.c22 #include "dialog.h"
29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
34 print_button(dialog, " Ok ", y, x, selected == 0);
35 print_button(dialog, " Help ", y, x + 14, selected == 1);
37 wmove(dialog, y, x + 1 + 14 * selected);
38 wrefresh(dialog);
42 * Display a dialog box for inputing a string
50 WINDOW *dialog; local
52 /* center dialog box on screen */
58 dialog
[all...]
H A Dchecklist.c24 #include "dialog.h"
95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
100 print_button(dialog, "Select", y, x, selected == 0);
101 print_button(dialog, " Help ", y, x + 14, selected == 1);
103 wmove(dialog, y, x + 1 + 14 * selected);
104 wrefresh(dialog);
108 * Display a dialog box with a list of options that can be turned on or off
117 WINDOW *dialog, *list; local
139 /* center dialog box on screen */
145 dialog
[all...]
H A Dtextbox.c22 #include "dialog.h"
35 * Display text from a file in a dialog box.
42 WINDOW *dialog, *text; local
79 /* center dialog box on screen */
85 dialog = newwin(height, width, y, x);
86 keypad(dialog, TRUE);
89 text = subwin(dialog, height - 4, width - 2, y + 1, x + 1);
96 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
98 wattrset(dialog, border_attr);
99 mvwaddch(dialog, heigh
[all...]
H A Dmenubox.c59 #include "dialog.h"
188 WINDOW *dialog, *menu; local
193 /* center dialog box on screen */
199 dialog = newwin(height, width, y, x);
200 keypad(dialog, TRUE);
202 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
203 wattrset(dialog, border_attr);
204 mvwaddch(dialog, height - 3, 0, ACS_LTEE);
206 waddch(dialog, ACS_HLINE);
207 wattrset(dialog, dialog_att
[all...]
H A Dutil.c22 #include "dialog.h"
137 * Do some initialization for dialog
173 * End using dialog functions.
180 /* Print the title of the dialog. Center the title and truncate
181 * tile if wider than dialog (- 2 chars).
183 void print_title(WINDOW *dialog, const char *title, int width) argument
187 wattrset(dialog, title_attr);
188 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' ');
189 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen);
190 waddch(dialog, ' ');
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-ui-sharp/
H A Dbssh.cs10 ServiceDialog dialog = new ServiceDialog ("Choose SSH Server", null,
13 dialog.BrowseServiceTypes = new string[] { "_ssh._tcp" };
14 dialog.ResolveServiceEnabled = true;
16 if (dialog.Run () == (int) ResponseType.Accept) {
17 Console.WriteLine ("Connecting to {0}:{1}", dialog.Address, dialog.Port);
21 foreach (byte[] txtBytes in dialog.TxtData) {
33 dialog.HostName, dialog.Port, user, dialog
[all...]
H A DServiceDialog.cs17 private static extern void aui_service_dialog_set_browse_service_typesv (IntPtr dialog, IntPtr[] types); argument
20 private static extern IntPtr aui_service_dialog_get_browse_service_types (IntPtr dialog); argument
23 private static extern IntPtr aui_service_dialog_get_domain (IntPtr dialog); argument
26 private static extern void aui_service_dialog_set_domain (IntPtr dialog, IntPtr domain); argument
29 private static extern IntPtr aui_service_dialog_get_service_type (IntPtr dialog); argument
32 private static extern void aui_service_dialog_set_service_type (IntPtr dialog, IntPtr type); argument
35 private static extern IntPtr aui_service_dialog_get_service_name (IntPtr dialog); argument
38 private static extern void aui_service_dialog_set_service_name (IntPtr dialog, IntPtr type); argument
41 private static extern IntPtr aui_service_dialog_get_address (IntPtr dialog); argument
44 private static extern UInt16 aui_service_dialog_get_port (IntPtr dialog); argument
47 aui_service_dialog_get_host_name(IntPtr dialog) argument
50 aui_service_dialog_get_txt_data(IntPtr dialog) argument
53 aui_service_dialog_get_resolve_service(IntPtr dialog) argument
56 aui_service_dialog_set_resolve_service(IntPtr dialog, bool val) argument
59 aui_service_dialog_get_resolve_host_name(IntPtr dialog) argument
62 aui_service_dialog_set_resolve_host_name(IntPtr dialog, bool val) argument
65 aui_service_dialog_get_address_family(IntPtr dialog) argument
68 aui_service_dialog_set_address_family(IntPtr dialog, Protocol proto) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/scripts/kconfig/
H A Dgconf.c503 GtkWidget *dialog, *label; local
509 dialog = gtk_dialog_new_with_buttons(_("Warning !"),
520 gtk_dialog_set_default_response(GTK_DIALOG(dialog),
524 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label);
527 result = gtk_dialog_run(GTK_DIALOG(dialog));
537 gtk_widget_destroy(dialog);
718 GtkWidget *dialog; local
737 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd),
741 g_signal_connect_swapped(GTK_OBJECT(dialog), "response",
743 GTK_OBJECT(dialog));
750 GtkWidget *dialog; local
768 GtkWidget *dialog; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/scripts/kconfig/
H A Dgconf.c499 GtkWidget *dialog, *label; local
505 dialog = gtk_dialog_new_with_buttons(_("Warning !"),
516 gtk_dialog_set_default_response(GTK_DIALOG(dialog),
520 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label);
523 result = gtk_dialog_run(GTK_DIALOG(dialog));
533 gtk_widget_destroy(dialog);
712 GtkWidget *dialog; local
731 dialog = gtk_message_dialog_new(GTK_WINDOW(main_wnd),
735 g_signal_connect_swapped(GTK_OBJECT(dialog), "response",
737 GTK_OBJECT(dialog));
744 GtkWidget *dialog; local
762 GtkWidget *dialog; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/examples/libsmbclient/
H A Dtree.c42 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...]

Completed in 114 milliseconds

12