HISE Logo Forum
    • Categories
    • Register
    • Login

    New local LookAndFeel objects

    Scheduled Pinned Locked Moved General Questions
    48 Posts 6 Posters 2.7k 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.
    • LindonL
      Lindon @Lindon
      last edited by Lindon

      strange this works:

      const var stdKnoblaf = Content.createLocalLookAndFeel;
      

      but totally fails on the next line:

      stdKnoblaf.registerFunction("drawRotarySlider", function(g,obj){
      

      with

      Interface:! Line 6, column 28: Unknown function 'registerFunction'

      whihch of course is telling me that the line 4 doesnt actually work....

      HISE Development for hire.
      www.channelrobot.com

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

        @lindon You are missing a set of ()

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey no Im not...

          this doesnt work:

          const var laf1 = Content.createLocalLookAndFeel();
          
          
          laf1.registerFunction("drawRotarySlider", function(g, obj)
          {
          	 g.fillAll(Colours.green);
          });
          

          it says :

          Interface:! Line 3, column 48: Unknown function 'createLocalLookAndFeel'

          HISE Development for hire.
          www.channelrobot.com

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

            @lindon Are you sure you are using the latest develop? Your code works here...

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

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

              @ustk I cant get on a more up to date version:

              c056ccb2-ff39-42de-91fb-3173c4c6ed1e-image.png

              Are either of you on windows?

              HISE Development for hire.
              www.channelrobot.com

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

                @lindon Mac for me

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

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

                  OKAY - anyone on Windows can confirm the local LAF is/isnt working?

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @lindon Nope, works here perfectly.

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

                      @christoph-hart damn it. What can it be?

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @lindon - its not even in the API list

                        7fa01f44-c252-4706-8633-8c6af6e6b3b4-image.png

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @lindon Do you see it in the API browser?

                          21155391-c034-41bb-bd62-0b6e11cb5a0e-image.png

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

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @d.healey
                            last edited by

                            @d-healey nope..

                            ea8df0df-85bc-47ca-ae7d-b8f4e0654d8d-image.png

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @lindon I think you are running the wrong version of HISE.

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

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @d.healey
                                last edited by

                                @d-healey okay - let me start again then.. hang on....

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  wow how ugly is this...........

                                  SO instead of using git to swap to develop and/or checkout the latest build, I did the following:

                                  Deleted HISE from my Windows computer - yep all of it every thing in total
                                  Went to Github and selected the develop branch
                                  Down loaded the Zip file
                                  unzipped it to my D drive
                                  unzipped the VST SDK stuff...
                                  Opened Projucer and opened the standalone project,
                                  saved and opened in IDE...
                                  Selected Release/X64 in Visual Studio
                                  ran a build
                                  when it completed successfully
                                  opened the stand alone and got this in the API:

                                  650701ed-81b7-4478-8bfd-8658e76a0e0c-image.png

                                  So the only thing I am doing different is I am NOT using Git to checkout the code....

                                  mystifying....

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @lindon said in New local LookAndFeel objects:

                                    So the only thing I am doing different is I am NOT using Git to checkout the code

                                    After you checkout do you clean the build folder before rebuilding?

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

                                    LindonL 1 Reply Last reply Reply Quote 0
                                    • LindonL
                                      Lindon @d.healey
                                      last edited by

                                      @d-healey yes - as I've said before if I clean the build it will not work - but if I delete the entire contents of hte build folder then it will compile.

                                      This time round I didnt do a clean before building as it was (in effect) the first build I'd done....

                                      now I definately dont trust git or VS

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        @lindon said in New local LookAndFeel objects:

                                        now I definately dont trust git or VS

                                        a3cabe1c-44b0-44c4-9bf0-b842f68a5c54-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
                                        • d.healeyD
                                          d.healey @Christoph Hart
                                          last edited by d.healey

                                          @christoph-hart said in New local LookAndFeel objects:

                                          @d-healey Does it work with other floating tiles (eg. the keyboard)?

                                          Doesn't seem to work for tables either.

                                          HiseSnippet 906.3ocsVs0aaaCElzILq1acXEXOrGExS1nYF1qMWJBFlSbhKLZtXLm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V1Ui4mVCLuXMv7x0.ytqAl8VCL6uFXN3Qwf+WiilZMwt1AvwnSyGMQompwAI4UgjORvyYZ6
                                          

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

                                          Matt_SFM 1 Reply Last reply Reply Quote 0
                                          • Matt_SFM
                                            Matt_SF @d.healey
                                            last edited by

                                            @d-healey does the local LAF works for somebody ? I'm using it for the first time in a project and it works perfectly well in HISE but not in the compiled plugin... Did I overlooked something ?
                                            (windows, develop commit from feb. 20)

                                            Develop branch
                                            Win10 & VS17 / Ventura & Xcode 14. 3

                                            DanHD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            23

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts