iterate over Colours....
-
Is it possible to iterate over all int "Colours in Hise?
-
@ulrik Do you mean the HISE colour constants?
-
@d-healey yes
-
@ulrik I found there are 139 colour constants, it would be nice to iterate over them all
-
@ulrik Not that I know of, they are standalone constants. You'd need to add them to an array.
-
@d-healey Ok, thank you David!
-
@ulrik Ok I made this:
Project here:
Colour ConstantsI copied the constants from "juce_Colours.cpp" and made some arrays from it, however all those colours are not present in Hise, 4 is missing.
@Christoph-Hart is this on purpose or is it a bug? -
@ulrik I updated this app with:
- search function (search in the constants names)
- favourites, and favourites collections (add & delete favourites and whole collection)
Maybe it can be handy when to copy colours from, when developing plugins/apps in Hise?
Maybe I'll implement a colour editor as well, I don't know..
If you want to try it out, here's the project:
Colour Constants