diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-09-01 17:03:14 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-10-06 11:21:23 +0200 |
commit | 838d256ab4d11adc6d320e0c437d435e3bac5dec (patch) | |
tree | ecb41340a1e6b87cabcd829a35abac28fe41f9a7 /platform/gl/gl-app.h | |
parent | f8215528acb5c33a5364e55448ce8036887ff373 (diff) | |
download | mupdf-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.h | 5 |
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; |