From 9f4fdbd1a673de2897eede01616ca601d77eee21 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 10 Jan 2011 07:32:29 +0000 Subject: 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 --- apps/plugins/rockblox.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'apps/plugins/rockblox.c') 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) -- cgit v1.2.3