Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for texture blend modes. | Leo Prikler | 2021-06-15 | 2 | -0/+9 |
| | | | | | * sdl2/bindings.scm (sdl-set-texture-blend-mode): New variable. * sdl2/render.scm (set-texture-blend-mode!): New variable. | ||||
* | input: mouse: Add bindings for showing/hiding/moving the mouse cursor. | David Thompson | 2021-05-13 | 2 | -3/+39 |
| | |||||
* | events: Add mouse wheel event. | David Thompson | 2021-05-13 | 1 | -0/+40 |
| | |||||
* | bindings: Add SDL_MOUSEWHEEL_* constants. | David Thompson | 2021-05-13 | 1 | -0/+3 |
| | |||||
* | Add fallback method for loading shared libraries. | David Thompson | 2021-04-30 | 5 | -9/+37 |
| | |||||
* | render: Fix indexing error in build-point-bv. | Unworried Safari | 2021-04-25 | 1 | -1/+1 |
| | |||||
* | Add support for hints. | Leo Prikler | 2021-01-16 | 2 | -0/+156 |
| | | | | | | | * sdl2/bindings.scm (SDL_HINT_DEFAULT, SDL_HINT_NORMAL, SDL_HINT_OVERRIDE) (sdl-set-hint-with-priority, sdl-get-hint): New variables. * sdl2/hints.scm: New file. * doc/api.texi: Add Hints. | ||||
* | Add SDL_GetPerformanceCounter and SDL_GetPerformanceFrequency bindings. | David Thompson | 2020-12-15 | 1 | -0/+6 |
| | |||||
* | render: Add SDL_QueryTexture binding. | Leo Prikler | 2020-12-15 | 2 | -1/+63 |
| | | | | | | * 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 Prikler | 2020-12-15 | 1 | -1/+2 |
| | |||||
* | Fixup renderer-scale typo and return value. | Leo Prikler | 2020-12-15 | 1 | -3/+3 |
| | |||||
* | render: Rename render-target and set-render-target. | David Thompson | 2020-12-05 | 1 | -4/+4 |
| | |||||
* | render: Fix procedure exports. | David Thompson | 2020-12-05 | 1 | -19/+18 |
| | |||||
* | render: Make set-renderer-scale! actually set scale. | Leo Prikler | 2020-12-05 | 1 | -2/+2 |
| | |||||
* | Export new render and video bindings. | Leo Prikler | 2020-12-05 | 2 | -0/+15 |
| | |||||
* | render: Rename get-texture-color-mod to texture-color-mod. | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | render: Rename get-texture-alpha-mod to texture-alpha-mode. | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | render: Rename get-render-target to render-target. | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | render: s/render-draw/draw/ | David Thompson | 2020-12-05 | 1 | -8/+8 |
| | |||||
* | render: Rename set-render-draw-color to set-renderer-draw-color! | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | render: Rename set-render-draw-blend-mode to set-renderer-draw-blend-mode! | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | render: Allow for rendering points with minimal allocation. | David Thompson | 2020-12-05 | 1 | -24/+27 |
| | |||||
* | render: Allow for rendering rects with minimal allocation. | David Thompson | 2020-12-05 | 1 | -26/+41 |
| | |||||
* | rect: Add setters. | David Thompson | 2020-12-05 | 1 | -1/+17 |
| | |||||
* | rect: Allow getters to be inlined. | David Thompson | 2020-12-05 | 1 | -4/+4 |
| | |||||
* | ttf: Return multiple values instead of a list in font-glyph-metrics. | David Thompson | 2020-12-05 | 1 | -3/+7 |
| | |||||
* | ttf: Return multiple values instead of a list in font-size. | David Thompson | 2020-12-05 | 1 | -3/+3 |
| | |||||
* | video: Update copyright year. | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | video: Change window size/position procedures to return multiple values. | David Thompson | 2020-12-05 | 1 | -1/+2 |
| | |||||
* | video: Change set-window-size! argument list. | David Thompson | 2020-12-05 | 1 | -6/+3 |
| | |||||
* | video: Change set-window-position! argument list. | David Thompson | 2020-12-05 | 1 | -6/+3 |
| | |||||
* | input: keyboard: Remove unnecessary module import. | David Thompson | 2020-12-05 | 1 | -1/+0 |
| | |||||
* | input: joystick: Remove unnecessary module import. | David Thompson | 2020-12-05 | 1 | -1/+0 |
| | |||||
* | video: Add more bindings. | Leo Prikler | 2020-12-02 | 2 | -0/+36 |
| | | | | | | | | | | | * 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 Prikler | 2020-12-02 | 2 | -0/+86 |
| | | | | | | | | | | | | * 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 Agbobada | 2020-10-09 | 2 | -0/+107 |
| | | | | | | | | | | | | Bindings added: * TTF_FontAscent * TTF_FontDescent * TTF_FontLineSkip * TTF_SizeUTF8 * TTF_GlyphIsProvided * TTF_GetFontStyle * TTF_SetFontStyle | ||||
* | Add blend mode bindings. | Leo Prikler | 2020-09-30 | 3 | -0/+181 |
| | |||||
* | render: Allow rect to be #f in render-draw-rect and render-draw-rects. | Leo Prikler | 2020-09-29 | 1 | -2/+6 |
| | |||||
* | ttf: Fix bytevector offsets in font-glyph-metrics. | David Thompson | 2020-05-12 | 1 | -2/+2 |
| | | | | -_______________- | ||||
* | ttf: Export font-glyph-metrics. | David Thompson | 2020-05-12 | 1 | -0/+1 |
| | | | | -_- | ||||
* | ttf: Add TTF_GlyphMetrics binding. | David Thompson | 2020-05-12 | 2 | -0/+17 |
| | | | | | Thanks to Gerry Agbobada for requesting this and sending an initial patch. | ||||
* | Fix typo in sdl2/config.scm.in. | David Thompson | 2020-04-07 | 1 | -1/+1 |
| | |||||
* | Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories. | David Thompson | 2020-04-07 | 1 | -4/+4 |
| | |||||
* | windows: Fix SDL2_mixer DLL name. | David Thompson | 2019-07-29 | 1 | -1/+1 |
| | |||||
* | Add Windows compatibility. | David Thompson | 2019-07-29 | 1 | -11/+8 |
| | |||||
* | ttf: Fix incorrect function name in error message. | Hugo Hörnquist | 2019-06-12 | 1 | -1/+1 |
| | | | | * sdl2/ttf.scm (render-font-blended): Fix function name in error message. | ||||
* | render: Add texture color/alpha mod bindings. | Hugo Hörnquist | 2019-06-09 | 2 | -0/+50 |
| | | | | | | | | | * 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. | ||||
* | render: Add SDL_SetRenderTarget bindings. | Hugo Hörnquist | 2019-06-06 | 2 | -0/+54 |
| | | | | | | | | | | | * 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örnquist | 2019-06-04 | 2 | -0/+53 |
| | | | | | | | | * 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. | ||||
* | render: Add SDL_RenderDrawLines binding. | Pierre-Antoine Rouby | 2019-05-31 | 2 | -0/+19 |
| | | | | | | * sdl2/bindings.scm (sdl-render-draw-lines): New procedure. * sdl2/render.scm (render-draw-lines): New procedure. * doc/api.texi: Document it. |