<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I made a basic pd object that uses juce's plugin hosting routines. To open<br>
a plugin GUI on osx it will need to open a cocoa window. Does anyone know<br>
if that is possible in a pd object? Is pd mac using cocoa yet?<br><br></blockquote><div>Hi, you can have a look at the CICM Wrapper (CreamLibrary/Dev/c.juce)</div><div><br></div><div><a href="https://github.com/CICM/CicmWrapper/tree/master/CreamLibrary/Dev/c.juce ">https://github.com/CICM/CicmWrapper/tree/master/CreamLibrary/Dev/c.juce </a></div>
<div><br></div><div><div>It allows to draw GUIs with the Juce API. If you want to show the juce window, you just have to change the component properties and to disable the tcl/tk part. It's still in development and I can't receive the mouse interactions for the moment, if you find the solution I'll be pleased to know it.</div>
<div><br></div><div>The most "important" part is to call the function  "initialiseMac" from the file "<a href="http://ejucebox_startup.mm">ejucebox_startup.mm</a>" and the function "initialiseJuce_GUI" when you initialize your class.</div>
<div><br></div><div>Cheers</div></div></div></div></div>