diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-10 07:32:29 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-10 07:32:29 +0000 |
| commit | 9f4fdbd1a673de2897eede01616ca601d77eee21 (patch) | |
| tree | 984affa20f855d7947d133a85902977891f41827 /apps/plugins/bubbles.c | |
| parent | fedd1f3bc1c617e72b400332c7acc59ccf337d4c (diff) | |
| download | rockbox-9f4fdbd1a673de2897eede01616ca601d77eee21.zip rockbox-9f4fdbd1a673de2897eede01616ca601d77eee21.tar.gz rockbox-9f4fdbd1a673de2897eede01616ca601d77eee21.tar.bz2 rockbox-9f4fdbd1a673de2897eede01616ca601d77eee21.tar.xz | |
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/bubbles.c')
| -rw-r--r-- | apps/plugins/bubbles.c | 14 |
1 files changed, 13 insertions, 1 deletions
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 |