summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mouse: Add cursor manipulation bindings.Ekaitz Zarraga2022-07-253-2/+146
| | | | | | | | | | | | | | | * sdl2/bindings.scm (SDL_SYSTEM_CURSOR_ARROW, SDL_SYSTEM_CURSOR_IBEAM) (SDL_SYSTEM_CURSOR_WAIT, SDL_SYSTEM_CURSOR_CROSSHAIR) (SDL_SYSTEM_CURSOR_WAITARROW, SDL_SYSTEM_CURSOR_SIZENWSE) (SDL_SYSTEM_CURSOR_SIZENESW, SDL_SYSTEM_CURSOR_SIZEWE) (SDL_SYSTEM_CURSOR_SIZENS, SDL_SYSTEM_CURSOR_SIZEALL) (SDL_SYSTEM_CURSOR_NO, SDL_SYSTEM_CURSOR_HAND, SDL_NUM_SYSTEM_CURSORS): New variables. (sdl-create-system-cursor, sdl-create-color-cursor, sdl-free-cursor) (sdl-set-cursor, sdl-get-cursor, sdl-show-cursor): New procedures. * sdl2/input/mouse.scm (make-system-cursor, make-surface-cursor) (set-cursor!, get-cursor, delete-cursor!): New procedures. * doc/api.texi (Mouse): Document the added features
* Add SDL_UpdateTexture binding.Ekaitz Zarraga2022-07-063-0/+27
|
* keyboard: Respect user keyboard layout in key-pressed? procedure.David Thompson2021-10-241-243/+239
|
* Add SDL_GetScancodeFromKey binding.David Thompson2021-10-241-0/+3
|
* Fix alternative libSDL2_image name.v0.7.0David Thompson2021-09-271-1/+1
|
* Utilize LD_LIBRARY_PATH when set.David Thompson2021-09-271-16/+33
|
* Fix error reporting when dynamic-link fails.David Thompson2021-09-271-2/+2
|
* Bump version to 0.7.0.David Thompson2021-09-231-1/+1
|
* Add support for SDL_SetWindowIcon.Leo Prikler2021-06-303-0/+14
| | | | | | * sdl/bindings.scm (sdl-set-window-icon): New variable. * sdl/video.scm (set-window-icon!): New variable. * doc/api.texi (Windows): Document it.
* Add support for texture blend modes.Leo Prikler2021-06-153-0/+14
| | | | | * sdl2/bindings.scm (sdl-set-texture-blend-mode): New variable. * sdl2/render.scm (set-texture-blend-mode!): New variable.
* Replace references to Freenode with Libera.chat.David Thompson2021-05-272-2/+2
|
* input: mouse: Add bindings for showing/hiding/moving the mouse cursor.David Thompson2021-05-132-3/+39
|
* events: Add mouse wheel event.David Thompson2021-05-131-0/+40
|
* bindings: Add SDL_MOUSEWHEEL_* constants.David Thompson2021-05-131-0/+3
|
* configure: Improve search for Guile executables.David Thompson2021-05-051-0/+1
| | | | | | | | I was having this weird issue where, despite Guile from Guix being on $PATH, the configure script was detecting the Guile executable installed in /usr/bin. Adding this AC_PATH_PROG line fixes the problem, and the environment created by `guix environment -l guix.scm` behaves as expected.
* Add run-example script.David Thompson2021-05-052-0/+5
|
* Ignore some doc build artifacts.David Thompson2021-05-051-0/+2
|
* guix: Simplify local source in package.David Thompson2021-05-041-20/+5
|
* Add fallback method for loading shared libraries.David Thompson2021-04-305-9/+37
|
* make: Update publish task.David Thompson2021-04-251-1/+1
|
* render: Fix indexing error in build-point-bv.Unworried Safari2021-04-251-1/+1
|
* Bump version to 0.6.0.v0.6.0David Thompson2021-04-131-1/+1
|
* Add support for hints.Leo Prikler2021-01-164-0/+181
| | | | | | | * 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 Thompson2020-12-153-0/+24
|
* 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.