| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
| |
* sdl/bindings.scm (sdl-set-window-icon): New variable.
* sdl/video.scm (set-window-icon!): New variable.
* doc/api.texi (Windows): Document it.
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-set-texture-blend-mode): New variable.
* sdl2/render.scm (set-texture-blend-mode!): New variable.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-query-texture): New variable.
* sdl2/render.scm (query-texture): New variable.
* doc/api.texi: Document it here.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bindings added:
* TTF_FontAscent
* TTF_FontDescent
* TTF_FontLineSkip
* TTF_SizeUTF8
* TTF_GlyphIsProvided
* TTF_GetFontStyle
* TTF_SetFontStyle
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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/api.texi: Add 'renderer' argument to 'make-texture'
documentation.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* doc/api.texi: Document 'set-render-draw-color'.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-lines): New procedure.
* sdl2/render.scm (render-draw-lines): New procedure.
* doc/api.texi: Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-points): New procedure.
* sdl2/render.scm (render-draw-points): New procedure.
* doc/api.texi (Rendering): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-destroy-texture): New procedure.
* sdl2/render.scm (delete-texture!): New procedure.
* doc/api.texi (Renderer): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-line): New procedure.
* sdl2/render.scm (render-draw-line): New procedure.
* doc/api.texi (Rendering): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-line): New procedure.
* sdl2/render.scm (render-draw-line): New procedure.
* doc/api.texi: Document it.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-fill-rect): New procedure.
* sdl2/surface.scm (fill-rect): New procedure.
* doc/api.texi (Surfaces): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-blit-scaled): New procedure.
* sdl2/surface.scm (blit-scaled): New procedure.
* doc/api.texi (Surfaces): Document it.
|
| |
|
|
|
|
| |
* doc/api.texi (Rects): New section.
|
|
|
|
| |
* doc/api.texi (Surfaces): Document blit-surface procedure.
|
| |
|
|
|