include/SDL_hints.h
changeset 8295 56f7e38ff0bc
parent 8284 a2910aa6c056
child 8583 fb2933ca805f
equal deleted inserted replaced
8294:7371078ee876 8295:56f7e38ff0bc
   346 *    share a pixel format with.
   346 *    share a pixel format with.
   347 */
   347 */
   348 #define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT    "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
   348 #define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT    "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
   349 
   349 
   350 /**
   350 /**
       
   351  *  \brief  A variable that dictates policy for fullscreen Spaces on Mac OS X.
       
   352  *
       
   353  *  This hint only applies to Mac OS X.
       
   354  *
       
   355  *  The variable can be set to the following values:
       
   356  *    "0"       - Disable Spaces support (FULLSCREEN_DESKTOP won't use them and
       
   357  *                SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen"
       
   358  *                button on their titlebars).
       
   359  *    "1"       - Enable Spaces support (FULLSCREEN_DESKTOP will use them and
       
   360  *                SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
       
   361  *                button on their titlebars.
       
   362  *
       
   363  *  The default value is "1". Spaces are disabled regardless of this hint if
       
   364  *   the OS isn't at least Mac OS X Lion (10.7). This hint must be set before
       
   365  *   any windows are created.
       
   366  */
       
   367 #define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES    "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
       
   368 
       
   369 
       
   370 /**
   351  *  \brief  An enumeration of hint priorities
   371  *  \brief  An enumeration of hint priorities
   352  */
   372  */
   353 typedef enum
   373 typedef enum
   354 {
   374 {
   355     SDL_HINT_DEFAULT,
   375     SDL_HINT_DEFAULT,