diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-21 14:29:51 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-21 14:29:51 +0200 |
commit | 2f9e203058df442921fc0151ddc5fe9b68b87935 (patch) | |
tree | 5441025fcf4e974e82128f65376650bec7a941bb /src/ui/widget.h | |
parent | b93ba1bfb860c2a4b5bf46c77f3f0d11b4eb1282 (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/ui/widget.h')
-rw-r--r-- | src/ui/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h index 90ccac8e..ad7ce168 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h | |||
@@ -110,6 +110,8 @@ enum iWidgetFlag { | |||
110 | #define dragged_WidgetFlag iBit64(54) | 110 | #define dragged_WidgetFlag iBit64(54) |
111 | #define hittable_WidgetFlag iBit64(55) | 111 | #define hittable_WidgetFlag iBit64(55) |
112 | #define safePadding_WidgetFlag iBit64(56) /* padded using safe area insets */ | 112 | #define safePadding_WidgetFlag iBit64(56) /* padded using safe area insets */ |
113 | #define moveToParentBottomEdge_WidgetFlag iBit64(57) | ||
114 | #define parentCannotResizeHeight_WidgetFlag iBit64(58) | ||
113 | 115 | ||
114 | enum iWidgetAddPos { | 116 | enum iWidgetAddPos { |
115 | back_WidgetAddPos, | 117 | back_WidgetAddPos, |
@@ -165,6 +167,7 @@ const iString *id_Widget (const iWidget *); | |||
165 | int64_t flags_Widget (const iWidget *); | 167 | int64_t flags_Widget (const iWidget *); |
166 | iRect bounds_Widget (const iWidget *); /* outer bounds */ | 168 | iRect bounds_Widget (const iWidget *); /* outer bounds */ |
167 | iRect innerBounds_Widget (const iWidget *); | 169 | iRect innerBounds_Widget (const iWidget *); |
170 | iRect boundsWithoutVisualOffset_Widget(const iWidget *); | ||
168 | iInt2 localCoord_Widget (const iWidget *, iInt2 coord); | 171 | iInt2 localCoord_Widget (const iWidget *, iInt2 coord); |
169 | iBool contains_Widget (const iWidget *, iInt2 coord); | 172 | iBool contains_Widget (const iWidget *, iInt2 coord); |
170 | iBool containsExpanded_Widget (const iWidget *, iInt2 coord, int expand); | 173 | iBool containsExpanded_Widget (const iWidget *, iInt2 coord, int expand); |