summaryrefslogtreecommitdiff
path: root/apps/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/viewport.h')
-rw-r--r--apps/gui/viewport.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/gui/viewport.h b/apps/gui/viewport.h
index 0e5ad30f35..54424339ca 100644
--- a/apps/gui/viewport.h
+++ b/apps/gui/viewport.h
@@ -89,23 +89,6 @@ void viewport_set_fullscreen(struct viewport *vp,
89/* call this when a theme changed */ 89/* call this when a theme changed */
90void viewportmanager_theme_changed(const int); 90void viewportmanager_theme_changed(const int);
91 91
92/*
93 * Returns a pointer to the current viewport
94 * - That could be the UI vp, or a viewport passed to do_menu() or the like
95 */
96struct viewport* viewport_get_current_vp(void);
97
98/*
99 * Set the UI vp pointer to a different one - NULL to reset to the UI vp
100 *
101 * This is needed since the UI viewport needs is kept in RAM.
102 */
103void viewport_set_current_vp(struct viewport* vp);
104
105/*
106 * returns true if the ui viewport is active on the screen
107 */
108bool viewport_ui_vp_get_state(const enum screen_type screen);
109#ifdef HAVE_TOUCHSCREEN 92#ifdef HAVE_TOUCHSCREEN
110bool viewport_point_within_vp(const struct viewport *vp, 93bool viewport_point_within_vp(const struct viewport *vp,
111 const int x, const int y); 94 const int x, const int y);