switch button, how!?
-
might be another stupid question but what GUI element would be used to make an off/on switch type button and how?
-
@Morphoice Add a button to your UI. Done.
-
@Morphoice Just use the regular stock Hise button
https://docs.hise.dev/ui-components/plugin-components/button.htmlYou can set its LookAndFeel as you wish with:
https://docs.hise.dev/glossary/custom_lookandfeel.html#generic-ui-elements -
A simple On/Off button
HiseSnippet 905.3ocuV0saSiDEdlzZDw6tHPhG.qdU.wVkeJsDUsJYaRCazRKQ0cK6UKZh8wMip8LV1iKDPHwqAWAuF7HvywdE2suA6dF+SsSaUoDsfuHJm++7Y9NmwShjNPbrLhPMObdHPn+ng8bgZ1fYLtfLdHgdKi8XwJHxJS0NyCYwwfKgRW4wZEz5qRRe9md6v7YBGnTEgbjj6.OgGvUkZmz+2499iXtvg7fJduQ+wNRw.ouLAwyJFMIgLmSXGC6yztUyf7ar3YD58M.uNdasY2GAazj00q6Ftca2si6lL21Lm1MgtdtaMsMi4Qn2XWWtRFYqXJHFS5NR241yjuPjUfi3w7o9fVnEwFqblZxfYbe2IEMmXBgt5jxV0JYsp6ZrG2kel9xV1sSMXUFQ0lFs1UAoVeEPhVARqlAo6XX6DwCUkVz34GLFKvSPOFd1TEJY9Rp8dpw.I5gPsd.6DXTDJbVDM5zr4Crvet21lll3ATrx5TVjkMOHzGN.NEhlZ8KVorl0OFT654ANpFqU09ZowxE9bAX4kHbTbovRJxrpqcjzugiLHTJPT7.r.9Iv8LesY8poY8XPUf+Fs94Lm117MaaV.er9CJxRi0JJtNt7hLf46OEYUMNWw0.rBv1WpfmJZjh.y2XZcdSddWps7j4CQWpYMcO5pBrgHIXJDU88W6Hd7tHm4FWONiSVWohiRwXAW8zPHWdjz2UyEz++hLLRdaUy0xQH5pJkocqbl1NIJkTP3XRtoQVKkjh9pKFH+w3gLEqHOXJwxDBQJt9sgNDNE2RjwfqaLDhOQICS8M+nDa.e4p9xyp3aOp+7xx+W8IWbPAGQktI9L0hys5MZ4FvClEFVzCDhXtZd0Wruhg4lW4v70Eh2wXBW4L6xwXsKAiXO+aAFyWA9SFYi6k.bUiQ+4xtuq40eeW8CK3CU1Ojee0BppBkCjx.a9qJnle3cu6y8FxBB4hiyU0uSm+t2y.0Svf8Kc6S8FFM+b59bumwcUyppXTD.uBvylJU3i8nq7+zBexAxDEh08XpHNx1M1OIvFuqzAv1uP.9XxMn0zysYxM0xZJfMHbSE9W7I2XKsLM2XqBieWpQ.yIR9bmrMJ5S1alpAeuEo2zWG+jCT1p042jPHA3EqO2wYwTcg.aurA1YYCbikMvGtrAt4xF3VKafO5KGn96d90DkLHa2Dgr2jcS27So6JXHKOcNj7e.fAxqK
-
@orange damn! i thought it was just used to trigger something instead of having an on/off state, thanks! that worked well.