HISE Logo Forum
    • Categories
    • Register
    • Login

    SliderPack popup value.

    Scheduled Pinned Locked Moved General Questions
    6 Posts 4 Posters 355 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.
    • marcLabM
      marcLab
      last edited by

      Hey,

      is there a way to change the sliderpack popup value?
      I would love to find a way to change a sliderpack popup value from half-steps (1,2,3,4...12) to intervals (m2,M2,m3,M3, P4) etc...

      spk.gif

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

        @marcLab I see where this is going :p We need another setValuePopup function.

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

        marcLabM 1 Reply Last reply Reply Quote 2
        • marcLabM
          marcLab @d.healey
          last edited by

          @d-healey hahah indeed! :)

          1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G
            last edited by

            do you know if this was ever implemented? @d-healey

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @Adam_G
              last edited by ustk

              @Adam_G Use a custom LAF with this function drawSliderPackTextPopup

              Link Preview Image
              HISE | Docs

              favicon

              (docs.hise.audio)

              const var spPopupLaf = Content.createLocalLookAndFeel();
              
              spPopupLaf.registerFunction("drawSliderPackTextPopup", function(g, obj)
              {
              	g.setColour(Colours.indianred);
              	g.drawAlignedText("Party time!!!", obj.area, "centred");
              });
              
              mySliderPack.setLocalLookAndFeel(spPopupLaf);
              

              Can't help pressing F5 in the forum...

              Adam_GA 1 Reply Last reply Reply Quote 0
              • Adam_GA
                Adam_G @ustk
                last edited by

                @ustk were-not-worthy-waynes-world.gif

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

                26

                Online

                1.7k

                Users

                11.8k

                Topics

                102.8k

                Posts