[MacRuby-devel] CGRectZero

Petr Kaleta petr.kaleta at me.com
Sun May 22 06:50:05 PDT 2011


Hi,
you must install the latest version of BridgeSupport.

- Petr

On May 22, 2011, at 3:48 PM, Jason Voegele wrote:

> Hi, I'm working on a new MacRuby application, and I'm using the updated HotCocoa from this fork: https://github.com/ferrous26/hotcocoa
> 
> This version of HotCocoa contains several references to the CGRectZero constant, but this constant does not appear to be exposed in MacRuby (0.10). I did some poking around and found that, after performing a "framework 'Cocoa'" call, these other CGRect* constants are defined:
> 
> CGRect
> CGRectMaxXEdge
> CGRectMaxYEdge
> CGRectMinXEdge
> CGRectMinYEdge
> 
> However, CGRectZero is not defined. Is there any other way to access this constant from MacRuby? Is there any reason it is not defined?
> 
> Thanks!
> 
> -- 
> Jason Voegele
> "It is better to have tried and failed than to have failed to try, but
> the result's the same."
> - Mike Dennison
> 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110522/a8586897/attachment.html>


More information about the MacRuby-devel mailing list