summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-13 15:28:58 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-13 15:28:58 +0300
commiteb04ac7a1921b7c7f534a7a63cffc4c7a35c0900 (patch)
treea84fd4b4630f7469caa6e6a5df50fb13e12f8437 /src/ui/widget.h
parent4a29ccb82910503fe1c44fbf493caf0945714705 (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.h2
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
244iBool hasParent_Widget (const iWidget *d, const iWidget *someParent); 244iBool hasParent_Widget (const iWidget *d, const iWidget *someParent);
245iBool isAffectedByVisualOffset_Widget 245iBool isAffectedByVisualOffset_Widget
246 (const iWidget *); 246 (const iWidget *);
247iBool isBeingVisuallyOffsetByReference_Widget
248 (const iWidget *);
247void setId_Widget (iWidget *, const char *id); 249void setId_Widget (iWidget *, const char *id);
248void setFlags_Widget (iWidget *, int64_t flags, iBool set); 250void setFlags_Widget (iWidget *, int64_t flags, iBool set);
249void setPos_Widget (iWidget *, iInt2 pos); 251void setPos_Widget (iWidget *, iInt2 pos);