Forum

    • Register
    • Login
    • Search
    • Categories

    Selecting Different Gui Themes through buttons

    General Questions
    3
    3
    86
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D.Williams23
      D.Williams23 last edited by

      Has anyone been able to set something like this up as of yet? If so I would like to learn how to make this happen. Basically just have like a section to select different themes by clicking on different buttons.

      lalalandsynth 1 Reply Last reply Reply Quote 0
      • d.healey
        d.healey last edited by

        Yea I did this a few years ago - https://forum.hise.audio/topic/395/example-of-themed-gui/2 - and I'm doing it now in my current project. A theme is just an object with a bunch of settings that you can reference in your script. It might contains colour codes, widget co-ordinates or dimensions, etc. You can make one file for each theme and load them as JSON or just use a single file.

        It's only really possible using vector graphics though as images can't be pooled unless they are assigned to widgets, and you'd need to have a new set of widgets for every theme which is impractical.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 1
        • lalalandsynth
          lalalandsynth @D.Williams23 last edited by

          @D-Williams23 i have done this with pngs in other plugins not madein Hise but i just changed the main background image color.

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          20
          Online

          1.1k
          Users

          6.8k
          Topics

          62.4k
          Posts