[MacRuby-devel] CGRectZero

2011-05-22 Thread Jason Voegele
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
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] CGRectZero

2011-05-22 Thread Petr Kaleta
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
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] CGRectZero

2011-05-22 Thread Jason Voegele
On May 22, 2011, at 9:50 AM, Petr Kaleta wrote:
> Hi,
> you must install the latest version of BridgeSupport.

Excellent. New BridgeSupport fixed the problem. Thanks.

One other question, though. Forgive my ignorance, but if I create a 
distributable MacRuby .app application, will users need to update the 
BridgeSupport on their system to use it, or is this something that is only 
necessary at build time?

-- 
Jason Voegele
We seldom repent talking too little, but very often talking too much.
-- Jean de la Bruyere


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] CGRectZero

2011-05-22 Thread Petr Kaleta
You can include your BridgeSupport files using macruby_deploy utility.

- Petr

On May 22, 2011, at 9:50 AM, Petr Kaleta wrote:
> Hi,
> you must install the latest version of BridgeSupport.

Excellent. New BridgeSupport fixed the problem. Thanks.

One other question, though. Forgive my ignorance, but if I create a 
distributable MacRuby .app application, will users need to update the 
BridgeSupport on their system to use it, or is this something that is only 
necessary at build time?

-- 
Jason Voegele
We seldom repent talking too little, but very often talking too much.
-- Jean de la Bruyere


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] CGRectZero

2011-05-22 Thread Mark Rada
They will also need BridgeSupport if they are on Snow Leopard. Lion will come 
with the new Bridge Support.

As pointed out, you can embed the new Bridge Support in your app.

Mark Rada
[email protected]



On 2011-05-22, at 10:02 AM, Jason Voegele wrote:

> On May 22, 2011, at 9:50 AM, Petr Kaleta wrote:
>> Hi,
>> you must install the latest version of BridgeSupport.
> 
> Excellent. New BridgeSupport fixed the problem. Thanks.
> 
> One other question, though. Forgive my ignorance, but if I create a 
> distributable MacRuby .app application, will users need to update the 
> BridgeSupport on their system to use it, or is this something that is only 
> necessary at build time?
> 
> -- 
> Jason Voegele
> We seldom repent talking too little, but very often talking too much.
>   -- Jean de la Bruyere
> 
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel