I’m currently testing VSTGUI 4.10 in an old VST2.4 plugin (because it is quite complicated and I’d like not to switch it to VST3 for it now).
Trying to compile to native M1 on a MacMini M1.
VSTGUI_ENABLE_DEPRECATED_METHODS = 1.
- I added this to ControlsguiEditor::ControlsguiEditor (where I used to setup the interface):
CFBundleRef MyBundle = CFBundleGetBundleWithIdentifier(CFSTR(“com.me.mybundlename”));
- The bundle part above wasn’t like this:
CFBundleRef MyBundle = CFBundleGetMainBundle()
because the result with this was the plugin not finding the resources.
Now it finds them and correctly sizes the window according to background bitmap size (extracted from the loaded one).
- also added this to ControlsguiEditor destroyer:
My problem is that the result is a completely blank window, even though of the correct size. Looks like a link is missing between the setup and the actual window and everything is happening in the wrong place.
I also tried to set the background to full black in place of the bitmap but it is still white. Looks like nothing is painted there.
Any example about this? Or a tip about something trivial I could be overlooking?