Thanks @Jason_Coon The Twinkefox setup is what I use in most of my setups so let’s stick to that one. This time I’m adding a html interface since I’m using a Huzzah. Therefor it would be handy to output the colorpalette names from the ActivePaletteList[]. Do you know how to write this?
What I ended up doing (as a hack) was after I finalized my colorpalettelist I made a separate simple array with the names I wanted displayed (keeping them in the same order) and would just use the number to get the name from my simple list for printing out. Always have to remember to update both places though if you update the colorpalettelist list. I would like to learn the proper way though.
It does not make any sense to try to read a name out of an array of palettes. You must use something like an enum and assign a name to each enum value then use the enum/name to index into the array of palettes.
I tried, but could not get it to work like the patterns list, where there’s a struct that holds both the palette and the name. I tried several different ways, but could not get it to compile. It’s beyond my current expertise.
I just used two arrays, one with the palettes, and another with their names. It works, if it’s not the most elegant. With significantly more palettes, it could become difficult to keep the two different lists in sync.