Does anyone have any pointers (budum dum tshhhh) for getting a custom LookAndFeel to work when instantiating individual components in the Projucer?
...use something like a SharedResourcePointer which creates your custom look, and then make your individual components reference that. Then when the projucer uses a component which uses this shared object, it'll get created and used.
...but despite my best attempts I've failed to get it to work.
I tried creating a container class with my custom LookAndFeel object as a member, then creating a SharedResourcePointer to the container class and setting the default LAF in my components via the SharedResourcePointer. It works when running the whole application, but not when running individual components in the Projucer as intended. The reasoning behind having a container class was to point all my application's components there, and in the container class handle runtime switching between variations of my LAF.
Any idea whether when Jules wrote "which creates your custom look", he might have meant either a) which points to a customised LookAndFeel object; or b) which points to a home-rolled class (one which does not inherit from Juce's LAF classes) to implement the drawing of your components?
Many thanks in advance for any guidance / suggestions!