summaryrefslogtreecommitdiff
path: root/sdl2
Commit message (Collapse)AuthorAgeFilesLines
* video: Fix SDL_GL_MakeCurrent return type.HEADmasterDavid Thompson2023-09-301-1/+1
|
* video: Add SDL_GL_MakeCurrent binding.David Thompson2023-09-302-0/+10
|
* render: Change fill-rect to render-fill-rect.David Thompson2023-01-041-4/+4
| | | | | This is to avoid a name collision with fill-rect in the (sdl2 surface) module. Rename fill-rects to render-fill-rects, too, for consistency.
* render: Fix render-copy to use rect objects properly.David Thompson2023-01-041-3/+3
|
* Add beginnings of audio API bindings.David Thompson2022-10-232-0/+62
| | | | Just a first baby step. Nothing usable yet.
* Add beginnings of sensor API bindings.David Thompson2022-10-232-0/+189
| | | | | Not adding anything to manual at this time because the bindings aren't really usable yet.
* events: Fix typo in scancode to symbol translation.David Thompson2022-10-231-1/+1
|
* events: Add support for take-focus and hit-test window events.David Thompson2022-10-091-16/+19
|
* bindings: Add two missing window event types.David Thompson2022-10-091-0/+2
|
* events: Support additional controller buttons.David Thompson2022-10-011-1/+8
|
* bindings: Add additional controller button identifiers.David Thompson2022-10-011-1/+7
|
* config: Fallback to absolute file names even with LD_LIBRARY_PATH.Liliana Prikler2022-07-281-3/+7
| | | | | This is useful when LD_LIBRARY_PATH is set but libSDL2 is not intended to be found there.
* render: Fix missing export.Liliana Prikler2022-07-281-0/+1
|
* mouse: Fix exported procedure names for cursor bindings.David Thompson2022-07-261-2/+2
|
* mouse: Add cursor manipulation bindings.Ekaitz Zarraga2022-07-252-2/+105
| | | | | | | | | | | | | | | * 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-062-0/+19
|
* 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
|
* Add support for SDL_SetWindowIcon.Leo Prikler2021-06-302-0/+10
| | | | | | * 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-152-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 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
|
* Add fallback method for loading shared libraries.David Thompson2021-04-305-9/+37
|
* render: Fix indexing error in build-point-bv.Unworried Safari2021-04-251-1/+1
|
* Add support for hints.Leo Prikler2021-01-162-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 Thompson2020-12-151-0/+6
|
* render: Add SDL_QueryTexture binding.Leo Prikler2020-12-152-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 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-051-4/+4
|
* 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-051-1/+1
|
* render: Rename get-texture-alpha-mod to texture-alpha-mode.David Thompson2020-12-051-1/+1
|
* render: Rename get-render-target to render-target.David Thompson2020-12-051-1/+1
|
* render: s/render-draw/draw/David Thompson2020-12-051-8/+8
|
* render: Rename set-render-draw-color to set-renderer-draw-color!David Thompson2020-12-051-1/+1
|
* render: Rename set-render-draw-blend-mode to set-renderer-draw-blend-mode!David Thompson2020-12-051-1/+1
|
* render: Allow for rendering points with minimal allocation.David Thompson2020-12-051-24/+27
|
* render: Allow for rendering rects with minimal allocation.David Thompson2020-12-051-26/+41
|
* rect: Add setters.David Thompson2020-12-051-1/+17
|
* 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-051-3/+7
|
* ttf: Return multiple values instead of a list in font-size.David Thompson2020-12-051-3/+3
|
* video: Update copyright year.David Thompson2020-12-051-1/+1
|