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.


  • administrators

    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.


Log in to reply
 

3
Online

315
Users

914
Topics

5.9k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.