New local LookAndFeel objects
-
@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.OY0bBofS1V3P7aKDC1i61jR8yAqThtEBo8XJhSyQbGISvyk0MjbQMQvYhphKylG6MQPu7XwY+7l1WYacNIDSfsAFWf.awt1V1VLObN0D8EmSC2z15JaLFaYA+C2qPDUFSYzpvjzf3gk.nLuZMAnmK6gCobbWBOBWEnE3VRhOyAPS4cJTLkIos0CnqGGxH7d9zbmPNo7o3GiU+rUIH9QNY6S2pbgx4wOA96z738Ix9E5zZ98W4664y5wotGSuTpAqDdIOVufaUVuRkNMudgiWU3mr9TOYVXort11h5GQWRuu7+679q2bWqIzQEKQQyRwG6oBDACEbpxMUBylvEUN+s3oIjzDhe21sp23naS6i7Ytzvkk3OU66f5ejPRBG2Uq0RS+sWJVdRZpguOaXDM2DySDZuTbk+czj6HodNweDM+T7CoPGHnERcUYialBeNWbVo6LGpkpLS+xByhSi3at6jnIVvOPHoGxyoCn1WaiuoHOuEJSghPguOMbghU0pBeeFliOJ3LZXdrNFLUQ3B74qJXd2UERWzxINnjRQAuEmIUol6pTFJIRBUPxjfJPUot9w8SpeL4BXDCJTrgo5f.Ri3zUxQ2z56kXcL6Ua6mXpSL2zX34EspSjDUYrD7.XbHMTxTtuQc54POAwE0rLqSiFHEC0.NI0iLr+vP9xY63OVY7rAGWIf.xLMVCFn33vV90l05q5CAWxN4kxSdYaTpyAvprQmNu8uQIlNoUDqMjx+RO6ELWY+z6beJqW+T81zpBJke7kevf2L2nxOk1M9lJQxwJRwFZEQALWWeZGQDSQ5Rkp9c3dlgcYuQmAt5gu8Y+wa90mFjtuLDRGQlkbiF44wtT2PEboQPjDvVq.nOKjwWY9hHJ1k5QF4CW+M.VGeFe.b.Wn0e9nxi9sG8tEDUpeqnR8Jna2PCzJkvcjOQNe+UplJSDn7zzM0nZbgCQfwo8l+yZ5ZYg3CL6vjN8WLFyr.LpNM9Q.iIsp9ElM77nNxY.bcylu5iSeoniDijLdOnFenhAYdvnft.YvgB6NmC8mnN4kQcQT73hpwpHPWJ2UO3cvShvRpwFIBKMQHvVcBEu1I9BHUyvepdF.Sb82AXAePBLFO8lGSyhEJpNgvdsiix8ebIDZw1TdErY6UvlcVAa91UvlmrB17cqfMe+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 :)
-