From 2f2a9878d09a7723dd3eca68114daea0d2b3393b Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Fri, 17 Apr 2009 15:17:08 +0000 Subject: Pegbox fixes by Rafaël Carré. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20722 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/bitmaps/native/SOURCES | 3 +++ apps/plugins/bitmaps/native/pegbox_header.20x64x1.bmp | Bin 0 -> 318 bytes apps/plugins/pegbox.c | 6 +++--- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100755 apps/plugins/bitmaps/native/pegbox_header.20x64x1.bmp (limited to 'apps') diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index e7d6cd4580..c46d176469 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -408,6 +408,9 @@ pegbox_menu_top.160x42x1.bmp pegbox_menu_items.60x17x1.bmp pegbox_pieces.12x12x1.bmp pegbox_header.160x24x1.bmp +#elif LCD_WIDTH >= 128 +pegbox_header.20x64x1.bmp +pegbox_pieces.9x7x1.bmp #elif LCD_WIDTH >= 112 pegbox_header.112x8x1.bmp pegbox_pieces.9x7x1.bmp diff --git a/apps/plugins/bitmaps/native/pegbox_header.20x64x1.bmp b/apps/plugins/bitmaps/native/pegbox_header.20x64x1.bmp new file mode 100755 index 0000000000..f28303ce84 Binary files /dev/null and b/apps/plugins/bitmaps/native/pegbox_header.20x64x1.bmp differ diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index 137b2e36f8..c705f8cd46 100644 --- a/apps/plugins/pegbox.c +++ b/apps/plugins/pegbox.c @@ -462,9 +462,9 @@ PLUGIN_HEADER #define LEVEL_TEXT_Y 14 #define PEGS_TEXT_Y 58 #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 64) -#define TEXT_X 114 -#define LEVEL_TEXT_Y 14 -#define PEGS_TEXT_Y 58 +#define TEXT_X 112 +#define LEVEL_TEXT_Y 27 +#define PEGS_TEXT_Y 50 #else #error "Unsupported screen size" #endif -- cgit v1.2.3