summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockblox.c
diff options
context:
space:
mode:
authorMarty Miller <marty.joseph.miller@gmail.com>2012-04-21 21:36:42 -0500
committerBertrik Sikken <bertrik@sikken.nl>2012-04-22 12:33:12 +0200
commit84f7f60b8fbcd0084cf849613ac3e793894611c3 (patch)
treefbf31c7e17b6514781201df11f961a644bf13321 /apps/plugins/rockblox.c
parent1060d30bdd9961ced908e4e7a06fada04a50965e (diff)
downloadrockbox-84f7f60b8fbcd0084cf849613ac3e793894611c3.tar.gz
rockbox-84f7f60b8fbcd0084cf849613ac3e793894611c3.zip
Fix Rockblox plugin display issues on Clip Zip
Added Rockblox background, layout and detection for 96x96x16 displays Change-Id: I4585d5e679851b5696542269fe2123cf7df200de
Diffstat (limited to 'apps/plugins/rockblox.c')
-rw-r--r--apps/plugins/rockblox.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 17eadd65be..8db4a3497f 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -670,19 +670,21 @@
#define LEVEL_X 78
#define LINES_Y 51
-#elif LCD_WIDTH == 96 && LCD_HEIGHT == 96
+#elif (LCD_WIDTH == 96) && (LCD_HEIGHT == 96)
-#define BLOCK_WIDTH 3
-#define BLOCK_HEIGHT 3
-#define BOARD_X 9
-#define BOARD_Y 3
-#define PREVIEW_X 59
-#define PREVIEW_Y 5
+#define BLOCK_WIDTH 4
+#define BLOCK_HEIGHT 4
+#define BOARD_X 5
+#define BOARD_Y 4
+#define PREVIEW_X 64
+#define PREVIEW_Y 76
#define LABEL_X 59
-#define SCORE_Y 32
-#define LEVEL_Y 13
-#define LEVEL_X 78
-#define LINES_Y 51
+#define SCORE_Y 15
+#define SCORE_X 58
+#define LEVEL_Y 39
+#define LEVEL_X 58
+#define LINES_Y 62
+#define LINES_X 58
#endif
#ifndef LEVEL_X