diff options
| -rw-r--r-- | test/checkers.cxx | 2 | ||||
| -rw-r--r-- | test/checkers_pieces.fl | 4 | ||||
| -rw-r--r-- | test/pixmaps/black_checker.png | bin | 4080 -> 14657 bytes | |||
| -rw-r--r-- | test/pixmaps/black_checker_king.png | bin | 4437 -> 16902 bytes | |||
| -rw-r--r-- | test/pixmaps/white_checker.png | bin | 4239 -> 17471 bytes | |||
| -rw-r--r-- | test/pixmaps/white_checker_king.png | bin | 4733 -> 19883 bytes |
6 files changed, 4 insertions, 2 deletions
diff --git a/test/checkers.cxx b/test/checkers.cxx index 8cc79739f..dcc67c6a9 100644 --- a/test/checkers.cxx +++ b/test/checkers.cxx @@ -875,6 +875,8 @@ void make_pieces() { png[which++] = new Fl_PNG_Image(NULL, (const unsigned char *)pixmaps_white_checker_png, sizeof(pixmaps_white_checker_png)); png[which++] = new Fl_PNG_Image(NULL, (const unsigned char *)pixmaps_black_checker_king_png, sizeof(pixmaps_black_checker_king_png)); png[which++] = new Fl_PNG_Image(NULL, (const unsigned char *)pixmaps_white_checker_king_png, sizeof(pixmaps_white_checker_king_png)); + for (int i = 0; i < which; i++) + png[i]->scale(png[i]->data_w()/2, png[i]->data_h()/2); } #define ISIZE 62 // old: 56 diff --git a/test/checkers_pieces.fl b/test/checkers_pieces.fl index b10c24b80..62e289419 100644 --- a/test/checkers_pieces.fl +++ b/test/checkers_pieces.fl @@ -26,7 +26,7 @@ comment {// // // Please report all bugs and problems to "fltk-bugs@fltk.org". // -} {selected in_source in_header +} {in_source in_header } data pixmaps_black_checker_png {public local filename {pixmaps/black_checker.png} @@ -35,7 +35,7 @@ data pixmaps_black_checker_png {public local filename {pixmaps/black_checker.png data pixmaps_white_checker_png {public local filename {pixmaps/white_checker.png} } -data pixmaps_black_checker_king_png {public local filename {pixmaps/black_checker_king.png} +data pixmaps_black_checker_king_png {selected public local filename {pixmaps/black_checker_king.png} } data pixmaps_white_checker_king_png {public local filename {pixmaps/white_checker_king.png} diff --git a/test/pixmaps/black_checker.png b/test/pixmaps/black_checker.png Binary files differindex 4cf65e019..0d466af5f 100644 --- a/test/pixmaps/black_checker.png +++ b/test/pixmaps/black_checker.png diff --git a/test/pixmaps/black_checker_king.png b/test/pixmaps/black_checker_king.png Binary files differindex 86bcf2eda..a1aba7b55 100644 --- a/test/pixmaps/black_checker_king.png +++ b/test/pixmaps/black_checker_king.png diff --git a/test/pixmaps/white_checker.png b/test/pixmaps/white_checker.png Binary files differindex 51270799a..55038f8f9 100644 --- a/test/pixmaps/white_checker.png +++ b/test/pixmaps/white_checker.png diff --git a/test/pixmaps/white_checker_king.png b/test/pixmaps/white_checker_king.png Binary files differindex 437ef5361..da41b439b 100644 --- a/test/pixmaps/white_checker_king.png +++ b/test/pixmaps/white_checker_king.png |
