summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc: Add documentation for font-glyph-metrics.David Thompson2020-05-121-0/+6
|
* ttf: Add TTF_GlyphMetrics binding.David Thompson2020-05-122-0/+17
| | | | | Thanks to Gerry Agbobada for requesting this and sending an initial patch.
* Bump to version 0.5.0.v0.5.0David Thompson2020-04-071-2/+2
|
* Fix typo in sdl2/config.scm.in.David Thompson2020-04-071-1/+1
|
* Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories.David Thompson2020-04-074-152/+52
|
* windows: Fix SDL2_mixer DLL name.David Thompson2019-07-291-1/+1
|
* Add Windows compatibility.David Thompson2019-07-291-11/+8
|
* ttf: Fix incorrect function name in error message.Hugo Hörnquist2019-06-121-1/+1
| | | | * sdl2/ttf.scm (render-font-blended): Fix function name in error message.
* render: Add texture color/alpha mod bindings.Hugo Hörnquist2019-06-093-0/+66
| | | | | | | | | * sdl2/bindings.scm (sdl-set-texture-color-mod, sdl-get-texture-color-mod, sdl-set-texture-alpha-mod, sdl-get-texture-alpha-mood): New procedures. * sdl2/render.scm (set-texture-color-mod!, set-texture-alpha-mod!, get-texture-color-mod, get-texture-alpha-mod): New procedures. * doc/api.texi: Document new procedures.
* doc: Add missing argument to make-texture procedure.Hugo Hörnquist2019-06-091-1/+1
| | | | | * doc/api.texi: Add 'renderer' argument to 'make-texture' documentation.
* render: Add SDL_SetRenderTarget bindings.Hugo Hörnquist2019-06-063-0/+77
| | | | | | | | | | | * sdl2/bindings.scm (SDL_TEXTUREACCESS_STATIC, SDL_TEXTUREACCESS_STREAMING, SDL_TEXTUREACCESS_TARGET): New variables. (sdl-create-texture, sdl-set-render-target, sdl-get-render-target): New procedures. * sdl2/render.scm (symbol->sdl-access-format, make-texture, set-render-target!, get-render-target): New procedures. * doc/api.texi: Document new procedures.
* render: Add SDL_RenderDrawRect and SDL_RenderFillRect bindings.Hugo Hörnquist2019-06-043-0/+70
| | | | | | | | * sdl2/bindings.scm (sdl-render-draw-rect, sdl-render-draw-rects, sdl-render-fill-rect, sdl-render-fill-rects): New procedures. * sdl2/render.scm (render-draw-rect, render-draw-rects, render-fill-rect, render-fill-rects): New procedures. * doc/api.texi: Document new procedures.
* Document set-render-draw-color procedure.Hugo Hörnquist2019-06-041-1/+7
| | | | * doc/api.texi: Document 'set-render-draw-color'.
* doc: Add direntry info.David Thompson2019-06-041-0/+5
| | | | | Thanks to Hugo Hörnquist <hugo@lysator.liu.se> for submitting this change.
* doc: Update copyright years.David Thompson2019-06-041-1/+2
|
* doc: Use pretty CSS for HTML version.David Thompson2019-06-022-0/+24
|
* Fix signature generation in 'make publish'.v0.4.0David Thompson2019-06-021-1/+1
| | | | I wasn't generating detached signatures! Oops!
* Bump to version 0.4.0.David Thompson2019-06-021-1/+1
|
* Update AUTHORS file.David Thompson2019-05-311-0/+2
|
* render: Add SDL_RenderDrawLines binding.Pierre-Antoine Rouby2019-05-313-0/+24
| | | | | | * sdl2/bindings.scm (sdl-render-draw-lines): New procedure. * sdl2/render.scm (render-draw-lines): New procedure. * doc/api.texi: Document it.
* render: Add SDL_RenderDrawPoints binding.Pierre-Antoine Rouby2019-05-313-0/+24
| | | | | | * sdl2/bindings.scm (sdl-render-draw-points): New procedure. * sdl2/render.scm (render-draw-points): New procedure. * doc/api.texi (Rendering): Document it.
* render: Fix delete-texture! exporting.Pierre-Antoine Rouby2019-05-311-1/+1
| | | | * sdl2/render.scm: Fix function name.
* render: Add SDL_DestroyTexture binding.Pierre-Antoine Rouby2019-05-273-0/+11
| | | | | | * sdl2/bindings.scm (sdl-destroy-texture): New procedure. * sdl2/render.scm (delete-texture!): New procedure. * doc/api.texi (Renderer): Document it.
* render: Add SDL_RenderDrawPoint binding.Pierre-Antoine Rouby2019-05-273-0/+15
| | | | | | * sdl2/bindings.scm (sdl-render-draw-line): New procedure. * sdl2/render.scm (render-draw-line): New procedure. * doc/api.texi (Rendering): Document it.
* Makefile: Fix texinfo include file declaration.David Thompson2019-05-231-1/+1
| | | | | Now 'make' will automatically rebuild the docs when, say, doc/api.texi is modified.
* render: Add SDL_RenderDrawLine binding.Pierre-Antoine Rouby2019-05-233-0/+13
| | | | | | * sdl2/bindings.scm (sdl-render-draw-line): New procedure. * sdl2/render.scm (render-draw-line): New procedure. * doc/api.texi: Document it.
* render: Add SDL_RenderCopyEx binding.Pierre-Antoine Rouby2019-05-213-11/+27
| | | | | | | | * sdl2/bindings.scm (sdl-point): New variable. (sdl-render-copy-ex): New procedure. * sdl2/render.scm (render-copy): Add optional arguments, angle and center. * doc/api.texi (Rendering): Document it.
* surface: Add SDL_FillRect binding.David Thompson2019-01-083-1/+19
| | | | | | * sdl2/bindings.scm (sdl-fill-rect): New procedure. * sdl2/surface.scm (fill-rect): New procedure. * doc/api.texi (Surfaces): Document it.
* surface: Add SDL_BlitScaled binding.David Thompson2019-01-083-1/+26
| | | | | | * sdl2/bindings.scm (sdl-blit-scaled): New procedure. * sdl2/surface.scm (blit-scaled): New procedure. * doc/api.texi (Surfaces): Document it.
* doc: Replace 'Scheme Procedure' with just 'Procedure'.David Thompson2019-01-081-238/+238
|
* doc: Document (sdl2 rect) module.David Thompson2019-01-081-0/+29
| | | | * doc/api.texi (Rects): New section.
* doc: Document blit-surface.David Thompson2019-01-081-0/+5
| | | | * doc/api.texi (Surfaces): Document blit-surface procedure.
* surface: Add SDL_BlitSurface binding.David Thompson2019-01-072-1/+19
| | | | | * sdl2/bindings.scm (sdl-blit-surface): New procedure. * sdl2/surface.scm (blit-surface): New procedure.
* Add rect module.David Thompson2019-01-072-0/+59
| | | | | * sdl2/rect.scm: New file. * Makefile.am (SOURCES): Add it.
* input: game-controller: Fix bug where right-y axis is invalid.David Thompson2019-01-051-1/+1
| | | | * sdl2/input/game-controller.scm (axis-symbol->int): Fix typo!
* Bump to version 0.3.1.v0.3.1David Thompson2018-10-161-1/+1
|
* configure: Accept Guile 3.0.David Thompson2018-10-031-1/+1
|
* Add binding for SDL_SetRenderDrawColor.Eero Leno2018-08-212-0/+9
| | | | | * sdl2/bindings.scm (sdl-set-render-draw-color): New procedure. * sdl2/render.scm (set-render-draw-color): New procedure.
* Add AUTHORS file.v0.3.0David Thompson2018-08-011-0/+2
|
* doc: Fill out some of the API documentation.Kei Kebreau2018-08-011-5/+1128
|
* Bump to version 0.3.0.David Thompson2018-07-101-1/+1
|
* Makfile: Fix publish task.David Thompson2018-07-101-1/+1
|
* Makefile: Fix compiled guile module installation location.David Thompson2018-07-101-1/+1
|
* input: mouse: Add mouse-button-released?David Thompson2017-11-101-1/+6
| | | | * sdl2/input/mouse.scm (mouse-button-released?): New procedure.
* Add mouse input module.David Thompson2017-11-102-0/+68
| | | | | * sdl2/input/mouse.scm: New file. * Makefile.am (SOURCES): Add it.
* render: Fix broken render-copy procedure.David Thompson2017-11-101-7/+7
| | | | | * sdl2/render.scm (render-copy): Make srcrect and dstrect optional and do not use nil? to check them.
* Add binding for SDL_GetMouseState.David Thompson2017-11-101-0/+2
| | | | | | No high-level wrapper yet, though. * sdl2/bindings.scm (sdl-get-mouse-state): New procedure.
* Add clipboard bindings.David Thompson2017-11-103-0/+63
| | | | | | | * sdl2/bindings.scm (sdl-get-clipboard-text, sdl-set-clipboard-text, sdl-has-clipboard-text): New procedures. * sdl2/clipboard.scm: New file. * Makefile.am (SOURCES): Add it.
* README: Update Guix build instructions.David Thompson2017-11-101-4/+4
|
* Add SDL_GameControllerAddMappingsFromRW binding.David Thompson2017-11-102-1/+22
| | | | | | | * sdl2/bindings.scm (sdl-game-controller-add-mappings-from-file): New procedure. * sdl2/input/game-controller.scm (load-game-controller-mappings!): New procedure.