Plugin UIs struggling in Logic's "Dual Mono" mode - SOLVED

Thank you for the clarification.

I read the info for “IGraphics::LoadBitmap” on the iPlug2 GitHub page that says:

Load a bitmap image from disk or from windows resource.
...
Returns
    An IBitmap representing the image

and assumed that meant it loaded a copy of the actual bitmap to the IBitmap object. I see now that it does not, only a pointer to it.

OK then, I will put it back to how I had it (loading inside mLayoutFunc). I’ve learned a lot here in this thread. Thanks everyone!

No problem! I think Oli and I are both aware that the learning curve/details of iplug2 can be harder to learn than we’d like (sometimes also those who were using iplug 1 also know the “old” ways of doing things and that also creates complications). As people used to going through all the code it’s obviously easier for us to see some of these kinds of quirks.

If anyone ever wants to contribute to better documentation either in the doxgen code comments or more broadly / or help withnoting some of these issues I think that’s something we’d be really happy to see happen.

2 Likes