summaryrefslogtreecommitdiff
path: root/apps/plugins/bitmaps/native
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2008-02-02 12:10:42 +0000
committerMarianne Arnold <pixelma@rockbox.org>2008-02-02 12:10:42 +0000
commitdce2ef805c17a124548c95c52237af6cc4726a86 (patch)
tree4928b32723f311bd179fc005f8ba0a0851ea613d /apps/plugins/bitmaps/native
parenta921be408c5882192954b4fe2bddaf045a941144 (diff)
downloadrockbox-dce2ef805c17a124548c95c52237af6cc4726a86.tar.gz
rockbox-dce2ef805c17a124548c95c52237af6cc4726a86.zip
Small improvements to sliding puzzle. (1) Don't draw the 'Moves' box at fixed size, and display 'Moves:' and number of moves on one line for square and portrait screens. (2) Use 4x4 spots on Archos too, to make the spots look square on the Archos display - change the default 80x64 image accordingly. (3) Replace the 110x110 images with 108x108 so that the width is evenly divisible by 4 (number of spots) as mentioned in the comment. (4) Make the greyscale images look a little less broken, could be even better though. -- The code could be made simpler and more flexible but one step at a time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bitmaps/native')
-rw-r--r--apps/plugins/bitmaps/native/SOURCES8
-rw-r--r--apps/plugins/bitmaps/native/sliding_puzzle.108x108x16.bmpbin0 -> 35046 bytes
-rw-r--r--apps/plugins/bitmaps/native/sliding_puzzle.108x108x2.bmpbin0 -> 11734 bytes
-rw-r--r--apps/plugins/bitmaps/native/sliding_puzzle.110x110x16.bmpbin36574 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/sliding_puzzle.110x110x2.bmpbin13398 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/sliding_puzzle.128x128x2.bmpbin17462 -> 16454 bytes
-rw-r--r--apps/plugins/bitmaps/native/sliding_puzzle.80x64x1.bmpbin830 -> 830 bytes
7 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES
index 2c667c10e8..2f6c7d344f 100644
--- a/apps/plugins/bitmaps/native/SOURCES
+++ b/apps/plugins/bitmaps/native/SOURCES
@@ -550,14 +550,14 @@ matrix_normal.bmp
550#if (LCD_WIDTH != LCD_HEIGHT) 550#if (LCD_WIDTH != LCD_HEIGHT)
551#define SMALLER_DIMENSION ((LCD_WIDTH < LCD_HEIGHT) ? LCD_WIDTH : LCD_HEIGHT) 551#define SMALLER_DIMENSION ((LCD_WIDTH < LCD_HEIGHT) ? LCD_WIDTH : LCD_HEIGHT)
552#else /* 5/6GB H10 with square display */ 552#else /* 5/6GB H10 with square display */
553#define SMALLER_DIMENSION (LCD_HEIGHT - 18) 553#define SMALLER_DIMENSION (LCD_HEIGHT - 20)
554#endif 554#endif
555 555
556#if defined HAVE_LCD_COLOR 556#if defined HAVE_LCD_COLOR
557#if SMALLER_DIMENSION <= 80 557#if SMALLER_DIMENSION <= 80
558 sliding_puzzle.80x80x16.bmp 558 sliding_puzzle.80x80x16.bmp
559#elif SMALLER_DIMENSION <= 112 559#elif SMALLER_DIMENSION <= 108
560 sliding_puzzle.110x110x16.bmp 560 sliding_puzzle.108x108x16.bmp
561#elif SMALLER_DIMENSION <= 128 561#elif SMALLER_DIMENSION <= 128
562 sliding_puzzle.128x128x16.bmp 562 sliding_puzzle.128x128x16.bmp
563#elif SMALLER_DIMENSION <= 132 563#elif SMALLER_DIMENSION <= 132
@@ -569,7 +569,7 @@ matrix_normal.bmp
569#endif 569#endif
570#elif (LCD_DEPTH > 1) 570#elif (LCD_DEPTH > 1)
571#if SMALLER_DIMENSION <= 110 571#if SMALLER_DIMENSION <= 110
572 sliding_puzzle.110x110x2.bmp 572 sliding_puzzle.108x108x2.bmp
573#elif SMALLER_DIMENSION <= 128 573#elif SMALLER_DIMENSION <= 128
574 sliding_puzzle.128x128x2.bmp 574 sliding_puzzle.128x128x2.bmp
575#endif 575#endif
diff --git a/apps/plugins/bitmaps/native/sliding_puzzle.108x108x16.bmp b/apps/plugins/bitmaps/native/sliding_puzzle.108x108x16.bmp
new file mode 100644
index 0000000000..50b997223b
--- /dev/null
+++ b/apps/plugins/bitmaps/native/sliding_puzzle.108x108x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/sliding_puzzle.108x108x2.bmp b/apps/plugins/bitmaps/native/sliding_puzzle.108x108x2.bmp
new file mode 100644
index 0000000000..25e7e41df8
--- /dev/null
+++ b/apps/plugins/bitmaps/native/sliding_puzzle.108x108x2.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/sliding_puzzle.110x110x16.bmp b/apps/plugins/bitmaps/native/sliding_puzzle.110x110x16.bmp
deleted file mode 100644
index 740b957d46..0000000000
--- a/apps/plugins/bitmaps/native/sliding_puzzle.110x110x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/sliding_puzzle.110x110x2.bmp b/apps/plugins/bitmaps/native/sliding_puzzle.110x110x2.bmp
deleted file mode 100644
index e21531ec70..0000000000
--- a/apps/plugins/bitmaps/native/sliding_puzzle.110x110x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/sliding_puzzle.128x128x2.bmp b/apps/plugins/bitmaps/native/sliding_puzzle.128x128x2.bmp
index e8ef4eead8..1a8317c4ba 100644
--- a/apps/plugins/bitmaps/native/sliding_puzzle.128x128x2.bmp
+++ b/apps/plugins/bitmaps/native/sliding_puzzle.128x128x2.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/sliding_puzzle.80x64x1.bmp b/apps/plugins/bitmaps/native/sliding_puzzle.80x64x1.bmp
index a394e8eba3..6624bd7987 100644
--- a/apps/plugins/bitmaps/native/sliding_puzzle.80x64x1.bmp
+++ b/apps/plugins/bitmaps/native/sliding_puzzle.80x64x1.bmp
Binary files differ