Lines Matching refs:button
35 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local
109 if (button == -1) { /* Input box selected */ in dialog_inputbox()
231 switch (button) { in dialog_inputbox()
233 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
237 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
243 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
251 switch (button) { in dialog_inputbox()
253 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
257 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
261 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
271 return (button == -1 ? 0 : button); in dialog_inputbox()