[Openmcl-devel] The Miracle of opengl-ffi.lisp Astounds Newby!

Kenneth Tilton ktilton at nyc.rr.com
Wed Nov 10 15:36:46 PST 2004

Platform: Mikel Evins's Lisp in a box, aka OpenMCL and Slime and Emacs

OK, the good news is that a significant amount of Cello has been ported 
to OS X/OpenMCL. If I could only manage to build ImageMagick and 
crucially the Wand API therein I think we could pop the cork.

But that is not why I am here. We observe that when the demo in 
opengl-ffi.lisp runs, the menubar changes to "Simple OpenGL Example" or 
some such and some standard menu iems appear.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogl.lisp
Type: application/octet-stream
Size: 5115 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20041110/85939138/attachment.obj>
-------------- next part --------------

That example was great because it got us going with calling Apple's 
Glut just to get a window open. ie, We borrowed liberally from that 
code and have been borrowing more to try to solve this problem:

The Cello window appears but the menu bar stays as Emacs's.

Another contrast between opengl-ffi.lisp and Cello is that the former 
gets key events and the latter does not. (This sounds like the same 
thing to me, but anyway....)

Frank is slowly making the Cello demo look more and more like 
OpenGL-ffi's trying to make it work, while I am slowly replacing code 
in OpenGL-ffi trying to make it fail. That should pay off eventually, 
but I thought I would drop in here to see if anyone knew by what magic 
opengl-ffi was getting the menu bar and key events.

btw, my guess is there some mystery about OS X we are missing, not 
OpenMCL, but I thought I would cover all the bases just in case my 
guessqork is off.


More information about the Openmcl-devel mailing list