UI IDs and Namespaces
-
For a complex UI I like to split it up into different files which I can bring together in my main UI script with include statements. I use namespaces in each file with an inline function for each callback that the controls in that part of the UI use.
One thing I've noticed though is HISE won't let me have two controls with the same ID even if they are in different namespaces.
-
Yes that‘s true. The namespace concept has no meaning outside if the scripting engine but there must be a unique ID for presets, inter script communication, etc.