HISE Logo Forum
    • Categories
    • Register
    • Login

    SliderPack popup value.

    Scheduled Pinned Locked Moved General Questions
    6 Posts 4 Posters 467 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
      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 @A Former User
        last edited by

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

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        ? 1 Reply Last reply Reply Quote 2
        • ?
          A Former User @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

              https://docs.hise.audio/glossary/custom_lookandfeel.html

              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);
              

              Hise made me an F5 dude, browser just suffers...

              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

                12

                Online

                2.0k

                Users

                12.7k

                Topics

                110.5k

                Posts