From 5696582e1d58435b4637617d0d956ce9a0457010 Mon Sep 17 00:00:00 2001 From: Amir Date: Fri, 19 Feb 2021 14:22:31 +0300 Subject: [PATCH] add SDL_AndroidShowToast for https://developer.android.com/reference/android/widget/Toast --- include/SDL_system.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/SDL_system.h b/include/SDL_system.h index f0134417d..adf1c0359 100644 --- a/include/SDL_system.h +++ b/include/SDL_system.h @@ -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);