summaryrefslogtreecommitdiffstats
path: root/apps/gui/viewport.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-11 06:39:23 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-11 06:39:23 +0000
commit7c440bff3254250711e1768de2769dc68185fefd (patch)
treeda885d57a4bbc9db64994c37f7eb7d13a7f2353b /apps/gui/viewport.h
parent664dc90e714837bec83153daa13ef39769705c78 (diff)
downloadrockbox-7c440bff3254250711e1768de2769dc68185fefd.tar.gz
rockbox-7c440bff3254250711e1768de2769dc68185fefd.tar.bz2
rockbox-7c440bff3254250711e1768de2769dc68185fefd.zip
remove 3 bad viewport functions:
* viewport_set_current_vp() because if a screen wants to not use the user setting it shouldn't be dealing with the viewport manager at all (other than to disable the bars) * viewport_ui_vp_get_state() is unused (and not needed) * viewport_get_current_vp() because you should be using set_defaults() instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23606 a1c6a512-1295-4272-9138-f99709370657
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,
/* call this when a theme changed */
void viewportmanager_theme_changed(const int);
-/*
- * Returns a pointer to the current viewport
- * - That could be the UI vp, or a viewport passed to do_menu() or the like
- */
-struct viewport* viewport_get_current_vp(void);
-
-/*
- * Set the UI vp pointer to a different one - NULL to reset to the UI vp
- *
- * This is needed since the UI viewport needs is kept in RAM.
- */
-void viewport_set_current_vp(struct viewport* vp);
-
-/*
- * returns true if the ui viewport is active on the screen
- */
-bool viewport_ui_vp_get_state(const enum screen_type screen);
#ifdef HAVE_TOUCHSCREEN
bool viewport_point_within_vp(const struct viewport *vp,
const int x, const int y);