mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 14:05:12 +00:00
parent
32ca799bd3
commit
3634a51efd
1 changed files with 18 additions and 0 deletions
|
@ -1685,11 +1685,17 @@ void FurnaceGUI::doAction(int what) {
|
|||
case GUI_ACTION_ORDERS_UP:
|
||||
if (curOrder>0) {
|
||||
setOrder(curOrder-1);
|
||||
if (orderEditMode!=0) {
|
||||
curNibble=false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case GUI_ACTION_ORDERS_DOWN:
|
||||
if (curOrder<e->curSubSong->ordersLen-1) {
|
||||
setOrder(curOrder+1);
|
||||
if (orderEditMode!=0) {
|
||||
curNibble=false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case GUI_ACTION_ORDERS_LEFT: {
|
||||
|
@ -1702,6 +1708,9 @@ void FurnaceGUI::doAction(int what) {
|
|||
break;
|
||||
}
|
||||
} while (!e->curSubSong->chanShow[orderCursor]);
|
||||
if (orderEditMode!=0) {
|
||||
curNibble=false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUI_ACTION_ORDERS_RIGHT: {
|
||||
|
@ -1714,6 +1723,9 @@ void FurnaceGUI::doAction(int what) {
|
|||
break;
|
||||
}
|
||||
} while (!e->curSubSong->chanShow[orderCursor]);
|
||||
if (orderEditMode!=0) {
|
||||
curNibble=false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUI_ACTION_ORDERS_INCREASE: {
|
||||
|
@ -1721,6 +1733,9 @@ void FurnaceGUI::doAction(int what) {
|
|||
if (e->curOrders->ord[orderCursor][curOrder]<0xff) {
|
||||
e->curOrders->ord[orderCursor][curOrder]++;
|
||||
}
|
||||
if (orderEditMode!=0) {
|
||||
curNibble=false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUI_ACTION_ORDERS_DECREASE: {
|
||||
|
@ -1728,6 +1743,9 @@ void FurnaceGUI::doAction(int what) {
|
|||
if (e->curOrders->ord[orderCursor][curOrder]>0) {
|
||||
e->curOrders->ord[orderCursor][curOrder]--;
|
||||
}
|
||||
if (orderEditMode!=0) {
|
||||
curNibble=false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUI_ACTION_ORDERS_EDIT_MODE:
|
||||
|
|
Loading…
Reference in a new issue