Forum

    • Register
    • Login
    • Search
    • Categories

    HISE popup

    General Questions
    2
    8
    30
    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.
    • ForeverLive
      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.healey 1 Reply Last reply Reply Quote 0
      • d.healey
        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

        ForeverLive 1 Reply Last reply Reply Quote 1
        • ForeverLive
          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.healey 1 Reply Last reply Reply Quote 0
          • d.healey
            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

            ForeverLive 1 Reply Last reply Reply Quote 1
            • ForeverLive
              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.healey 1 Reply Last reply Reply Quote 0
              • d.healey
                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

                ForeverLive 1 Reply Last reply Reply Quote 3
                • ForeverLive
                  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.healey 1 Reply Last reply Reply Quote 1
                  • d.healey
                    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

                    3
                    Online

                    1.2k
                    Users

                    7.0k
                    Topics

                    64.8k
                    Posts