diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-12-22 14:05:58 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-12-22 14:05:58 -0500 |
commit | ad2a71bd5d6d984fc72a5474c55c7fb052cd694c (patch) | |
tree | 5d6a1de87aac9eff2f09631339fb9dda0d3607cc /sdl2/surface.scm | |
parent | cf606558b6aa6864ed94134e98d45fc06d110911 (diff) |
window: Allow unspecified and centered window positions.
* sdl2/bindings.scm (SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_UNDEFINED):
New variables.
* sdl2/video.scm (make-window): Accept #f and 'center' as valid
coordinates for undefined and centered positioning, respectively. Use
an undefined position by default.
Diffstat (limited to 'sdl2/surface.scm')
0 files changed, 0 insertions, 0 deletions