summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/skin_engine/skin_buffer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_buffer.c b/apps/gui/skin_engine/skin_buffer.c
index 1d18fb9431..1a81f55ea8 100644
--- a/apps/gui/skin_engine/skin_buffer.c
+++ b/apps/gui/skin_engine/skin_buffer.c
@@ -53,6 +53,7 @@
53 */ 53 */
54 54
55 55
56#ifdef HAVE_LCD_BITMAP
56#define MAIN_BUFFER ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \ 57#define MAIN_BUFFER ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
57 + (2*LCD_HEIGHT*LCD_WIDTH/8)) 58 + (2*LCD_HEIGHT*LCD_WIDTH/8))
58 59
@@ -66,7 +67,12 @@
66 67
67#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) + \ 68#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) + \
68 (WPS_MAX_TOKENS * sizeof(struct wps_token)) 69 (WPS_MAX_TOKENS * sizeof(struct wps_token))
70#endif
69 71
72#ifdef HAVE_LCD_CHARCELLS
73#define SKIN_BUFFER_SIZE (LCD_HEIGHT * LCD_WIDTH) * 64 + \
74 (WPS_MAX_TOKENS * sizeof(struct wps_token))
75#endif
70 76
71static unsigned char buffer[SKIN_BUFFER_SIZE]; 77static unsigned char buffer[SKIN_BUFFER_SIZE];
72static unsigned char *buffer_front = NULL; /* start of the free space, 78static unsigned char *buffer_front = NULL; /* start of the free space,