include/SDL_hints.h
changeset 5554 4b4258be8699
parent 5535 96594ac5fd1a
child 5555 3ecad5e5dbe4
equal deleted inserted replaced
5553:418675ebba17 5554:4b4258be8699
   116  *    "1"       - Enable vsync
   116  *    "1"       - Enable vsync
   117  *
   117  *
   118  *  By default SDL does not sync screen surface updates with vertical refresh.
   118  *  By default SDL does not sync screen surface updates with vertical refresh.
   119  */
   119  */
   120 #define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
   120 #define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
       
   121 	
       
   122 /**
       
   123  *  \brief  A variable controlling which orientations are allowed on iOS.
       
   124  *
       
   125  *  In some circumstances it is necessary to be able to explicitly control
       
   126  *  which UI orientations are allowed.
       
   127  *
       
   128  *  This variable is a space delimited list of the following values:
       
   129  *    "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown"
       
   130  */
       
   131 #define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
   121 
   132 
   122 
   133 
   123 /**
   134 /**
   124  *  \brief  An enumeration of hint priorities
   135  *  \brief  An enumeration of hint priorities
   125  */
   136  */