diff options
author | Tim Angus <tim@blackcompanystudios.co.uk> | 2011-06-10 14:23:24 +0100 |
---|---|---|
committer | Tim Angus <tim@blackcompanystudios.co.uk> | 2011-06-10 14:23:24 +0100 |
commit | 65d622ac90041159afc776a3703642053193ba4c (patch) | |
tree | 2aee9073ab78d9cd74646a57946bc60a3f37ccf7 /include | |
parent | 4b4457b7f9acd2d8d902186f49eee6abc1c5e218 (diff) |
* SDL_IOS_ORIENTATIONS hint
Diffstat (limited to 'include')
-rw-r--r-- | include/SDL_hints.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/SDL_hints.h b/include/SDL_hints.h index ed76ce53..e106650f 100644 --- a/include/SDL_hints.h +++ b/include/SDL_hints.h @@ -118,6 +118,17 @@ extern "C" { * By default SDL does not sync screen surface updates with vertical refresh. */ #define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC" + +/** + * \brief A variable controlling which orientations are allowed on iOS. + * + * In some circumstances it is necessary to be able to explicitly control + * which UI orientations are allowed. + * + * This variable is a space delimited list of the following values: + * "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown" + */ +#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS" /** |