HISE Logo Forum
    • Categories
    • Register
    • Login

    Value popup styling?

    Scheduled Pinned Locked Moved General Questions
    34 Posts 6 Posters 1.5k 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.
    • NatanN
      Natan @d.healey
      last edited by

      @d-healey The Code example is missing , And i can't find any starting points :(

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

        @Natanr Ya same for me, look at the screenshot I posted :)

        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

          Oh hang on, I have used this before. I was thinking it was something else. duh! I'll post an example, one sec...

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

          NatanN 1 Reply Last reply Reply Quote 1
          • NatanN
            Natan @d.healey
            last edited by

            @d-healey No Way , I'll Apperciate Your help Sir David , Youre A legend <3

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

              Christoph sent me this a while ago. - There might be more properties too, I don't know.

              //Value popup styling
              Content.setValuePopupData(
              {
                  "fontName": "Oxygen",
                  "fontSize": 18,
                  "itemColour": 0xC9877559,
                  "itemColour2": 0xC9877559,
                  "borderSize": 0
              });
              

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

              NatanN 1 Reply Last reply Reply Quote 2
              • NatanN
                Natan @d.healey
                last edited by

                @d-healey Yeaaaaaaaaaaaaaaaaaaaaaaah :0 Ha Ha , Youre Rock Dear David :)
                Thanks A Ton :)

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

                  @Natanr

                  HiseSnippet 932.3ocsVs0aiSDEdbZGfXHq1Uhe.V8oVoPVmxtED8gMjzKJZ2zDgCU71tS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MNeRtFfSh7W71F9B.P1YyHFF61yEECuH70TpIU7E.2aFygaAlubKv7rs.yy2BLGsEX9ps.yW+fXLeCx2lokwEiIfhYmlupyx5TAA5xx6HQ+ILbAnpB
                  

                  EDIT: Oups sorry David I didn't see your post...

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

                  NatanN 1 Reply Last reply Reply Quote 2
                  • NatanN
                    Natan @ustk
                    last edited by

                    @ustk Oh Wow , Youre Example is great To show the full potentials :)

                    1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon
                      last edited by

                      // set the popup styling
                      Content.setValuePopupData({
                          "fontName":"Netto",
                          "fontSize": 14,
                          "borderSize": 1,
                          "borderRadius": 1,
                          "margin":4,
                          "bgColour": 0xFF636363,
                          "itemColour": 0xFF000000,
                          "itemColour2": 0xFF000000,
                           "textColour": 0xFF636363 
                      });
                      

                      HISE Development for hire.
                      www.channelrobot.com

                      1 Reply Last reply Reply Quote 3
                      • lalalandsynthL
                        lalalandsynth
                        last edited by

                        Is it possible to make a custom value popup and I dont mean customizing the current one, including the Fade out of the popup ?

                        There is a bit of a problem when you invert the value of a slider via script and it still shows the non inverted value in the property editor Value popup , another reason why it would be cool to be able to just invert the min/max setting in the property editor.

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

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

                          @lalalandsynth I'd say with a script panel. And use a timer to fade the alpha before hiding it.

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

                          lalalandsynthL 1 Reply Last reply Reply Quote 1
                          • lalalandsynthL
                            lalalandsynth @ustk
                            last edited by

                            @ustk that could certainly work.

                            Quick paint routine question.

                            How can i use the layers?
                            I managed to start a layer but could not seem to end it as the started layer affected all layers beneath it ?

                            https://lalalandaudio.com/

                            https://lalalandsynth.com/

                            https://www.facebook.com/lalalandsynth

                            https://www.facebook.com/lalalandsynth

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

                              @lalalandsynth I think you only need layers for adding blur (and maybe some other effects) otherwise things are layered in the order they are drawn.

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

                              lalalandsynthL 1 Reply Last reply Reply Quote 1
                              • lalalandsynthL
                                lalalandsynth @d.healey
                                last edited by

                                @d-healey yes , i just saw that there should be a way to both start and end a layer, wondering how to do it.

                                https://lalalandaudio.com/

                                https://lalalandsynth.com/

                                https://www.facebook.com/lalalandsynth

                                https://www.facebook.com/lalalandsynth

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

                                  @lalalandsynth

                                  c7dd380f-7cdf-45da-a041-55f4c0f61715-image.png

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

                                  1 Reply Last reply Reply Quote 1
                                  • lalalandsynthL
                                    lalalandsynth
                                    last edited by

                                    Yep, saw that and managed to start a layer , just had problems ending it.

                                    Will have a better look.

                                    https://lalalandaudio.com/

                                    https://lalalandsynth.com/

                                    https://www.facebook.com/lalalandsynth

                                    https://www.facebook.com/lalalandsynth

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

                                      g.beginLayer(true);
                                      //Do stuff
                                      g.endLayer();
                                      

                                      I think layers might only work properly if you enable the opaque button in the panel's property editor.

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

                                      ustkU 1 Reply Last reply Reply Quote 0
                                      • ustkU
                                        ustk @d.healey
                                        last edited by ustk

                                        @d-healey @lalalandsynth Apparently, opaque is used to prevent the rendering of the components that are below, hence save CPU... Or something like this...
                                        Anyway, layers are not affected. You just draw with layers like in an image editor.
                                        Just a few weird things:

                                        • gaussianBlur doesn't work
                                        • When drawOnParent is set to true, the components below are showing through...
                                        • I haven't tested extensively, but for what I've seen layers are crashing Hise when used in custom LAF
                                        
                                        Panel1.setPaintRoutine(function(g)
                                        {
                                        	g.beginLayer(false);
                                                g.setColour(Colours.darkgreen);
                                        	g.fillEllipse([50,50,100,100]);
                                        	g.endLayer();
                                        	
                                        	g.beginLayer(true);
                                                g.setColour(Colours.deeppink);
                                        	g.drawRect([100, 20, 100, 150], 5);
                                        	g.boxBlur(5);
                                        	g.desaturate();
                                        	g.endLayer();
                                        	
                                        	g.beginLayer(false);
                                        	g.addNoise(0.5);
                                                g.setColour(Colours.yellow);
                                        	g.fillRect([120, 80, 100, 150]);
                                        	g.endLayer();
                                        });
                                        
                                        
                                        

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

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

                                          @ustk

                                          I don't see drawOnParent

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

                                          ustkU 1 Reply Last reply Reply Quote 0
                                          • ustkU
                                            ustk @d.healey
                                            last edited by

                                            @d-healey It's the bool argument of beginLayer()

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

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts