[ab] How do I open a a window without any borders?
Elliott Slaughter
elliottslaughter at gmail.com
Fri Dec 21 16:17:53 CST 2007
On Dec 21, 2007 1:50 PM, Andreas Davour <ante at update.uu.se> 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
More information about the application-builder
mailing list