HISE Logo Forum
    • Categories
    • Register
    • Login

    panel value privacy?

    Scheduled Pinned Locked Moved Scripting
    27 Posts 2 Posters 1.1k Views
    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.
    • ?
      A Former User @d.healey
      last edited by

      @d-healey Cheers, I still have some png sliders so it'll still come in handy for that :)

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        This was all just so I don't have to individually make factory presets 😎

        1 Reply Last reply Reply Quote 1
        • ?
          A Former User
          last edited by

          @d-healey Going off your snippet, how would I separate elements for different L&F? Not all of my UI Buttons look the same

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            Ah just saw your post: https://forum.hise.audio/topic/2761/custom-look-and-feel-per-component/2

            was this ever implemented?

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @A Former User
              last edited by d.healey

              @iamlamprey This is the PITA when you first start that I warned you about :p You can use the text property of the control to differentiate them. But what if I want to use the text property to show some text I hear you ask... then you have to get clever with substrings.

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

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @d.healey
                last edited by

                @d-healey buttons can't have .data can they? sheesh

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @A Former User
                  last edited by

                  @iamlamprey Nope that's just a thing for panels.

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

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

                    You don't just have to rely on the text property. Think outside the box, what other aspects can you use to distinguish one control from another...

                    Do you have some really thin sliders and some wider ones, then all you need is an if statement to check the width and you can now tell them apart. I'm doing this in a script right at this moment ;)

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

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @d.healey
                      last edited by

                      @d-healey Yeh nice, doesn't seem too bad :)

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        29

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.3k

                        Posts