include/SDL_hints.h
branchiOS-improvements
changeset 9515 63f5d07c7d70
parent 9505 6fc615dfc93f
parent 9098 064ea0b1275c
child 9516 77867123589c
     1.1 --- a/include/SDL_hints.h	Fri Aug 08 15:14:09 2014 -0300
     1.2 +++ b/include/SDL_hints.h	Wed Aug 20 17:20:22 2014 -0300
     1.3 @@ -478,6 +478,18 @@
     1.4   */
     1.5  #define SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"
     1.6  
     1.7 +/**
     1.8 + * \brief A variable to control whether certain IMs should handle text editing internally instead of sending TEXTEDITING events.
     1.9 + *
    1.10 + *
    1.11 + * The variable can be set to the following values:
    1.12 + *   "0"       - TEXTEDITING events are sent, and it is the application's
    1.13 + *               responsibility to render the text from these events and 
    1.14 + *               differentiate it somehow from committed text. (default)
    1.15 + *   "1"       - If supported by the IM then TEXTEDITING events are not sent, 
    1.16 + *               and text that is being composed will be rendered in its own UI.
    1.17 + */
    1.18 +#define SDL_HINT_IME_INTERNAL_EDITING "SDL_IME_INTERNAL_EDITING"
    1.19  
    1.20  /**
    1.21   *  \brief  An enumeration of hint priorities