gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NIB loader: custom views don't draw themselves


From: Luboš Doležel
Subject: Re: NIB loader: custom views don't draw themselves
Date: Fri, 09 Aug 2013 13:22:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 08/09/2013 12:46 PM, David Chisnall wrote:
> On 9 Aug 2013, at 11:44, Luboš Doležel <address@hidden> wrote:
> 
>> Signature of initWithFrame: (NSRect) with GNUstep is: @address@hidden:8
> 
> That doesn't look right.  That's the signature for a method that
> returns an object, but takes no parameters other than the receiver
> and selector.

Right, sorry, it is @address@hidden:8{_NSRect={_NSPoint=dd}{_NSSize=dd}}16

So I assume the right solution is to create a substitutes table to
rewrite CGRect->_NSRect etc.

Well, I've certainly learned something toady.

-- 
Luboš Doležel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]