From 303e8de48397909751b32b0754257192f89ef7b0 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 29 Jan 2022 00:25:24 +0100 Subject: More natural shading for Checkers pieces. --- test/checkers_pieces.fl | 4 +-- test/pixmaps/black_checker.png | Bin 6645 -> 6118 bytes test/pixmaps/black_checker_king.png | Bin 7744 -> 7322 bytes test/pixmaps/checker.svg | 53 +++++++++++++++++++----------------- test/pixmaps/white_checker.png | Bin 6490 -> 6536 bytes test/pixmaps/white_checker_king.png | Bin 7593 -> 7548 bytes 6 files changed, 30 insertions(+), 27 deletions(-) diff --git a/test/checkers_pieces.fl b/test/checkers_pieces.fl index d91bdf1cb..8cd09e9b5 100644 --- a/test/checkers_pieces.fl +++ b/test/checkers_pieces.fl @@ -17,13 +17,13 @@ comment {// // // https://www.fltk.org/bugs.php // -} {selected in_source in_header +} {in_source in_header } 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_white_checker_png {selected public local filename {pixmaps/white_checker.png} } data pixmaps_black_checker_king_png {public local filename {pixmaps/black_checker_king.png} diff --git a/test/pixmaps/black_checker.png b/test/pixmaps/black_checker.png index 363e5579a..6a1aa4c68 100644 Binary files a/test/pixmaps/black_checker.png and b/test/pixmaps/black_checker.png differ diff --git a/test/pixmaps/black_checker_king.png b/test/pixmaps/black_checker_king.png index 523283aab..b6e2df339 100644 Binary files a/test/pixmaps/black_checker_king.png and b/test/pixmaps/black_checker_king.png differ diff --git a/test/pixmaps/checker.svg b/test/pixmaps/checker.svg index 730385e52..b8aa15861 100644 --- a/test/pixmaps/checker.svg +++ b/test/pixmaps/checker.svg @@ -1,20 +1,20 @@ + width="400" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> Checkers @@ -199,18 +199,18 @@ inkscape:collect="always" /> @@ -231,8 +231,8 @@ inkscape:snap-smooth-nodes="false" inkscape:snap-grids="false" inkscape:window-maximized="0" - inkscape:window-y="38" - inkscape:window-x="199" + inkscape:window-y="66" + inkscape:window-x="112" inkscape:window-height="1037" inkscape:window-width="1448" units="px" @@ -241,14 +241,15 @@ inkscape:current-layer="layer2" inkscape:document-units="px" inkscape:cy="200" - inkscape:cx="200" + inkscape:cx="171.34752" inkscape:zoom="1.7625" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" bordercolor="#666666" pagecolor="#ffffff" - id="base"> + id="base" + inkscape:pagecheckerboard="0"> + inkscape:export-ydpi="33.391304" + inkscape:label="ExportPng112x112" + inkscape:export-filename="/Users/matt/dev/fltk-1.4.git/test/pixmaps/white_checker.png"> Select this rectangle and export it as a PNG with 112x112 pixels in size, creating the correct image for the checkers game. diff --git a/test/pixmaps/white_checker.png b/test/pixmaps/white_checker.png index 2f654d368..635de5403 100644 Binary files a/test/pixmaps/white_checker.png and b/test/pixmaps/white_checker.png differ diff --git a/test/pixmaps/white_checker_king.png b/test/pixmaps/white_checker_king.png index 44467867b..841a2bba9 100644 Binary files a/test/pixmaps/white_checker_king.png and b/test/pixmaps/white_checker_king.png differ -- cgit v1.2.3