summaryrefslogtreecommitdiff
path: root/src/ios.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-21 14:29:51 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-21 14:29:51 +0200
commit2f9e203058df442921fc0151ddc5fe9b68b87935 (patch)
tree5441025fcf4e974e82128f65376650bec7a941bb /src/ios.h
parentb93ba1bfb860c2a4b5bf46c77f3f0d11b4eb1282 (diff)
iOS: Save to Files; hide toolbar on scroll
There is no downloads directory on mobile. Instead, the downloaded file is temporarily cached and given to the iOS document picker to export. Added an option to hide the bottom toolbar while scrolling down.
Diffstat (limited to 'src/ios.h')
-rw-r--r--src/ios.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ios.h b/src/ios.h
index 9490491f..29669a26 100644
--- a/src/ios.h
+++ b/src/ios.h
@@ -32,7 +32,9 @@ enum iHapticEffect {
32 32
33void setupApplication_iOS (void); 33void setupApplication_iOS (void);
34void setupWindow_iOS (iWindow *window); 34void setupWindow_iOS (iWindow *window);
35iBool isPhone_iOS (void);
36void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom);
37iBool processEvent_iOS (const SDL_Event *); 35iBool processEvent_iOS (const SDL_Event *);
38void playHapticEffect_iOS (enum iHapticEffect effect); 36void playHapticEffect_iOS (enum iHapticEffect effect);
37void exportDownloadedFile_iOS(const iString *path);
38
39iBool isPhone_iOS (void);
40void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom);