include/SDL_hints.h
changeset 5554 4b4258be8699
parent 5535 96594ac5fd1a
child 5555 3ecad5e5dbe4
     1.1 --- a/include/SDL_hints.h	Sun Jun 12 12:23:39 2011 -0400
     1.2 +++ b/include/SDL_hints.h	Fri Jun 10 14:23:24 2011 +0100
     1.3 @@ -118,6 +118,17 @@
     1.4   *  By default SDL does not sync screen surface updates with vertical refresh.
     1.5   */
     1.6  #define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
     1.7 +	
     1.8 +/**
     1.9 + *  \brief  A variable controlling which orientations are allowed on iOS.
    1.10 + *
    1.11 + *  In some circumstances it is necessary to be able to explicitly control
    1.12 + *  which UI orientations are allowed.
    1.13 + *
    1.14 + *  This variable is a space delimited list of the following values:
    1.15 + *    "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown"
    1.16 + */
    1.17 +#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
    1.18  
    1.19  
    1.20  /**