summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps.h')
-rw-r--r--apps/gui/gwps.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index 6a4849c347..a414ca3986 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -295,7 +295,10 @@ enum wps_token_type {
295 WPS_VIEWPORT_ENABLE, 295 WPS_VIEWPORT_ENABLE,
296 296
297 /* buttons */ 297 /* buttons */
298 WPS_TOKEN_BUTTON_VOLUME 298 WPS_TOKEN_BUTTON_VOLUME,
299
300 WPS_TOKEN_VIEWMODE
301
299}; 302};
300 303
301struct wps_token { 304struct wps_token {
@@ -429,6 +432,8 @@ struct wps_data
429 432
430 /* tick the volume button was last pressed */ 433 /* tick the volume button was last pressed */
431 unsigned int button_time_volume; 434 unsigned int button_time_volume;
435 /* the current mode (used with %mo tag), -1 means modes not being used */
436 char current_mode;
432}; 437};
433 438
434/* initial setup of wps_data */ 439/* initial setup of wps_data */