include/SDL_hints.h
changeset 11841 fe303e78ea49
parent 11831 c3446901fc1c
child 11845 cf80a56f6d8d
     1.1 --- a/include/SDL_hints.h	Tue Jan 30 18:12:25 2018 -0800
     1.2 +++ b/include/SDL_hints.h	Thu Feb 01 15:21:01 2018 -0800
     1.3 @@ -366,6 +366,17 @@
     1.4  #define SDL_HINT_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS "SDL_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS"
     1.5  
     1.6  /**
     1.7 + * \brief  A variable controlling whether the home indicator bar on iPhone X
     1.8 + *         should be hidden.
     1.9 + *
    1.10 + *  This variable can be set to the following values:
    1.11 + *    "0"       - The indicator bar is not hidden (default for windowed applications)
    1.12 + *    "1"       - The indicator bar is hidden and is shown when the screen is touched (useful for movie playback applications)
    1.13 + *    "2"       - The indicator bar is dim and the first swipe makes it visible and the second swipe performs the "home" action (default for fullscreen applications)
    1.14 + */
    1.15 +#define SDL_HINT_IOS_HIDE_HOME_INDICATOR "SDL_IOS_HIDE_HOME_INDICATOR"
    1.16 +
    1.17 +/**
    1.18   *  \brief  A variable controlling whether the Android / iOS built-in
    1.19   *  accelerometer should be listed as a joystick device, rather than listing
    1.20   *  actual joysticks only.
    1.21 @@ -775,7 +786,7 @@
    1.22   *   "0"       - SDL will generate a window-close event when it sees Alt+F4.
    1.23   *   "1"       - SDL will only do normal key handling for Alt+F4.
    1.24   */
    1.25 -#define SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4	"SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"
    1.26 +#define SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 "SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"
    1.27  
    1.28  /**
    1.29   *  \brief Prevent SDL from using version 4 of the bitmap header when saving BMPs.