GUI: new pattern cursor logic, part 1 - READ

this new pattern cursor logic will finally allow you to click on any
cell of the previous/next pattern and take you there
on top of that you'll be able to make selections that go beyond the
boundaries of a pattern

operations are not supported yet, so don't try it out!
it won't work properly until I adapt the code.
This commit is contained in:
tildearrow 2025-06-27 20:37:23 -05:00
parent eac8c03158
commit b9604c5729
5 changed files with 97 additions and 46 deletions

View file

@ -645,7 +645,8 @@ void FurnaceGUI::doAction(int what) {
selEndPat.xCoarse=e->getTotalChannelCount()-1;
selEndPat.xFine=2+e->curPat[selEndPat.xCoarse].effectCols*2;
selEndPat.y=e->curSubSong->patLen-1;
doCollapse(collapseAmount,SelectionPoint(0,0,0),selEndPat);
selEndPat.order=curOrder;
doCollapse(collapseAmount,SelectionPoint(0,0,0,curOrder),selEndPat);
break;
}
case GUI_ACTION_PAT_EXPAND_PAT: {
@ -653,7 +654,8 @@ void FurnaceGUI::doAction(int what) {
selEndPat.xCoarse=e->getTotalChannelCount()-1;
selEndPat.xFine=2+e->curPat[selEndPat.xCoarse].effectCols*2;
selEndPat.y=e->curSubSong->patLen-1;
doExpand(collapseAmount,SelectionPoint(0,0,0),selEndPat);
selEndPat.order=curOrder;
doExpand(collapseAmount,SelectionPoint(0,0,0,curOrder),selEndPat);
break;
}
case GUI_ACTION_PAT_COLLAPSE_SONG: