Thanks for the fast response. :) One other minor thing... Shouldn't the documentation for "draw-surface-at" and "draw-surface-at-*" mention that the source surface's position is changed as a side effect? It's wasn't obvious (at least not to me) that that's what would happen.
On Thu, Jan 15, 2009 at 12:58 PM, Luke Crook <[email protected]> wrote: > That's a bug. I'll fix it. > > - Luke > > On Thu, 15 Jan 2009 10:49:21 -0800, Stuart Overton > <[email protected]> wrote: > >> It seems to me that using more than one modifier key at a time causes an >> error. >> >> Here's my simplified code: >> >> (defpackage :foo >> (:use :common-lisp :sdl)) >> (in-package :foo) >> >> (with-init () >> (window 100 100) >> (with-events () >> (:quit-event () t) >> (:key-down-event (:key k :mod m) >> (format t "Key: ~s, Mod: ~s~%" k m)))) >> >> The code works fine unless I use (for example) Ctrl+Alt+n, then I get >> the following error: >> >> 320 is not defined as a value for enum type #<CFFI::FOREIGN-ENUM >> LISPBUILDER-SDL-CFFI::SDL-MOD>. >> [Condition of type SIMPLE-ERROR] >> >> Am I doing something wrong, or is this a bug? >> _______________________________________________ >> application-builder mailing list >> [email protected] >> http://www.lispniks.com/mailman/listinfo/application-builder > > > _______________________________________________ > application-builder mailing list > [email protected] > http://www.lispniks.com/mailman/listinfo/application-builder > _______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
