New local LookAndFeel objects
-
@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.
-
@Matt_SF said in New local LookAndFeel objects:
but not in the compiled plugin.
Share a simple snippet that doesn't work for you when compiled and I'll give it a try.
-
@d-healey testing the snippet as plugin.... forgot to say that I'm using local LAF for comboboxes (in this particular project)
-
@Matt_SF Should there be a snippet with that post?
-
@d-healey nope, here it is : (I also tested it with a simple slider and it doesn't work either)
HiseSnippet 1281.3oc2W80aaaCDmxIJaRaqqcnOtGHL1CNntN1NYcCHXnN9eEF0IwHNsnCAAcLRT1bVhzPhNItA4gArO.6SR+JrOK6avvdcOzcjR1VNwo0yX8kIDDKx6Nxe2c+HuScBENznHQHxv53wCoHiO2r6Xtres9DFG0pNx3dl6ShjzPb7TUGOjDEQcQFFq8L0DFVqizO+4SqR7IbG5roPnWJXNz1r.lb1rcp7blueShK8XVPJs2oRKGAulvWLBvyZlEQCINCH8nGPTpkwDYrQCWlTD1URjzHjw5UEti61WbAOV+WxhXm4SUCJg5BKT7zME9tJDqlEUqOy2syD+NBAqRmYQg0hiBOzbelKa57yhF2WK.OyhzwCiLyCu0lCdkRCuhof2BfjQJHsdLjdfYWmP1P4LIJ77Yls3Pxwi.g8zPIVWTlewzrl.zfKKDPFPaFBClZQtsKVLOtbwhatqs8Vagqc39UOr5guB29vZ60F2dul11PFIRhCn7QsId3e.OY0bBofS1V3P7aKDC1i61jR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AePBLFO8lGSyhEJpNgvdsiix8ebIDZw1TdErY6UvlcVAa91UvlmrB17cqfMe+60F0mDs2HoHH93.LQmF5J.FFM3DfYoYgn+w09M+8
How it appears in HISE :
How it appears in plugin :
-
@Matt_SF Does it work in a standalone build? How many copies of the HISE source code are on your system? ;)
-
@d-healey said in New local LookAndFeel objects:
How many copies of the HISE source code are on your system? ;)
Only one
But I'll try it in a standalone build tomorrow and report back. Thanks David -
@Matt_SF Works for me as both a VST3 and as Standalone
-
@d-healey So, I tested it on my mac, which I used the most recently and it worked fine. And.... as it turns out I did have another HISE source code on my PC, which I'm using currently
Remove the old source code and abracadabra, everything works better.
Thanks again David and sorry for having bothered you with that.
Since you're ending asking the same questions everytime and solving 90% of the problems with them, wouldn't it be possible to create a 'troubleshooting' sticky post on the forum ? :)
-
@Matt_SF it should just be written across the top of the forum :face_with_tears_of_joy:
-
Why is there a
ScriptComponent.createLocalLookAndFeel()
method for each script components?
Isn't theContent.createLocalLookAndFeel()
enough? -
@ustk I think this is the same as the
component.setPropertiesFromJSON()
andcomponent.updateContentPropertyInternal()
methods, they aren't usable but shows up in the API docs because of some quirk in the way the docs are generated. -
@d-healey As well as get/setValue/ValueNormalized of floating tiles, image, etc... The API list is growing so a little clean up might be necessary at one point
-
The API list is growing so a little clean up might be necessary at one point
It's because it's auto-generated and the generator isn't smart enough :)
-
@d-healey Alright! Let's generate a smart generator! :)
-
@ustk said in New local LookAndFeel objects:
@d-healey Alright! Let's generate a smart generator! :)
Have fun - https://github.com/christophhart/HISE/tree/develop/tools/api generator
Only works on Windows so I'm disqualified.
-
@d-healey Yeah windows only, I've used it once, but I think I'll pass too :)
-