summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-04-17 15:17:08 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-04-17 15:17:08 +0000
commit2f2a9878d09a7723dd3eca68114daea0d2b3393b (patch)
treec4c2c38ca37d79c0483badd2b63b17568863a8d3
parentee7e1323dcefc94609b49e0a95dde3d4eb21617e (diff)
downloadrockbox-2f2a9878d09a7723dd3eca68114daea0d2b3393b.tar.gz
rockbox-2f2a9878d09a7723dd3eca68114daea0d2b3393b.zip
Pegbox fixes by Rafaël Carré.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20722 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/bitmaps/native/SOURCES3
-rwxr-xr-xapps/plugins/bitmaps/native/pegbox_header.20x64x1.bmpbin0 -> 318 bytes
-rw-r--r--apps/plugins/pegbox.c6
3 files changed, 6 insertions, 3 deletions
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
408pegbox_menu_items.60x17x1.bmp 408pegbox_menu_items.60x17x1.bmp
409pegbox_pieces.12x12x1.bmp 409pegbox_pieces.12x12x1.bmp
410pegbox_header.160x24x1.bmp 410pegbox_header.160x24x1.bmp
411#elif LCD_WIDTH >= 128
412pegbox_header.20x64x1.bmp
413pegbox_pieces.9x7x1.bmp
411#elif LCD_WIDTH >= 112 414#elif LCD_WIDTH >= 112
412pegbox_header.112x8x1.bmp 415pegbox_header.112x8x1.bmp
413pegbox_pieces.9x7x1.bmp 416pegbox_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
--- /dev/null
+++ b/apps/plugins/bitmaps/native/pegbox_header.20x64x1.bmp
Binary files 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
462#define LEVEL_TEXT_Y 14 462#define LEVEL_TEXT_Y 14
463#define PEGS_TEXT_Y 58 463#define PEGS_TEXT_Y 58
464#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 64) 464#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 64)
465#define TEXT_X 114 465#define TEXT_X 112
466#define LEVEL_TEXT_Y 14 466#define LEVEL_TEXT_Y 27
467#define PEGS_TEXT_Y 58 467#define PEGS_TEXT_Y 50
468#else 468#else
469#error "Unsupported screen size" 469#error "Unsupported screen size"
470#endif 470#endif