Lines Matching refs:button
35 int input_x = 0, key = 0, button = -1;
111 if (button == -1) { /* Input box selected */
234 switch (button) {
236 button = 1; /* Indicates "Help" button is selected */
240 button = -1; /* Indicates input box is selected */
246 button = 0; /* Indicates "OK" button is selected */
254 switch (button) {
256 button = 0; /* Indicates "OK" button is selected */
260 button = 1; /* Indicates "Help" button is selected */
264 button = -1; /* Indicates input box is selected */
274 return (button == -1 ? 0 : button);