On Oct 25, 2012, at 8:23 PM, alex wrote:

> I hope you can have a look at it and tell me what more I should do to get the 
> drawRect function called.

setNeedsDisplay should not be called in the Redraw callback, but elsewhere.

Because you provide a single dylib, REALstudio will load this as a carbon 
plugin, and won't allow you to compile it for cocoa. So essentially, you are 
carbon, and an NSView needs to be put into a HIViewRef. 

As I said, my comments only relate to a cocoa compile. TO accomplish this, you 
should create a cocoa and carbon dylib, and pack them up in an rbx to tell 
REALstudio what is what.

- Alfred Van Hoek
[email protected]
http://vanhoekplugins.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to