mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 07:29:09 +00:00
Fixed bug #4843 - Can not get the ime candidatelist like chinese/japaness input method
This commit is contained in:
parent
7fb4364391
commit
ccb12457f9
3 changed files with 40 additions and 1 deletions
|
@ -395,6 +395,17 @@ extern DECLSPEC SDL_bool SDLCALL SDL_AndroidRequestPermission(const char *permis
|
|||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_AndroidShowToast(const char* message, int duration, int gravity, int xoffset, int yoffset);
|
||||
|
||||
/* Set Android IME Input Type
|
||||
* Call this method before calling SDL_StartTextInput()
|
||||
*
|
||||
* \param type
|
||||
* 0 normal: use input method
|
||||
* 1 password (default): can not use input method,just use english
|
||||
*
|
||||
* \returns 0 if success, -1 if any error occurs.
|
||||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_AndroidSetInputType(int type);
|
||||
|
||||
#endif /* __ANDROID__ */
|
||||
|
||||
/* Platform specific functions for WinRT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue