Lines Matching +full:button +full:-
4 * msgbox.c -- implements the message box and info box
6 * Copyright 2000-2019,2020 Thomas E. Dickey
31 * Display a message box. Program will pause and display an "OK" button
32 * if the parameter 'pauseopt' is non-zero.
38 /* *INDENT-OFF* */ in dialog_msgbox()
46 /* *INDENT-ON* */ in dialog_msgbox()
49 int button; in dialog_msgbox() local
72 button = dlg_default_button(); in dialog_msgbox()
97 page = height - (1 + 3 * MARGIN); in dialog_msgbox()
110 mouse_mkbutton(height - 2, width / 2 - 4, 6, '\n'); in dialog_msgbox()
111 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); in dialog_msgbox()
125 if (!dlg_button_key(result, &button, &key, &fkey)) in dialog_msgbox()
146 button = dlg_next_button(buttons, button); in dialog_msgbox()
147 if (button < 0) in dialog_msgbox()
148 button = 0; in dialog_msgbox()
150 height - 2, 0, in dialog_msgbox()
151 buttons, button, in dialog_msgbox()
155 button = dlg_prev_button(buttons, button); in dialog_msgbox()
156 if (button < 0) in dialog_msgbox()
157 button = 0; in dialog_msgbox()
159 height - 2, 0, in dialog_msgbox()
160 buttons, button, in dialog_msgbox()
164 result = dlg_enter_buttoncode(button); in dialog_msgbox()
167 result = dlg_ok_buttoncode(button); in dialog_msgbox()
171 result = dlg_ok_buttoncode(key - M_EVENT); in dialog_msgbox()
195 dlg_add_last_key(-1); in dialog_msgbox()