summaryrefslogtreecommitdiff
path: root/sdl2/bindings
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2017-03-28 20:45:11 -0400
committerDavid Thompson <dthompson2@worcester.edu>2017-03-28 20:45:11 -0400
commitcfe2a2f4ffd339bce763764098a6a415653b5acc (patch)
tree5450ff49cbc0de476f70d53e60f607103cee6587 /sdl2/bindings
parente80e6d4f79d98bd95eb0bbd90fc2a07c22241e83 (diff)
surface: Parse SDL_PixelFormat, SDL_Palette, and SDL_Color structs.
* sdl2/surface.scm (color?, make-color, color-r, color-g, color-b, color-a, palette?, palette-length, palette-colors, pixel-format?, pixel-format-bits-per-pixel, pixel-format-bytes-per-pixel, pixel-format-red-mask, pixel-format-green-mask, pixel-format-blue-mask, pixel-format-alpha-mask, surface-pixel-format, wrap-palette, unwrap-palette, wrap-pixel-format, unwrap-pixel-format): New procedures. (<color>, <palette>, <pixel-format>): New types. (%palette-types, %pixel-format-types): New variables. (palette-parse-match, pixel-format-parse-match): New syntax. * .dir-locals.el: Add indent rules for new macros.
Diffstat (limited to 'sdl2/bindings')
0 files changed, 0 insertions, 0 deletions