Lines Matching defs:state
74 int state;
95 state = dialog_vars.default_button >= 0 ? dlg_default_button() : sTEXT;
96 first = (state == sTEXT);
159 dlg_draw_buttons(dialog, height - 2, 0, buttons, state, FALSE, width);
170 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey);
186 if (state == sTEXT) { /* Input box selected */
214 state = 0;
218 state = dlg_prev_ok_buttonindex(state, sTEXT);
222 state = dlg_next_ok_buttonindex(state, sTEXT);
227 result = (state >= 0) ? dlg_enter_buttoncode(state) : DLG_EXIT_OK;