summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* render: Add SDL_QueryTexture binding.Leo Prikler2020-12-153-1/+67
| | | | | | * sdl2/bindings.scm (sdl-query-texture): New variable. * sdl2/render.scm (query-texture): New variable. * doc/api.texi: Document it here.
* Fix return value(s) of renderer-logical-size.Leo Prikler2020-12-151-1/+2
|
* Fixup renderer-scale typo and return value.Leo Prikler2020-12-151-3/+3
|
* render: Rename render-target and set-render-target.David Thompson2020-12-052-16/+16
|
* render: Fix procedure exports.David Thompson2020-12-051-19/+18
|
* render: Make set-renderer-scale! actually set scale.Leo Prikler2020-12-051-2/+2
|
* Export new render and video bindings.Leo Prikler2020-12-052-0/+15
|
* render: Rename get-texture-color-mod to texture-color-mod.David Thompson2020-12-052-2/+2
|
* render: Rename get-texture-alpha-mod to texture-alpha-mode.David Thompson2020-12-052-2/+2
|
* render: Rename get-render-target to render-target.David Thompson2020-12-052-2/+2
|
* render: s/render-draw/draw/David Thompson2020-12-052-16/+16
|
* render: Rename set-render-draw-color to set-renderer-draw-color!David Thompson2020-12-052-2/+2
|
* render: Rename set-render-draw-blend-mode to set-renderer-draw-blend-mode!David Thompson2020-12-052-2/+2
|
* render: Allow for rendering points with minimal allocation.David Thompson2020-12-052-26/+33
|
* render: Allow for rendering rects with minimal allocation.David Thompson2020-12-052-30/+50
|
* rect: Add setters.David Thompson2020-12-052-5/+37
|
* rect: Allow getters to be inlined.David Thompson2020-12-051-4/+4
|
* ttf: Return multiple values instead of a list in font-glyph-metrics.David Thompson2020-12-052-6/+9
|
* ttf: Return multiple values instead of a list in font-size.David Thompson2020-12-052-6/+5
|
* video: Update copyright year.David Thompson2020-12-051-1/+1
|
* video: Change window size/position procedures to return multiple values.David Thompson2020-12-052-11/+9
|
* video: Change set-window-size! argument list.David Thompson2020-12-052-9/+6
|
* video: Change set-window-position! argument list.David Thompson2020-12-052-9/+5
|
* input: keyboard: Remove unnecessary module import.David Thompson2020-12-051-1/+0
|
* input: joystick: Remove unnecessary module import.David Thompson2020-12-051-1/+0
|
* video: Add more bindings.Leo Prikler2020-12-023-0/+65
| | | | | | | | | | | * sdl2/bindings.scm (sdl-window-get-minimum-size) (sdl-window-get-maximum-size, sdl-window-set-minimum-size) (sdl-window-set-maximum-size, sdl-window-set-resizable): New procedures. * sdl2/video.scm (window-minimum-size, window-maximum-size) (set-window-minimum-size!, set-window-maximum-size!) (set-window-resizable!): New procedures. * doc/api.texi: Document new (sdl2 video) bindings.
* render: Add more bindings.Leo Prikler2020-12-023-0/+125
| | | | | | | | | | | | * sdl2/bindings.scm (sdl-render-get-integer-scale, sdl-render-get-scale) (sdl-render-get-logical-size, sdl-render-get-viewport) (sdl-render-set-integer-scale, sdl-render-set-scale) (sdl-render-set-logical-size, sdl-render-set-viewport): New procedures. * sdl2/render.scm (render-get-integer-scale, render-get-logical-size) (render-get-scale, render-get-viewport, render-set-integer-scale) (render-set-logical-size, render-set-scale, render-set-viewport): New procedures. * doc/api.texi: Document new (sdl2 render) bindings.
* ttf: Add more bindings.Gerry Agbobada2020-10-093-0/+163
| | | | | | | | | | | | Bindings added: * TTF_FontAscent * TTF_FontDescent * TTF_FontLineSkip * TTF_SizeUTF8 * TTF_GlyphIsProvided * TTF_GetFontStyle * TTF_SetFontStyle
* Add blend mode bindings.Leo Prikler2020-09-305-0/+282
|
* render: Allow rect to be #f in render-draw-rect and render-draw-rects.Leo Prikler2020-09-291-2/+6
|
* ttf: Fix bytevector offsets in font-glyph-metrics.David Thompson2020-05-121-2/+2
| | | | -_______________-
* ttf: Export font-glyph-metrics.David Thompson2020-05-121-0/+1
| | | | -_-
* 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
|