[Openmcl-devel] NSView setWantsLayer undefined?
neil.baylis at gmail.com
Fri Jul 3 13:20:48 EDT 2009
I don't see any reason why I can't use the 64 bit version. I'll give
it a try this afternoon.
On Jul 3, 2009, at 10:17 AM, R. Matthew Emerson wrote:
> On Jul 3, 2009, at 12:16 PM, Neil Baylis wrote:
>> It seems that the NSView function "setWantsLayer" is undefined.
> I see that you're using a 32-bit lisp
> #/setWantsLayer: is available on Mac OS X 10.5 and later. For
> backward compatibility reasons, we supply Tiger-derived interface
> databases with the 32-bit ports, and those interfaces (obviously)
> don't contain the new-with-Leopard stuff.
> I think it may be the case that Leopard-derived interfaces would
> still work (for some value of work) on Tiger systems, and I think
> we'd like to see Leopard interfaces for all Darwin ports in CCL 1.4.
> (There's a ticket for this at http://trac.clozure.com/openmcl/ticket/481.)
> Can you use the 64-bit lisp? It uses Leopard interfaces, so those
> methods will be present.
> If not, send me private mail, and I'll see about getting you Leopard
> interfaces for Cocoa for x8632.
>> For example, I tried to call it on the view created in Ron's scribble
>> (defun make-scribble-window ()
>> (let ((w (make-ns-window 300 300 "Scribble"))
>> (v (make-instance 'scribble-view)))
>> (#/setWantsLayer: v #$YES)
>> (#/setAlphaValue: v 0.5)
>> (#/setContentView: w v)
>> and got this for my trouble:
>>> Error: Undefined function NEXTSTEP-FUNCTIONS:|setWantsLayer:|
>> called with arguments (#<SCRIBBLE-VIEW <ScribbleView: 0x3b2ae80>
>> (#x3B2AE80)> 1) .
>>> While executing: MAKE-SCRIBBLE-WINDOW, in process Listener(6).
>> Apropos reveals the following:
>> CL-USER> (apropos "setAlphaValue")
>> NEXTSTEP-FUNCTIONS:|setAlphaValue:|, Def: CCL::OBJC-DISPATCH-FUNCTION
>> CL-USER> (apropos "setWantsLayer")
>> Any idea what's going on here?
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
More information about the Openmcl-devel