Home | History | Annotate | Download | only in lxdialog

Lines Matching defs:button

48 	int input_x = 0, scroll = 0, key = 0, button = -1;
118 if (button == -1) { /* Input box selected */
181 switch (button) {
183 button = 1; /* Indicates "Cancel" button is selected */
187 button = -1; /* Indicates input box is selected */
193 button = 0; /* Indicates "OK" button is selected */
201 switch (button) {
203 button = 0; /* Indicates "OK" button is selected */
207 button = 1; /* Indicates "Cancel" button is selected */
211 button = -1; /* Indicates input box is selected */
221 return (button == -1 ? 0 : button);