add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)
This commit is contained in:
parent
a318508b40
commit
5c9fd69ac1
8 changed files with 307 additions and 55 deletions
|
|
@ -2256,6 +2256,8 @@ class FurnaceGUI {
|
|||
std::vector<ImWchar> localeExtraRanges;
|
||||
|
||||
DivInstrument* prevInsData;
|
||||
DivInstrument cachedCurIns;
|
||||
DivInstrument* cachedCurInsPtr;
|
||||
|
||||
unsigned char* pendingLayoutImport;
|
||||
size_t pendingLayoutImportLen;
|
||||
|
|
@ -2922,6 +2924,9 @@ class FurnaceGUI {
|
|||
void doUndoSample();
|
||||
void doRedoSample();
|
||||
|
||||
void doUndoInstrument();
|
||||
void doRedoInstrument();
|
||||
|
||||
void play(int row=0);
|
||||
void setOrder(unsigned char order, bool forced=false);
|
||||
void stop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue