New local LookAndFeel objects
-
@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'
-
@lindon Are you sure you are using the latest develop? Your code works here...
-
@ustk I cant get on a more up to date version:
Are either of you on windows?
-
@lindon Mac for me
-
OKAY - anyone on Windows can confirm the local LAF is/isnt working?
-
@lindon Nope, works here perfectly.
-
@christoph-hart damn it. What can it be?
-
@lindon - its not even in the API list
-
@lindon Do you see it in the API browser?
-
@d-healey nope..
-
@lindon I think you are running the wrong version of HISE.
-
@d-healey okay - let me start again then.. hang on....
-
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:So the only thing I am doing different is I am NOT using Git to checkout the code....
mystifying....
-
@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?
-
@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
-
@lindon said in New local LookAndFeel objects:
now I definately dont trust git or VS
-
@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.3ocsVs0aaaCElzILq1acXEXOrGExS1nYF1qMWJBFlSbhKLZtXLmUr8TGCEkEWjHEjnSlwP+O2+Aominjk8hWZqAldPVmKeTe7SmygdTpQHyxLoDZ8qlkHIzugMdl1F1OjqzjgmPneK6bdlUl54bc7rDdVlzmPoa7ZzAs9lj7qO7KGyi3ZgrxEg7ViRHOSEqrUdG06MpnnAbe4Up3Ex9k8FJL59lHyTfOav5PR3ha3SjWvwzpwHzsN0WYMoisbqLCx4Xi+rwgl6zt7eqJSccjDM5RFCKjyMoenJxeT4dMiPnaNpZmugam+8ryU9p49qTfuKOfWEhE0.ZsGiRc+BnDcAJsoiROiMVjpRrUQP970rgZ3CR.Gj5EohKWRs8qw5afLz11w7ajCRAi4HZtWmN63A2ZcXiFfbmY8rbffmwC79YuRbhTIrcNyH3QmYL2bj1efTF0DwTlc6T4DEVXLXpVXUFcys8S42cEFdD2Ft8NdAkQlrim45+pUi+ogGbMoclz59L2Db295INCX0cgw0AWh7nIvC4vayARsiWm16NOwp0w8SV66T1vihRB4KsxHpNGzZNt.n96+3E.479VGVudo3bKO0KeO0cA4YB9diSLZvn41tvaCHcOgz5ARWor05vRUwynuvXkWpahBS8Fuug2+NTPvJigzH0DEISWYXrqJ8w.1TOM9ZInJ2xilJmmHT1sbs7Ved0xBmprPhF8PsxdYhrvdfIxGqQwmeXkOoPVwdfBFBTwl2A7zhNfbkknf03ILmJSxI+hyZ74VNgtK6E60d4qaubzy2e7qz8S5eP+ba3VvywPuxYSH+1vSP3ET.XCvvDYpUgBA8D4svbLWSYc1Ixrarlj7bKpBHzu5SR3+thr+QuYyM58m8tS4aCITF8JJgDJUSBsn0O.VkkvP5aQH2euaB5ClT.ynL9Si31kGbgSnKB.U.KMs.mHnyT1YKNA+KXZVmGcZ1mKEeFajxJBWMGqsBNBeg9+fiEmA7T1oAARgshfaxF76q6.+Owq+WMSsJ8jy41TETavtXZ7X3KsPBucsVFkg0.0v9CmcGzFUfwRsetw8vUQvtnMsHX2xfjXtH07NgqqBOk4I4d.NoyOTsNb5NX6MuchwfQkjX3.u2ID31+GgV1Ui4mVCLuXMv7x0.ytqAl8VCL6uFXN3Qwf+WiilZMwt1AvwnSyGMQompwAI4UgjORvyYZ6
-
@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) -
-
@DanH the only one I didn't have time to watch yet :face_with_tears_of_joy: ! But it got it to work perfectly into HISE... but not in the compiled plugin.