-
bad example, it's actually sdl:+k-escape+ as I have written the patch.
2009-06-25 04:43:22 UTC by tril
-
I transcribed these from SDL_keysym.h, enjoy.
Please apply this patch into the code as it's a feature of SDL missing from cl-sdl.
This will allow you to write (= key sdl:+k-esc+) instead of (= key (char-code #\Esc)),
for example.
Thank you.
2009-06-25 04:42:26 UTC by tril
-
cl-sdl only returns events for mouse buttons 1-3.
I used the following hack to return the actual button state instead of
intercepting and filtering it, so I can support the scroll wheel in my program (buttons 4-5).
Please implement more buttons cleanly in the wrapper so I do not have to resort to modifying cl-sdl.
Perhaps return the button state as I have done, and provide macros to logior...
2009-06-25 04:32:46 UTC by tril
-
It appears to be impossible with UFFI to pass a structure by value. It can only
pass pointers to structures. Therefore all SDL bindings which reference SDL_Color
parameters, are expected to be passed by value (C embeds the struct members on the stack),
but CL passes the pointer instead. I have worked around this for the function I needed
(TTF_RenderGlyph_Blended) by changing the...
2009-06-25 04:00:46 UTC by tril
-
I posted this. I meant to log in first.
2009-06-25 02:47:47 UTC by tril
-
I use these functions and they work. Please add them to the distribution.
Thanks.
2009-06-25 02:46:29 UTC by nobody
-
emu committed patchset 198 of module cl-sdl-timot to the Common Lisp bindings for SDL CVS repository, changing 3 files.
2004-08-26 00:10:45 UTC by emu
-
emu committed patchset 197 of module cl-sdl-timot to the Common Lisp bindings for SDL CVS repository, changing 3 files.
2004-02-24 05:51:28 UTC by emu
-
emu committed patchset 196 of module cl-sdl-timot to the Common Lisp bindings for SDL CVS repository, changing 1 files.
2003-11-03 20:46:39 UTC by emu
-
emu committed patchset 195 of module cl-sdl-timot to the Common Lisp bindings for SDL CVS repository, changing 1 files.
2003-11-03 20:43:30 UTC by emu