Lines Matching refs:button
35 int input_x = 0, key = 0, button = -1;
109 if (button == -1) { /* Input box selected */
232 switch (button) {
234 button = 1; /* Indicates "Help" button is selected */
238 button = -1; /* Indicates input box is selected */
244 button = 0; /* Indicates "OK" button is selected */
252 switch (button) {
254 button = 0; /* Indicates "OK" button is selected */
258 button = 1; /* Indicates "Help" button is selected */
262 button = -1; /* Indicates input box is selected */
272 return (button == -1 ? 0 : button);