HISE Logo Forum
    • Categories
    • Register
    • Login

    New local LookAndFeel objects

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

      @lindon Works here, is this a brand new project or an existing project? Are you certain it's the develop branch you built?

      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
        58d00719-ca02-4d3c-a837-9a9527c2337d-image.png

        HISE Development for hire.
        www.channelrobot.com

        LindonL 1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            31

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.6k

                                            Posts