HISE Logo Forum
    • Categories
    • Register
    • Login

    Floating Tile Button

    Scheduled Pinned Locked Moved General Questions
    50 Posts 7 Posters 3.9k 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.
    • Tod SlaughterT
      Tod Slaughter
      last edited by

      Pretty please can someone do a snippet for calling (pop up) a floating tile from a button?

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

        @tod-slaughter

        HiseSnippet 900.3ocsV0raabCDlTVznZSU9AnO.KxIYfTCoz7GPPQUkrUfPhcTibM5s.5cojHLWRAtbssPfeG5qRuzyAHGyaRNki4lyvkTZ2sUNvp.cOo4W9My7wgZjVEwRSUZDtwQKlyP3umLdgzLq+LJWhFtGBeaxAzTCSG5T0awbZZJKFgwa8BqBbi5n7uO+K8nBpLhUnBgNVwiXuhmvMEZG08kbgX.MlcDOoj2Op6vHkruRnx.7rEoMZNM5T5T1gTqa0HH716GyMJ8XC0vRAe5ohWLdl5boy+i4o7SDLqPGzXHQN0n9y3h3QKq0TDBWeTQkukqx+AxA7X9J8Ecf6laHrHhx8.bspPpdEH045fz.kH1lfqAd3RvqtCd2iLNRymaJrXw1sHCkvvYBEZ6kgkyWTs+FS5q.OjlcSnmxFnAgUQz5Isa+fvG2t8NOuYPy.n4mZBOipCGHTTCWN8Htf0I7mCWlhoLSeUxbkDDZc+JdceaNJxPuLiQIu9X81yix+6cSsdHMZknOUHNAl8s7l52ygPtTvkrvIYxHCWICWYtUjKvG.GtHisSyf20LHD9pfwcSg4h+HZ4b74AWtJaJ4gJC60xV6D7tfFAWF7OsLYx5L4SnfoWmUKEW+MBqkLK4DldIv89AS8pzpsuYzpHWytjiJ4PI2754LubAwqyZHdH+zxRA8.Db0jS.usm.5Z5HNjjFD+D.ki9xW7Q+9v8nF5xDA4DNm4LsgaKG7dryfECNlcCxdrzSMp4vc7UTDDtoweszcrkmj4G9cHUFtnKJN9eq6hBgi6dNO1LCgI3OfQnYL9zYFqzmJpWGPtCYjlArvdZ04oLM5joKWF0Xav2uXyF2vRJz9WW8mWUU6Csp+36uJWsgcgov4kZy6K3sI.E8RzYKGj3sPkJ952fddQA+92TpfaeQWz+d8ArDSEmInlpa1rqv8F.ZYkUH10DxTtYQ4U7av5t1qcc2ZYc2P3dOxHtIZ15was0fWf88+Md8Odzjr+jIrHSAXqSF7G+WeoXCfxaTY1q.GPMZNPHHGlkLF3aQL.IRISjZY50rLcmbaqrsyLlIiyEtB97F6XkwdicVZDkPizp25WwZed56x0.XRl+xbC3uH.xgqVCXwcB7l4aihrMheDP95i3gabD+zFGwi13Hd7FGwS13Hd5FGwy9FQX+CJ+ZlQk3tV.JFsuaMCdeIEXU4LPzWQzZgKZ
        

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

        1 Reply Last reply Reply Quote 0
        • Tod SlaughterT
          Tod Slaughter
          last edited by

          Thank you David, it doesn't pop up/out?

          d.healeyD 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @Tod Slaughter
            last edited by

            @tod-slaughter Not sure what you mean?

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

            Tod SlaughterT 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Tod Slaughter
              last edited by

              @tod-slaughter I just reread your post, I think you want something more like this. The colours seem a bit buggy though...

              HiseSnippet 876.3ocsV01ZSDDDduzdhIZEK3Ofi7oTnJ2ESRaUDiIsQBZqASUDTQ2d2lj0d2tG6MmsgR+O6+.c16kbW0PsQvDHvLOyL6yNusYjR5xhhjJhQ0imGxHF20b7bALq+LJWPFtOw3dlGRi.lxJUUu4gznHlGwvXsWpUXTccRxme77dTepvkUnhPduj6xdMOfCEZG08Ube+ATO1w7fRV2p6PWonuzWFi7YMSaRH08T5T1QTsYULIF25.ONHUiAJvhHFq2S5Me7L4YhT6eOOhehOSK3PFiAJU8.oumlwZsj9y39dixu2QDLJiJxBqklEdf4gbO9B8EYi6m.XU3Q47gQkqidN+c5YuL5YThdqmRuMMG6p3gPAhla2wbn.KTSnXInLsRskT4zJl8knEB3QAzSYCTnvBOZzw1daq111a8zMpo+hkhHv56TkUuX.jBGqmYk69TFzWFDJEnPi5Y30y8LS9QQLXjLLNbeJParQMKqKz+XYUGvKQ8mXUOkXC7kTfKldL2mUe6LS3dZCJC4r.6bDpyt4RyQocWHcF2ClgZZ01IW0LFe5L.007wsx0kcQNNiHiTLjr8TxyhXpEmyISS6E0gyoi8Ns1qcwwxAVPAbyc2oydM2ooyeB2LAeOzYGGm143.6bnj6+NrNkoI1EeR8Iwk00ZuLA6iNXYJsPssUSa6OWaqmNIV3BbovRJNRBr2HZrUsKpUs1k09cjISVFjNYnj99L0xP0ynpqwsFh3fSXpswVE+XVtcXq5UmEt0MaVvMsvTxPoXnfCuIjkIe8CyjrJqdtIifnoPxTy8xlZR6OIbLHUMyZVIIru7xLx6FpqB4ABiIdNgLEv0WGi8YeG2rkNNV0beVzofLLw1r4BLCbCN1yKNxu0c9BgtesK4OG6wkORuXeJb0MR50vY.Xk4Ji95waQDGlW9lsBqoruwaQuozcSyQbvc1x4akkvWr.7+luYK82v7fISXtPAYW2bvG9W2vuBT4sxX8VtCofhiMDlGEGLF2L3xPlHDLe7fLMpnatSks0x5LyXlvKQ3m3mLPGsrQFnSNHIf5pjewMcjP+rxsSzfbRj75ZU7YdT1Zwjfl2A3acew0UmHdHx7k6QyU1iGuxdzZk8n8J6QmU1icVYO18Z7P+GKdQLHCRGKPEiNHYCjgwABJ1UkzAR9EvV563w
              

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

              1 Reply Last reply Reply Quote 0
              • Tod SlaughterT
                Tod Slaughter @d.healey
                last edited by

                @d-healey alt text

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

                  @tod-slaughter Ya, see my last post :)

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

                  1 Reply Last reply Reply Quote 0
                  • Tod SlaughterT
                    Tod Slaughter
                    last edited by

                    alt text

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

                      @tod-slaughter Like I said, the colours seem to be messed up/buggy. @Christoph-Hart ?

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

                      1 Reply Last reply Reply Quote 0
                      • Tod SlaughterT
                        Tod Slaughter
                        last edited by

                        I liked your first example btw, really cool but there's a toggle close button in the preset browser that can accidentally destroy the gui

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

                          @tod-slaughter That only appears in the preview I think, not in the exported plugin (although I could be wrong about this).

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

                          Tod SlaughterT 1 Reply Last reply Reply Quote 0
                          • Tod SlaughterT
                            Tod Slaughter @d.healey
                            last edited by

                            @d-healey You're right I just tried it 😁

                            1 Reply Last reply Reply Quote 1
                            • Tod SlaughterT
                              Tod Slaughter
                              last edited by

                              @d-healey sometime ago I found one of your snippets with 2 panels with a show hide button e.g. creating a tab.

                              I can't find it now. Do you remember the one I mean?

                              1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart
                                last edited by

                                That one?

                                Link Preview Image
                                Multiple page?

                                **hello ! not working in the last github HISE version because of starting onInit: "content.setheight: ..." you must replace it by: "Content.makeFrontInterfac...

                                favicon

                                Forum (forum.hise.audio)

                                Tod SlaughterT 2 Replies Last reply Reply Quote 0
                                • Tod SlaughterT
                                  Tod Slaughter @Christoph Hart
                                  last edited by

                                  @christoph-hart Not the one but it helped thank you :D

                                  1 Reply Last reply Reply Quote 0
                                  • Tod SlaughterT
                                    Tod Slaughter @Christoph Hart
                                    last edited by

                                    @christoph-hart Can you please snippet the pop out preset browser like the one in hexeract?

                                    1 Reply Last reply Reply Quote 0
                                    • Christoph HartC
                                      Christoph Hart
                                      last edited by

                                      Fresh from the source:

                                      const var PresetDisplay = Content.getComponent("PresetDisplay");
                                      
                                      PresetDisplay.setPaintRoutine(function(g)
                                      {
                                      
                                      	g.fillAll(0xFF111111);	
                                      	
                                      	g.setColour(Colours.white);
                                      	
                                      	g.drawAlignedText(this.data.text, [0, 0, this.getWidth(), this.getHeight()], "centred");
                                      	
                                      });
                                      
                                      PresetDisplay.startTimer(200);
                                      
                                      PresetDisplay.setTimerCallback(function()
                                      {
                                          var text = Engine.getCurrentUserPresetName();
                                      	
                                          if(text == "")
                                      	text = "Init";
                                      	
                                          if(this.data.text != text)
                                          {
                                              this.data.text = text;
                                              this.repaint();
                                          }
                                      });
                                      
                                      const var presetBrowserData = 
                                      {
                                        "Type": "PresetBrowser",
                                        "Title": " ",
                                        "FontSize": 16,
                                        "ColourData":
                                        {
                                          "bgColour": "0xDD111111",
                                          "itemColour1": "0xFF46C0D8",
                                          "itemColour3": "0x3346C0D8"
                                        }
                                      };
                                      
                                      PresetDisplay.setPopupData(presetBrowserData, [PresetDisplay.getWidth()/2, 25, 800, 470]);
                                      
                                      NatanN 1 Reply Last reply Reply Quote 1
                                      • Tod SlaughterT
                                        Tod Slaughter
                                        last edited by

                                        yay! Thx ☺

                                        1 Reply Last reply Reply Quote 0
                                        • Tod SlaughterT
                                          Tod Slaughter
                                          last edited by

                                          @Christoph-Hart alt text

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

                                            @tod-slaughter I see no controls in your widget list and that function is part of the panel control class so you must have a panel on which to call that function. Basically the script Christoph gave you assumes there are some controls on your canvas, you'll need to create them manually.

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

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

                                            55

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts