diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-13 15:28:58 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-13 15:28:58 +0300 |
commit | eb04ac7a1921b7c7f534a7a63cffc4c7a35c0900 (patch) | |
tree | a84fd4b4630f7469caa6e6a5df50fb13e12f8437 /src/ui/widget.h | |
parent | 4a29ccb82910503fe1c44fbf493caf0945714705 (diff) |
Mobile: Working on swipe navigation
Swipes back and forward are now working, although there are some glitches remaining. Most notably, when swiping back the previous document does not appear until the finger is released.
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r-- | src/ui/widget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h index 7255b975..b2310f21 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h | |||
@@ -244,6 +244,8 @@ iBool isCommand_Widget (const iWidget *d, const SDL_Event *ev, cons | |||
244 | iBool hasParent_Widget (const iWidget *d, const iWidget *someParent); | 244 | iBool hasParent_Widget (const iWidget *d, const iWidget *someParent); |
245 | iBool isAffectedByVisualOffset_Widget | 245 | iBool isAffectedByVisualOffset_Widget |
246 | (const iWidget *); | 246 | (const iWidget *); |
247 | iBool isBeingVisuallyOffsetByReference_Widget | ||
248 | (const iWidget *); | ||
247 | void setId_Widget (iWidget *, const char *id); | 249 | void setId_Widget (iWidget *, const char *id); |
248 | void setFlags_Widget (iWidget *, int64_t flags, iBool set); | 250 | void setFlags_Widget (iWidget *, int64_t flags, iBool set); |
249 | void setPos_Widget (iWidget *, iInt2 pos); | 251 | void setPos_Widget (iWidget *, iInt2 pos); |