summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_engine.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-09-08 11:24:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-09-08 11:24:29 +0000
commit070f6e13978aa5a77004b719ea0895f55ec67337 (patch)
tree621dccfceb6d37f326d724737e0a0d09e374531c /apps/gui/skin_engine/skin_engine.h
parentae5d09b252f1038167a56488eb4058b6d8eb8427 (diff)
Use buflib for the skin backdrop images potentially allowing multiple images per skin in the future
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30475 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.h')
-rw-r--r--apps/gui/skin_engine/skin_engine.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h
index ef4297d0ce..52ec19d5f9 100644
--- a/apps/gui/skin_engine/skin_engine.h
+++ b/apps/gui/skin_engine/skin_engine.h
@@ -43,12 +43,10 @@ enum skinnable_screens {
#ifdef HAVE_LCD_BITMAP
-#define MAIN_BUFFER ((2*LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
- + (SKINNABLE_SCREENS_COUNT * LCD_BACKDROP_BYTES))
+#define MAIN_BUFFER (2*LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8)
#if (NB_SCREENS > 1)
-#define REMOTE_BUFFER (2*(LCD_REMOTE_HEIGHT*LCD_REMOTE_WIDTH*LCD_REMOTE_DEPTH/8) \
- + (SKINNABLE_SCREENS_COUNT * REMOTE_LCD_BACKDROP_BYTES))
+#define REMOTE_BUFFER (2*(LCD_REMOTE_HEIGHT*LCD_REMOTE_WIDTH*LCD_REMOTE_DEPTH/8))
#else
#define REMOTE_BUFFER 0
#endif