include/SDL_hints.h
changeset 10378 cb7f88c92a2e
parent 10352 d11894522a9a
child 10404 a990b0da18cc
     1.1 --- a/include/SDL_hints.h	Thu Sep 29 03:59:04 2016 -0700
     1.2 +++ b/include/SDL_hints.h	Thu Sep 29 13:34:49 2016 -0700
     1.3 @@ -233,17 +233,28 @@
     1.4  #define SDL_HINT_GRAB_KEYBOARD              "SDL_GRAB_KEYBOARD"
     1.5  
     1.6  /**
     1.7 -*  \brief  A variable controlling whether relative mouse mode is implemented using mouse warping
     1.8 -*
     1.9 -*  This variable can be set to the following values:
    1.10 -*    "0"       - Relative mouse mode uses raw input
    1.11 -*    "1"       - Relative mouse mode uses mouse warping
    1.12 -*
    1.13 -*  By default SDL will use raw input for relative mouse mode
    1.14 -*/
    1.15 + *  \brief  A variable controlling whether relative mouse mode is implemented using mouse warping
    1.16 + *
    1.17 + *  This variable can be set to the following values:
    1.18 + *    "0"       - Relative mouse mode uses raw input
    1.19 + *    "1"       - Relative mouse mode uses mouse warping
    1.20 + *
    1.21 + *  By default SDL will use raw input for relative mouse mode
    1.22 + */
    1.23  #define SDL_HINT_MOUSE_RELATIVE_MODE_WARP    "SDL_MOUSE_RELATIVE_MODE_WARP"
    1.24  
    1.25  /**
    1.26 + *  \brief Allow mouse click events when clicking to focus an SDL window
    1.27 + *
    1.28 + *  This variable can be set to the following values:
    1.29 + *    "0"       - Ignore mouse clicks that activate a window
    1.30 + *    "1"       - Generate events for mouse clicks that activate a window
    1.31 + *
    1.32 + *  By default SDL will ignore mouse clicks that activate a window
    1.33 + */
    1.34 +#define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH"
    1.35 +
    1.36 +/**
    1.37   *  \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true.
    1.38   *
    1.39   */
    1.40 @@ -576,13 +587,6 @@
    1.41  #define SDL_HINT_MAC_BACKGROUND_APP    "SDL_MAC_BACKGROUND_APP"
    1.42  
    1.43  /**
    1.44 - *  \brief Allow mouse click events when clicking to focus an SDL window
    1.45 - *
    1.46 - *  This hint only applies to Mac OS X.
    1.47 - */
    1.48 -#define SDL_HINT_MAC_MOUSE_FOCUS_CLICKTHROUGH "SDL_MAC_MOUSE_FOCUS_CLICKTHROUGH"
    1.49 -
    1.50 -/**
    1.51   * \brief Android APK expansion main file version. Should be a string number like "1", "2" etc.
    1.52   *
    1.53   * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION.