@ -593,19 +593,12 @@ class Sdl2Application {
* @ brief Start text input
* @ brief Start text input
*
*
* Starts text input that will go to @ ref textInputEvent ( ) and
* Starts text input that will go to @ ref textInputEvent ( ) and
* @ ref textEditingEvent ( ) . The @ p rect defines an area where the text
* @ ref textEditingEvent ( ) .
* is being displayed , for example to hint the system where to place
* on - screen keyboard . Ignored if empty .
* @ note Not available in @ ref CORRADE_TARGET_EMSCRIPTEN " Emscripten " .
* @ note Not available in @ ref CORRADE_TARGET_EMSCRIPTEN " Emscripten " .
* @ see @ ref stopTextInput ( ) , @ ref isTextInputActive ( ) ,
* @ see @ ref stopTextInput ( ) , @ ref isTextInputActive ( ) ,
* @ ref setTextInputRect ( )
*/
*/
# ifdef DOXYGEN_GENERATING_OUTPUT
void startTextInput ( ) { SDL_StartTextInput ( ) ; }
void startTextInput ( const Range2Di & rect = { } ) ;
# else
/* To avoid including the type in header */
void startTextInput ( const Range2Di & rect ) ;
void startTextInput ( ) ;
# endif
/**
/**
* @ brief Stop text input
* @ brief Stop text input
@ -616,6 +609,14 @@ class Sdl2Application {
*/
*/
void stopTextInput ( ) { SDL_StopTextInput ( ) ; }
void stopTextInput ( ) { SDL_StopTextInput ( ) ; }
/**
* @ brief Set text input rectangle
*
* The @ p rect defines an area where the text is being displayed , for
* example to hint the system where to place on - screen keyboard .
*/
void setTextInputRect ( const Range2Di & rect ) ;
# ifdef DOXYGEN_GENERATING_OUTPUT
# ifdef DOXYGEN_GENERATING_OUTPUT
protected :
protected :
# else
# else