summaryrefslogtreecommitdiff
path: root/apps/plugins/rockblox.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-10 07:32:29 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-10 07:32:29 +0000
commit9f4fdbd1a673de2897eede01616ca601d77eee21 (patch)
tree984affa20f855d7947d133a85902977891f41827 /apps/plugins/rockblox.c
parentfedd1f3bc1c617e72b400332c7acc59ccf337d4c (diff)
Add backgrounds for 128x160 displays to bubbles and rockblox. Set the coordinates in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29020 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockblox.c')
-rw-r--r--apps/plugins/rockblox.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 717aedab1f..6d5ef8023e 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -557,20 +557,18 @@
#define LEVEL_Y 49
#define LINES_Y 82
-/* NOTE: This is for the GoGear SA9200 and is only
- temporary until I can get better coordinates! */
#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 160)
-#define BLOCK_WIDTH 6
-#define BLOCK_HEIGHT 6
+#define BLOCK_WIDTH 7
+#define BLOCK_HEIGHT 7
#define BOARD_X 4
-#define BOARD_Y 3
-#define PREVIEW_X 84
-#define PREVIEW_Y 100
-#define LABEL_X 71
-#define SCORE_Y 17
-#define LEVEL_Y 49
-#define LINES_Y 82
+#define BOARD_Y 5
+#define PREVIEW_X 88
+#define PREVIEW_Y 111
+#define LABEL_X 82
+#define SCORE_Y (2+16)
+#define LEVEL_Y (36+16)
+#define LINES_Y (70+16)
#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96)