HISE Logo Forum
    • Categories
    • Register
    • Login

    Floating Tile Button

    Scheduled Pinned Locked Moved General Questions
    50 Posts 7 Posters 4.0k 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

      The boss in the house. Thanks as ever @Christoph-Hart and @d-healey

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

        @christoph-hart said in Floating Tile Button:

        page1Button.setValue(1); // or whatever logic you need
        page1Button.changed();

        How to set the page? This just sets the button.

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

          Not sure how you've setup your controls, but this should also fire the callback of the button which triggers the page swap.

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

            @Christoph-Hart
            David's method works fine, your method sets the button but it doesn't cause the page to change. I'm not at the multiple preset stage yet so I can't comment on what awaits further down the line

            Actually that's not true it's working now albeit the button doesn't stay highlighted as being in the "on" state

            1 Reply Last reply Reply Quote 0
            • NatanN
              Natan @Christoph Hart
              last edited by Natan

              @Christoph-Hart
              Just For General
              What Is The Meaning Of The Numbers In This Line?

              PresetDisplay.setPopupData(presetBrowserData, [PresetDisplay.getWidth()/2, 25, 800, 470]);
              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Just change them and see what happens...

                NatanN 1 Reply Last reply Reply Quote 0
                • NatanN
                  Natan @Christoph Hart
                  last edited by

                  @Christoph-Hart Thanks Christoph
                  I Changed And Compiled Them Several Of Times
                  But It Jumps To The Top Again , And Also Cant Get Rid Of The White Stroke On The Browser Itself :(
                  Any Idea?
                  Thanks Man

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

                    I am using this now , can I somehow change the font in the PresetBrowser as well as setting whether the favourites , catagory etc is shown i.e the usual settings fro the preset browser ?

                    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 ustk

                      @lalalandsynth Here is all that you can change at the moment without diving inC++
                      https://docs.hise.audio/glossary/custom_lookandfeel.html#getting-started
                      The font is in the property editor as well
                      favorite or category can't be moved, but you can have 2 columns instead of 3

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

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

                        @ustk Yes, But I cannot select the presetbrowser to show any settings in the property editor while calling it via the script .
                        So i am assuming i need to set all properties including Font via script.

                        Oh, I just addded "ShowFolderButton": false, into the

                        "Type": "PresetBrowser",
                          "Title": " ",
                          "FontSize": 16,
                          "ShowFolderButton": false,
                          "ColourData":
                        

                        Still not sure how to set the font wondering if I need to set a custom look and feel just to change the font for the preset browser or if I can access via scripting the usual options in the property editor ?

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

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

                          EDIT: Seems like my Oxygen font was corrupt . All good now .
                          and you can set what you want by borrowing terms from the property editor.

                          "bgColour": "0xFF282522",
                              "itemColour1": "00B6A187",
                              "itemColour3": "00B6A187",
                              "textColour": "0xFFb6a187",
                          

                          https://lalalandaudio.com/

                          https://lalalandsynth.com/

                          https://www.facebook.com/lalalandsynth

                          https://www.facebook.com/lalalandsynth

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

                            @lalalandsynth btw ,Using this method and the preset browser does not resize with the gui.

                            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 ustk

                              @lalalandsynth Maybe you should use a simple panel that you show/hide instead of a popup panel then...

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

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

                                @ustk Yes, I did it differently in another plugin , this method seemed viable there for a moment.
                                Also kind of liked the X to close the window.

                                X.gif

                                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 said in Floating Tile Button:

                                  Also kind of liked the X to close the window.

                                  You can make your own

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

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

                                    @ustk True , I will try that !
                                    although, first thing that comes to mind is if I make an invisible toggle on top of the preset text to open the preset window and an x to close , I would need to push the Open toggle twice to open it again , right ?

                                    https://lalalandaudio.com/

                                    https://lalalandsynth.com/

                                    https://www.facebook.com/lalalandsynth

                                    https://www.facebook.com/lalalandsynth

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

                                      @lalalandsynth said in Floating Tile Button:

                                      @ustk True , I will try that !
                                      although, first thing that comes to mind is if I make an invisible toggle on top of the preset text to open the preset window and an x to close , I would need to push the Open toggle twice to open it again , right ?

                                      reset it as you open the panel...

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        Or just toggle the panel with a momentary btn:

                                        inline function onopenCloseBtnControl(component, value)
                                        {
                                        	if (value) presetPnl.showControl( ! presetPnl.get("visible"));
                                        };
                                        Content.getComponent("openCloseBtn").setControlCallback(onopenCloseBtnControl);
                                        

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

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

                                          So I figured out that if you want the X to close the PresetBrowser you can open a Panel as popup.
                                          Trying to figure out how to reset the button I use to open or use a momentary that does not close the window when I let go of the button

                                          HiseSnippet 1031.3ocsV0raabCDlT1LsRIJsAn89BeRFv0PxIwsnMEUQxVoBs1QnxMnnGZJ8tTRDdWxEjbsqPP.5iPeD5qPeCx8duOG4Xu4Nb4tZopkMLDfWcQb966iCmYHGojgLsVpP35mLOkgvOfLdtvLq+LJWfFd.B+PxQTsgoBbh5MOkp0rHDFuwKrBv02Dk+89uoGMlJBYUhPnWI4grummvMURS69c733AzH1I7DOqeR2ggRQeYrLC3yFj1nTZ3YzorioVypQP36cXD2HUiMTCSiva1SFMe7L4EBm8uhq4mFyrK5fFCAxIdfLNxxXqTT+Y73nQk6aMBhxnprvFtrvmPNhGwWHuJa7w4JBp7vOefqcSzqiO8Ze6oG1ida5n2iHiCU7TSkFK2tOYn.NnlPgi.eZ4rEU68XReIXgvraB8L1.ErXgGs1uc6cBdZ61a+UMazrAbPnMAmSUAoJllYFIhC95fR2mxL8kIoRArn0VKrXKmubQLWvBljIBMboHPJjoLQ+Xol0yHrwPIiaEVFfc.XhyXaac096MMaTmOoUov5Av2BH1UCoymqGISyRaMgFqYVLqyf+bESCsHVZq0r2lSuUuI7o3Vauq1pLmn8owwmB0gsV41vFVuM5wRC6khVa23MMp23sMB9+plLYk5JBVLSsR011D0M4XKQVxoLUYlrzPndY4BRx0WP52uD5xPdFJECEbyKg8+0UlhJRq1B1BVAlZxKWeXQ4ZuLiQJP7HqH+jIJm29yMP+3vCnFZYzf.CfkxTFtcefOfcNLWw0LTmb.SelQlBiHVbfBiJtsX+aKv8ci5NuhDea2K3QlYUB90tyX7oy7lj8rtHOD+.GhMKaNoBVbNf2mrnnzCMzK7P62+4RzH3Z0PnRjH3eAiPbWQrKhXbMaRYArOvTLxxA6fXI0vESOgCGrVz+zUnniOO12eWuWEO9GrOOdFrJkp.H8v1emUbN4NT9HxnbE8TxKzLE5zoky0qeO.k+0BE2vRpj9WW9GWtrz8rh+62cYt37pA7eRfoCAAaYKMGSOm4NU25KCLpL1NKTkOQUcMJsMh5qH01n3b3p5FPOWp.dYudZIkGmYoZVRtOOFFvfPWcXMbkgLJKlZV9dD6kmEJfd4kFXaGJKzbyb+KWuStb41R2GQFwMgyVMeqsB9BMt207s3p5ljCmLgEZpH6ljA+zc+8xnePlYamNhZTbnah.ECigp1PFvDAznpy6ksSFcqaaWayLiYhn7EWBeEJ6XWiKT1oTIJgFpjuNzMO09XfOLWBvIQ9ahpCONCVGzobBJgzd21nD3MJuNLzlJ9Lf6q1m8VCed7Z3ySVCed5Z3y9qgOe9Z3yWbi9Xed3yyLxDWaBHXzgtYW3CETnJKuhD8erAlh.J
                                          

                                          https://lalalandaudio.com/

                                          https://lalalandsynth.com/

                                          https://www.facebook.com/lalalandsynth

                                          https://www.facebook.com/lalalandsynth

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

                                            @lalalandsynth said in Floating Tile Button:

                                            So I figured out that if you want the X to close the PresetBrowser you can open a Panel as popup.
                                            Trying to figure out how to reset the button I use to open or use a momentary that does not close the window when I let go of the button

                                            HiseSnippet 1031.3ocsV0raabCDlT1LsRIJsAn89BeRFv0PxIwsnMEUQxVoBs1QnxMnnGZJ8tTRDdWxEjbsqPP.5iPeD5qPeCx8duOG4Xu4Nb4tZopkMLDfWcQb966iCmYHGojgLsVpP35mLOkgvOfLdtvLq+LJWfFd.B+PxQTsgoBbh5MOkp0rHDFuwKrBv02Dk+89uoGMlJBYUhPnWI4grummvMURS69c733AzH1I7DOqeR2ggRQeYrLC3yFj1nTZ3YzorioVypQP36cXD2HUiMTCSiva1SFMe7L4EBm8uhq4mFyrK5fFCAxIdf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

                                            you just need to test isVisibleAsPopup

                                            HiseSnippet 1047.3ocsV0raabCDlqr2zJknzDfl6KzII.WCImD2hlVTEIa0JzZGgJ2fBjCIz6RIQ3cIWPx0NBAFHOB4QHuB8Mv26KQeD5wdyc3x8GJYYCCA3cOwY9lY93vYFxQBtOQJ4BjS0ilGSPNOvc7blZV+YXJCMbOjyCcO.KUDgmQTu4wXojDfbb13m0BbptIJ86e+od3PLymTJBgdMm5S9MZDUUJMt6uRCCGfCHGQirP+rtC84r97PdBvmMbaihw9mfmRNDqgUwE4bu8CnJtXrBqHRjyl83AyGOieFyf+0TI83PhdQGzXvQFwC3gAZFqkh5OiFFLJeeKQfWFUlE1vjE9Z2CnAzB4kYiGkpvqzB67gSkahdcroW6aO8brn2lF58X2w9BZrpTila22cHCNnlfgi.aZYvhpznhaeNffo1NBeBYf.VTXQyca2dKum2tcqWTuV8ZvAgT4cJV3EKHRhZDKz6G8xMeJQ0mGEyYvhlMJPzvXKkERYDuIILeEky73LdLg0OjKI8TLsOD7vl94NXKHLgIjV0q8g507fO5jlEtbapLKq8R4HdbRbyVsLnx.q+JQ6qCRAxWXfbNITR.3UWDqDNXxgNACPJvWu14oajUucs2LMZssTqLcK0GGFdLTw1bkaXStw7akZNjqHuh0rUsOTqZsyq4srpISVotLmFRDqTstwRbSF1jkDcLQjm6yABUXKVB6d8kv1cX9lLkEPNaHipdEjGttBaTV5UWhmwJ.pJs.+gYE38RTJNCQCzhrSpnTdaO7A8GC2Cqv4dCbLDrXhPQ06Cm8HmBShLsOUc2iHOQwiggJEGrvvkaareeQbuXT24kj3W5dFMPMqTv65NiPmNyZ12OzEYEwuvDw54syXFILMf22snN0JZebfUz59lkh1i93xQ6eR5RME3FO63TQmbJB+CTYC6LgePHGqnroGQgCXMKdxJTzwhOncs286rDed24KymKjciwBHzVbvdmlctYNj9J2QoJ5I3mIIBzwSyuYn58.e8eZGRUjnRo+0ke5xEktiV7eewkohSqNb9ra5fiF5R0w3SIlS4FeumRjP1pPU5LYw0nT2XJuhTciiwfqpa.9Tt.3k9BtETdXhlpIQo17TXvCBc0w8vkN7fjPrZwahzW+lo.5sWXjudrNSRUys6PtStd51R2G6Nhp7msZ9VYE7EZjuq4a1k80c2exDhupjra5N3Ou6uYG867Dca0AXkfBcUtPwvXnp0m.LgAMr54uNUzSJMqaqWqyLiIrfzEWBeYJ6nW6jorStRTD1WvequY9p94DeYpDfSrzWUUEddGr1qS9DUW21a2FEAux4s995Tw2.be01ryZXySWCad1ZXyyWCa1cMr4aWCa9tazF8CLeYhhGYZS.Ai12L6xYeFFpxRqHQ+OV+QyA
                                            

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            22

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.4k

                                            Posts