diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-11-10 22:12:54 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-11-10 22:12:54 +0000 |
| commit | d3c0a7f1692fd0b367a915a8f3a7144aaebb44a7 (patch) | |
| tree | 0c5335fd08dda6c0e33ac42ca4feb0184290af21 /apps/plugins | |
| parent | a5e4cc9e68640ed9ee82c02e7b9796c8511cfccf (diff) | |
| download | rockbox-d3c0a7f1692fd0b367a915a8f3a7144aaebb44a7.zip rockbox-d3c0a7f1692fd0b367a915a8f3a7144aaebb44a7.tar.gz rockbox-d3c0a7f1692fd0b367a915a8f3a7144aaebb44a7.tar.bz2 rockbox-d3c0a7f1692fd0b367a915a8f3a7144aaebb44a7.tar.xz | |
Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/rockblox.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index 45f3c4f..dc1b25e 100644 --- a/apps/plugins/rockblox.c +++ b/apps/plugins/rockblox.c @@ -188,7 +188,23 @@ PLUGIN_HEADER #define BOARD_HEIGHT 20 -#if (LCD_WIDTH == 480) && (LCD_HEIGHT == 640) +#if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480) + +#define BLOCK_WIDTH 30 +#define BLOCK_HEIGHT 30 +#define BOARD_X 14 +#define BOARD_Y 2 +#define PREVIEW_X 342 +#define PREVIEW_Y 482 +#define LABEL_X 344 +#define SCORE_Y 58 +#define LEVEL_Y 142 +#define LINES_Y 218 +#define HIGH_LABEL_X 344 +#define HIGH_SCORE_Y 326 +#define HIGH_LEVEL_Y 344 + +#elif (LCD_WIDTH == 480) && (LCD_HEIGHT == 640) #define BLOCK_WIDTH 30 #define BLOCK_HEIGHT 30 |