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

1234567

/freebsd-9.3-release/gnu/lib/libodialog/
H A Dinputbox.c22 #include <dialog.h>
23 #include "dialog.priv.h"
27 * Display a dialog box for inputing a string
34 WINDOW *dialog; local
49 /* center dialog box on screen */
57 dialog = newwin(height, width, y, x);
58 if (dialog == NULL) {
63 keypad(dialog, TRUE);
65 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
66 wattrset(dialog, border_att
[all...]
H A Dyesno.c24 #include <dialog.h>
25 #include "dialog.priv.h"
32 * Display a dialog box with two buttons - Yes and No
41 * Display a dialog box with two buttons - No and Yes
53 WINDOW *dialog; local
73 /* center dialog box on screen */
81 dialog = newwin(height, width, y, x);
82 if (dialog == NULL) {
87 keypad(dialog, TRUE);
89 draw_box(dialog,
[all...]
H A Dprgbox.c26 #include <dialog.h>
29 #include "dialog.priv.h"
38 WINDOW *dialog; local
55 /* center dialog box on screen */
63 dialog = newwin(height, width, y, x);
64 if (dialog == NULL) {
69 keypad(dialog, TRUE);
71 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
74 wattrset(dialog, title_attr);
75 wmove(dialog,
[all...]
H A Dmsgbox.c24 #include <dialog.h>
25 #include "dialog.priv.h"
41 WINDOW *dialog; local
57 /* center dialog box on screen */
65 dialog = newwin(height, width, y, x);
66 if (dialog == NULL) {
71 keypad(dialog, TRUE);
73 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
76 wattrset(dialog, title_attr);
77 wmove(dialog,
124 WINDOW *dialog; local
[all...]
H A Dlineedit.c24 #include <dialog.h>
25 #include "dialog.priv.h"
27 static void redraw_field(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, unsigned char instr[], int input_x, int scroll, chtype attr, chtype old_attr, int fexit, int attr_mask);
32 int line_edit(WINDOW* dialog, int box_y, int box_x, int flen, int box_width, chtype attr, int first, unsigned char *result, int attr_mask) argument
44 old_attr = getattrs(dialog);
45 keypad(dialog, TRUE);
56 redraw_field(dialog, box_y, box_x, flen, box_width, instr, input_x, scroll, attr, old_attr, FALSE, attr_mask);
59 wattrset(dialog, attr);
60 wrefresh(dialog);
61 key = wgetch(dialog);
200 redraw_field(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, unsigned char instr[], int input_x, int scroll, chtype attr, chtype old_attr, int fexit, int attr_mask) argument
[all...]
H A Dtextbox.c24 #include <dialog.h>
25 #include "dialog.priv.h"
42 * Display text from a file in a dialog box.
51 WINDOW *dialog, *text; local
93 /* center dialog box on screen */
101 dialog = newwin(height, width, y, x);
102 if (dialog == NULL) {
107 keypad(dialog, TRUE);
111 text = subwin(dialog, height-4, width-2, y+1, x+1);
114 fprintf(stderr, "\nsubwin(dialog,
[all...]
H A Dmenubox.c26 #include <dialog.h>
27 #include "dialog.priv.h"
45 WINDOW *dialog, *menu; local
101 /* center dialog box on screen */
109 dialog = newwin(height, width, y, x);
110 if (dialog == NULL) {
115 keypad(dialog, TRUE);
117 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
118 wattrset(dialog, border_attr);
119 wmove(dialog, heigh
[all...]
H A Dchecklist.c27 #include <dialog.h>
28 #include "dialog.priv.h"
36 * Display a dialog box with a list of options that can be turned on or off
47 WINDOW *dialog, *list; local
112 /* center dialog box on screen */
120 dialog = newwin(height, width, y, x);
121 if (dialog == NULL) {
126 keypad(dialog, TRUE);
128 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
129 wattrset(dialog, border_att
[all...]
/freebsd-9.3-release/contrib/dialog/
H A Dpause.c4 * pause.c -- implements the pause dialog
27 #include <dialog.h>
77 WINDOW *dialog; local
112 /* center dialog box on screen */
116 dialog = dlg_new_window(height, width, y, x);
117 dlg_register_window(dialog, "pause", binding);
118 dlg_register_buttons(dialog, "pause", buttons);
121 nodelay(dialog, TRUE);
124 (void) werase(dialog);
125 dlg_draw_box(dialog,
[all...]
H A Dyesno.c27 #include <dialog.h>
31 * Display a dialog box with two buttons - Yes and No.
56 WINDOW *dialog = 0; local
80 if (dialog != 0)
81 dlg_move_window(dialog, height, width, y, x);
85 dialog = dlg_new_window(height, width, y, x);
86 dlg_register_window(dialog, "yesno", binding);
87 dlg_register_buttons(dialog, "yesno", buttons);
90 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
91 dlg_draw_bottom_box(dialog);
[all...]
H A Dmsgbox.c27 #include <dialog.h>
58 WINDOW *dialog = 0; local
85 if (dialog != 0)
86 dlg_move_window(dialog, height, width, y, x);
90 dialog = dlg_new_window(height, width, y, x);
91 dlg_register_window(dialog, "msgbox", binding);
92 dlg_register_buttons(dialog, "msgbox", buttons);
98 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
99 dlg_draw_title(dialog, title);
101 wattrset(dialog, dialog_att
[all...]
H A Dprogressbox.c26 #include <dialog.h>
108 pause_for_ok(WINDOW *dialog, int height, int width) argument
125 dlg_register_window(dialog, "progressbox", binding);
126 dlg_register_buttons(dialog, "progressbox", buttons);
128 dlg_draw_bottom_box(dialog);
130 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
133 key = dlg_mouse_wgetch(dialog, &fkey);
161 dlg_unregister_window(dialog);
175 WINDOW *dialog, *text; local
189 dialog
[all...]
H A Dversion.c4 * version.c -- dialog's version string
23 #include <dialog.h>
H A Dinputbox.c27 #include <dialog.h>
41 * Display a dialog box for entering a string
77 WINDOW *dialog; local
113 dialog = dlg_new_window(height, width, yorg, xorg);
114 dlg_register_window(dialog, "inputbox", binding);
115 dlg_register_buttons(dialog, "inputbox", buttons);
119 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
120 dlg_draw_bottom_box(dialog);
121 dlg_draw_title(dialog, title);
123 wattrset(dialog, dialog_att
[all...]
H A Dtimebox.c4 * timebox.c -- implements the timebox dialog
24 #include <dialog.h>
124 CleanupResult(int code, WINDOW *dialog, char *prompt, DIALOG_VARS * save_vars) argument
126 dlg_del_window(dialog);
137 * Display a dialog box for entering a date
184 WINDOW *dialog; local
213 dialog = dlg_new_window(height, width,
218 return CleanupResult(DLG_EXIT_ERROR, dialog, prompt, &save_vars);
221 dlg_register_window(dialog, "timebox", binding);
222 dlg_register_buttons(dialog, "timebo
[all...]
H A Dguage.c4 * guage.c -- implements the gauge dialog
27 #include <dialog.h>
120 WINDOW *dialog = obj->obj.win; local
123 if (dialog != 0 && obj->obj.input != 0) {
124 (void) werase(dialog);
125 dlg_draw_box(dialog, 0, 0, obj->height, obj->width, dialog_attr, border_attr);
127 dlg_draw_title(dialog, obj->title);
129 wattrset(dialog, dialog_attr);
130 dlg_draw_helpline(dialog, FALSE);
131 dlg_print_autowrap(dialog, ob
291 WINDOW *dialog; local
[all...]
/freebsd-9.3-release/crypto/openssh/contrib/
H A Dgnome-ssh-askpass1.c73 GtkWidget *dialog, *entry, *label; local
78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK,
85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox),
90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE,
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL);
97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0);
98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE);
100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE);
101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)
[all...]
H A Dgnome-ssh-askpass2.c80 ok_dialog(GtkWidget *entry, gpointer dialog) argument
82 g_return_if_fail(GTK_IS_DIALOG(dialog));
83 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
92 GtkWidget *dialog, *entry; local
99 dialog = gtk_message_dialog_new(NULL, 0,
106 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), entry, FALSE,
112 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH");
113 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
114 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE);
115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog))
121 G_CALLBACK(ok_dialog), dialog); local
[all...]
/freebsd-9.3-release/contrib/dialog/samples/
H A Dmsgbox-utf89 ${DIALOG-dialog} "$@" \
/freebsd-9.3-release/gnu/usr.bin/dialog/
H A DMakefile3 DIALOG= ${.CURDIR}/../../../contrib/dialog
4 PROG= dialog
/freebsd-9.3-release/usr.sbin/bsdinstall/scripts/
H A Dnetconfig_ipv435 f_include $BSDCFG_SHARE/dialog.subr
43 "") dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \
49 dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' --yesno 'Would you like to use DHCP to configure this interface?' 0 0
54 dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0
58 dialog --backtitle 'FreeBSD Installer' --msgbox "DHCP lease acquisition failed." 0 0
70 IF_CONFIG=$(dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' --form 'Static Network Interface Configuration' 0 0 0 \
H A Dnetconfig_ipv639 f_include $BSDCFG_SHARE/dialog.subr
50 "") dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \
59 dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \
63 dialog --backtitle 'FreeBSD Installer' \
69 dialog --backtitle 'FreeBSD Installer' --msgbox "SLAAC failed." 0 0
109 IF_CONFIG=$(echo ${ADDRS} | xargs dialog --backtitle 'FreeBSD Installer' \
H A Dwlanconfig50 (dialog --backtitle "FreeBSD Installer" --title "Error" --msgbox \
56 dialog --backtitle "FreeBSD Installer" --title "Error" --msgbox \
63 dialog --backtitle "FreeBSD Installer" --title "Scanning" --ok-label "Skip" \
73 dialog --backtitle "FreeBSD Installer" --title "Error" \
80 NETWORK=`sh -c "dialog --extra-button --extra-label \"Rescan\" \
101 PASS=`dialog --insecure --backtitle "FreeBSD Installer" \
115 USERPASS=`dialog --insecure --backtitle "FreeBSD Installer" \
138 WEPKEY=`dialog --insecure --backtitle "FreeBSD Installer" \
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c32 #include <dialog.h>
65 WINDOW *dialog, *partitions; local
116 dialog = dlg_new_window(height, width, y, x);
117 dlg_register_window(dialog, "diskeditorbox", binding);
118 dlg_register_buttons(dialog, "diskeditorbox", buttons);
120 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
121 dlg_draw_bottom_box(dialog);
122 dlg_draw_title(dialog, title);
123 wattrset(dialog, dialog_attr);
126 partitions = dlg_sub_window(dialog, partlist_heigh
[all...]
/freebsd-9.3-release/contrib/binutils/binutils/
H A Drcparse.y45 static rc_dialog dialog;
181 | input dialog
349 dialog: label
353 memset (&dialog, 0, sizeof dialog);
354 dialog.x = $5;
355 dialog.y = $6;
356 dialog.width = $7;
357 dialog.height = $8;
358 dialog
[all...]

Completed in 143 milliseconds

1234567