On Dec 21, 2007 1:50 PM, Andreas Davour <[EMAIL PROTECTED]> wrote:
> The ":tile-caption" was just a typing mistake. I didn't cut and pasted
> from my emacs, but retyped it. SDL-FULLSCREEN apparantly has to be
> explicitly mentioned as from the SDL package. I thought my own package
> which ":USE" SDL would take care of that. Apparantly not.

I guess lispbuiler-sdl does export sdl-fullscreen. You could still get
it manually with "(import 'sdl:sdl-fullscreen)". Or perhaps this
should be changed in the source of lispbuilder-sdl.

> It was a bit hard to get back to my debugger when the program entered
> it, though. I kind of figured that C-TAB would work. No cookie...

lol. Yeah, that happened to me too. Takes a little more code to fix.

(sdl:with-init (sdl:sdl-init-video)
  (sdl:window 800 600 :title-caption "Test" :flags '(sdl:sdl-fullscreen))
  (sdl:with-events ()
    (:quit-event () t)
    (:key-down-event (:key key)
                     (when (sdl:key= key :sdl-key-escape)
                       (sdl:push-quit-event)))))

> Thanks!

You're welcome.

-- 
Elliott Slaughter

"Any road followed precisely to its end leads precisely nowhere." -
Frank Herbert
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to