Miguel,

Wouldn't he want to make that a static property as opposed to an instance
property?

Jeff

On Fri, Sep 2, 2011 at 11:24 AM, Miguel de Icaza <[email protected]> wrote:

> Hello,
>
> #define GAD_SIZE_320x50     CGSizeMake(320, 50)
>>
>> How do I declare this in my btouch input file?
>>
>
> To add to the comment from Alex (which is right on spot), what you would do
> is expose a property like this:
>
> public SizeF Size320x50 {
>     get {
>          return new SizeF (320, 50);
>     }
> }
>
> Miguel
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to