<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 7, 2013 at 10:33 AM, Filipe Coelho <span dir="ltr"><<a href="mailto:falktx@gmail.com" target="_blank">falktx@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/07/2013 04:03 PM, Michael Fisher wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
I'm interested in writing a few plugin GUI's using JUCE ( <a href="http://juce.com" target="_blank">http://juce.com</a> ).  Note that I ONLY want juce for Gui's, not the plugins themselves.  The problem I'm facing is juce uses a global/singleton class, MessageManager, to drive all GUI events.  Does this mean I shouldn't use JUCE for GUI's??<br>

<br>
I have a test setup where juce is initialized once by whichever UI is loaded first, then all other loaded UI's would share the same message thread.   This looks plain wrong, but it seems to work well (in ingen and ardour anyway)<br>

<a href="https://github.com/lvtk/lvtk-plugins/blob/master/src/ui/ui.cpp" target="_blank">https://github.com/lvtk/lvtk-<u></u>plugins/blob/master/src/ui/ui.<u></u>cpp</a><br>
</blockquote></div>
I already did the Juce LV2 wrapper in case you didn't know.<br>
<a href="http://www.juce.com/forum/topic/juce-lv2-plugin-wrapper" target="_blank">http://www.juce.com/forum/<u></u>topic/juce-lv2-plugin-wrapper</a></blockquote><div><br></div><div>I was aware of this actually.  thanks!   I'm going for  GUI only when it comes to juce though.  Nice job on the wrapper, wonder if Jules will ever incorporate your work upstream.   I'm aiming at keeping my plugins (for lvtk anyway) using only std c++ and maybe boost.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I've been using it in DISTRHO ports, and PIanoteq released an LV2 version based on this code.<br>
<br>
It works just fine from what I see, except that it requires instance-access (because of Juce).<br>
The UIs are exposed as both native (X11/Windows/Cocoa depending on target) and external-UI.<br></blockquote><div><br></div><div>Yeah, this is the kind of thing I'll be doing... expose whatever the native UI is on the system.  </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
jalv, qtractor, ardour3 and Carla load these LV2 plugins + UIs just fine.<br>
ingen does not, but that's because ingen refuses to load UIs requring instance-access.<br>
<br></blockquote><div><br></div><div>Thanks</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
______________________________<u></u>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.lv2plug.in" target="_blank">Devel@lists.lv2plug.in</a><br>
<a href="http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in" target="_blank">http://lists.lv2plug.in/<u></u>listinfo.cgi/devel-lv2plug.in</a><br>
</blockquote></div><br></div></div>