summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* window: Improve call-with-window.David Thompson2015-12-141-9/+7
| | | | | * sdl2/video.scm (call-with-window): Use a pre-existing window object instead of making a new one.
* Remove "sdl-" prefix from symbols in window module.David Thompson2015-12-143-72/+73
|
* Replace blank window example with hello example.David Thompson2015-12-133-10/+37
|
* Add a few surface bindings.David Thompson2015-12-133-0/+86
| | | | | | | * sdl2/bindings.scm (sdl-rw-from-file, sdl-free-surface, sdl-load-bmp-rw): New procedures. * sdl2/surface.scm: New file. * Makefile.am (SOURCES): Add it.
* Add renderer bindings.David Thompson2015-12-133-1/+163
| | | | | | | | | | * sdl2/bindings.scm (SDL_RENDERER_SOFTWARE, SDL_RENDERER_ACCELERATED, SDL_RENDERER_PRESENTVSYNC, SDL_RENDERER_TARGETTEXTURE): New variables. (sdl-create-renderer, sdl-destroy-renderer, sdl-render-clear, sdl-render-present, sdl-render-copy, sdl-create-texture-from-surface): New procedures. * sdl2/render.scm: New file. * Makefile.am (SOURCES): Add it.
* Add blank window example.David Thompson2015-12-121-0/+10
| | | | * examples/blank-window.scm: New file.
* Add SDL_GetTicks binding.David Thompson2015-12-122-1/+15
| | | | | * sdl2/bindings.scm (sdl-get-ticks): New procedure. * sdl2.scm (sdl-ticks): New procedure.
* Update Guix package.David Thompson2015-10-061-2/+13
|
* Initial commit.David Thompson2015-10-0612-0/+982
Let's do this!