summaryrefslogtreecommitdiff
path: root/platform/gl/gl-app.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-09-01 17:03:14 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-10-06 11:21:23 +0200
commit838d256ab4d11adc6d320e0c437d435e3bac5dec (patch)
treeecb41340a1e6b87cabcd829a35abac28fe41f9a7 /platform/gl/gl-app.h
parentf8215528acb5c33a5364e55448ce8036887ff373 (diff)
downloadmupdf-838d256ab4d11adc6d320e0c437d435e3bac5dec.tar.xz
gl: Handle keyboard events in main loop.
Also fix event loop and refreshing the display at the correct times.
Diffstat (limited to 'platform/gl/gl-app.h')
-rw-r--r--platform/gl/gl-app.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/gl/gl-app.h b/platform/gl/gl-app.h
index 2ecee262..2a00bec4 100644
--- a/platform/gl/gl-app.h
+++ b/platform/gl/gl-app.h
@@ -3,7 +3,10 @@
struct ui
{
- int x, y, down, middle, right;
+ int x, y;
+ int down, middle, right;
+ int key, special, mod;
+
void *hot, *active;
int fontsize;