summaryrefslogtreecommitdiffstats
path: root/apps/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/viewport.h')
-rw-r--r--apps/gui/viewport.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/viewport.h b/apps/gui/viewport.h
index 6cb8d1f574..fffd2fedf2 100644
--- a/apps/gui/viewport.h
+++ b/apps/gui/viewport.h
@@ -53,8 +53,10 @@ void viewport_set_fullscreen(struct viewport *vp,
#ifdef HAVE_LCD_BITMAP
void viewportmanager_theme_enable(enum screen_type screen, bool enable,
struct viewport *viewport);
-
-void viewportmanager_theme_undo(enum screen_type screen);
+/* Force will cause a redraw even if the theme was previously and
+ * currently enabled (i,e the undo doing nothing).
+ * Should almost always be set to false except coming out of fully skinned screens */
+void viewportmanager_theme_undo(enum screen_type screen, bool force_redraw);
/* call this when a theme changed */
void viewportmanager_theme_changed(const int);