HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE popup

    Scheduled Pinned Locked Moved General Questions
    8 Posts 2 Posters 420 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.
    • ForeverLiveF
      ForeverLive
      last edited by ForeverLive

      Greetings. I know it could be stupid question but is it possible to change fade time of a slider value popup? And is it possible to style it? Thank you.

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

        @ForeverLive You can't change the fade time without editing the source code. You can change the styling with this function:

            Content.setValuePopupData(
            {
                "fontName": "bold",
                "fontSize": 20,
                "borderSize": 2,
                "borderRadius": 5,
                "margin": 10,
                "bgColour": Colours.lightgrey,
                "itemColour": 0xa8000000,
                "itemColour2": 0xa8000000,
                "textColour": Colours.white
            });
        

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

        ForeverLiveF 1 Reply Last reply Reply Quote 1
        • ForeverLiveF
          ForeverLive @d.healey
          last edited by

          @d-healey what you mean by changing source code? Source code of HISE or the component? My apologies, i'm not very familiar with this.

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

            @ForeverLive HISE (or possibly JUCE depending on where the code is for the value popup).

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

            ForeverLiveF 1 Reply Last reply Reply Quote 1
            • ForeverLiveF
              ForeverLive @d.healey
              last edited by

              @d-healey ok, i assume it would be easier to not use popup at all. Thank you for the answer.

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

                @ForeverLive Why would you assume that? Looks like an easy edit to me.

                25fd4ac6-e909-468f-8bd1-d52a387aa165-image.png

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

                ForeverLiveF 1 Reply Last reply Reply Quote 3
                • ForeverLiveF
                  ForeverLive @d.healey
                  last edited by

                  @d-healey Is it in HISE source code? Should i recompile HISE after that edit or it's in project JUCE code? Sorry for lot's of questions.

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

                    @ForeverLive Yes it's in the HISE source code. Yes you need to recompile HISE for the change to take effect. Stop apologizing, these are good questions :)

                    The function is here - https://github.com/christophhart/HISE/blob/develop/hi_scripting/scripting/api/ScriptComponentWrappers.cpp#L791

                    I haven't tested it, I'm just guessing that this is the code that needs to be changed.

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

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

                    47

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.9k

                    Posts