47f54ba6f - remove Content.setColour & ScriptComponent.setColour - why ????
-
In the HISE develop branch these commits perform a removal of the setColour
47f54ba6f - remove Content.setColour & ScriptComponent.setColour
0319df243 - remove Content.setColour & ScriptComponent.setColourIt looks like they've just been straight up replaced with .set() calls ?? Why the change?? Just curious.
-
@Orvillain yes they were relicts of long before the set call and I just forgot they exist until the AI tried to use it and messed up the magic numbers. There‘s no need for it - they just route to the set call but without a self-contained explanation.
The content.setColour call sets the background color of the interface and can easily be replaced with a panel if a plan colour background is what you want.
Are you using these methods? -
@Christoph-Hart said in 47f54ba6f - remove Content.setColour & ScriptComponent.setColour - why ????:
@Orvillain yes they were relicts of long before the set call and I just forgot they exist until the AI tried to use it and messed up the magic numbers. There‘s no need for it - they just route to the set call but without a self-contained explanation.
The content.setColour call sets the background color of the interface and can easily be replaced with a panel if a plan colour background is what you want.
Are you using these methods?I was! About 30 replacements later, I'm now not! They're still reference in the documentation on the website. I was using the call on a ton of script button objects.