mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
add SDL_AndroidShowToast for https://developer.android.com/reference/android/widget/Toast
This commit is contained in:
parent
1a924bc0bb
commit
5696582e1d
@ -228,6 +228,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_AndroidRequestPermission(const char *permis
|
||||
choose some value from https://developer.android.com/reference/android/view/Gravity
|
||||
xOffset : set this parameter only when gravity >=0
|
||||
yOffset : set this parameter only when gravity >=0
|
||||
Returns 0 if success, -1 if any error occured.
|
||||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_AndroidShowToast(const char* message, int duration, int gravity, int xOffset, int yOffset);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user