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/bubbles.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'apps/plugins/bubbles.c') diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index 57e29ed..c7af502 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c @@ -164,11 +164,23 @@ enum { /* 12x12 bubbles (GoGear SA9200) */ #elif (LCD_HEIGHT == 160) && (LCD_WIDTH == 128) -#define XOFS 33 +#define XOFS 16 +#define YOFS 32 #define ROW_HEIGHT 10 #define ROW_INDENT 6 #define MAX_FPS 30 +/* custom text positioning */ +#define LEVEL_TXT_X 2 +#define LEVEL_TXT_WIDTH 31 +#define LEVEL_TXT_Y 3 +#define SCORE_TXT_X 34 +#define SCORE_TXT_WIDTH 31 +#define SCORE_TXT_Y 3 +#define NEXT_BB_X 81 +#define NEXT_BB_WIDTH 31 +#define NEXT_BB_Y 2 + /* 10x10 bubbles (iPod Mini) */ #elif (LCD_HEIGHT == 110) && (LCD_WIDTH == 138) #define XOFS 33 -- cgit v1.1