summaryrefslogtreecommitdiff
path: root/doc/api.texi
Commit message (Collapse)AuthorAgeFilesLines
* render: Change fill-rect to render-fill-rect.David Thompson2023-01-041-2/+2
| | | | | 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.
* doc: mouse: Fix misnamed mouse cursor procedure.David Thompson2022-07-261-1/+1
|
* mouse: Add cursor manipulation bindings.Ekaitz Zarraga2022-07-251-0/+41
| | | | | | | | | | | | | | | * 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-061-0/+8
|
* Add support for SDL_SetWindowIcon.Leo Prikler2021-06-301-0/+4
| | | | | | * 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-151-0/+5
| | | | | * sdl2/bindings.scm (sdl-set-texture-blend-mode): New variable. * sdl2/render.scm (set-texture-blend-mode!): New variable.
* Add support for hints.Leo Prikler2021-01-161-0/+24
| | | | | | | * 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/+8
|
* render: Add SDL_QueryTexture binding.Leo Prikler2020-12-151-0/+4
| | | | | | * sdl2/bindings.scm (sdl-query-texture): New variable. * sdl2/render.scm (query-texture): New variable. * doc/api.texi: Document it here.
* render: Rename render-target and set-render-target.David Thompson2020-12-051-12/+12
|
* 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-2/+6
|
* render: Allow for rendering rects with minimal allocation.David Thompson2020-12-051-4/+9
|
* rect: Add setters.David Thompson2020-12-051-4/+20
|
* ttf: Return multiple values instead of a list in font-glyph-metrics.David Thompson2020-12-051-3/+2
|
* ttf: Return multiple values instead of a list in font-size.David Thompson2020-12-051-3/+2
|
* video: Change window size/position procedures to return multiple values.David Thompson2020-12-051-10/+7
|
* video: Change set-window-size! argument list.David Thompson2020-12-051-3/+3
|
* video: Change set-window-position! argument list.David Thompson2020-12-051-3/+2
|
* video: Add more bindings.Leo Prikler2020-12-021-0/+29
| | | | | | | | | | | * 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-021-0/+39
| | | | | | | | | | | | * 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-091-0/+56
| | | | | | | | | | | | Bindings added: * TTF_FontAscent * TTF_FontDescent * TTF_FontLineSkip * TTF_SizeUTF8 * TTF_GlyphIsProvided * TTF_GetFontStyle * TTF_SetFontStyle
* Add blend mode bindings.Leo Prikler2020-09-301-0/+100
|
* doc: Add documentation for font-glyph-metrics.David Thompson2020-05-121-0/+6
|
* render: Add texture color/alpha mod bindings.Hugo Hörnquist2019-06-091-0/+16
| | | | | | | | | * 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-061-0/+23
| | | | | | | | | | | * 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-041-0/+17
| | | | | | | | * 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'.
* render: Add SDL_RenderDrawLines binding.Pierre-Antoine Rouby2019-05-311-0/+5
| | | | | | * 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-311-0/+5
| | | | | | * sdl2/bindings.scm (sdl-render-draw-points): New procedure. * sdl2/render.scm (render-draw-points): New procedure. * doc/api.texi (Rendering): Document it.
* render: Add SDL_DestroyTexture binding.Pierre-Antoine Rouby2019-05-271-0/+4
| | | | | | * 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-271-0/+5
| | | | | | * sdl2/bindings.scm (sdl-render-draw-line): New procedure. * sdl2/render.scm (render-draw-line): New procedure. * doc/api.texi (Rendering): Document it.
* render: Add SDL_RenderDrawLine binding.Pierre-Antoine Rouby2019-05-231-0/+5
| | | | | | * 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-211-2/+4
| | | | | | | | * 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-081-0/+4
| | | | | | * 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-081-0/+7
| | | | | | * 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.
* doc: Fill out some of the API documentation.Kei Kebreau2018-08-011-5/+1128
|
* Add the beginning of a manual.David Thompson2016-12-311-0/+133