order_gui.c
changeset 4000 4009d092b306
parent 3793 7fe24e10ea63
child 4012 62bea6a7f948
equal deleted inserted replaced
3999:69dfaadb5c3c 4000:4009d092b306
   466 
   466 
   467 		for (i = 0; i < lengthof(_order_keycodes); i++) {
   467 		for (i = 0; i < lengthof(_order_keycodes); i++) {
   468 			if (e->keypress.keycode == _order_keycodes[i]) {
   468 			if (e->keypress.keycode == _order_keycodes[i]) {
   469 				e->keypress.cont = false;
   469 				e->keypress.cont = false;
   470 				//see if the button is disabled
   470 				//see if the button is disabled
   471 				if (!(HASBIT(w->disabled_state, (i + 4)))) {
   471 				if (!HASBIT(w->disabled_state, i + 4)) _order_button_proc[i](w, v);
   472 					_order_button_proc[i](w, v);
       
   473 				}
       
   474 				break;
   472 				break;
   475 			}
   473 			}
   476 		}
   474 		}
   477 		break;
   475 		break;
   478 	}
   476 	}