per-channel colors

cherry-picked from ffcfc51a086de91ed67a5b144fec82b010b5acb8, but without the tri-state checkbox
sorry for being impatient again, im bored and have nothing to do
This commit is contained in:
Eknous-P 2025-11-12 19:03:48 +04:00
parent 7f9baedc89
commit fa0e5494ad
4 changed files with 28 additions and 2 deletions

View file

@ -642,6 +642,7 @@ void DivSong::findSubSongs(int chans) {
memcpy(theCopy->chanShow,i->chanShow,DIV_MAX_CHANS*sizeof(bool));
memcpy(theCopy->chanShowChanOsc,i->chanShowChanOsc,DIV_MAX_CHANS*sizeof(bool));
memcpy(theCopy->chanCollapse,i->chanCollapse,DIV_MAX_CHANS);
memcpy(theCopy->chanColor,i->chanColor,DIV_MAX_CHANS*sizeof(unsigned int));
for (int k=0; k<DIV_MAX_CHANS; k++) {
theCopy->chanName[k]=i->chanName[k];