fen.c: add "print" theme, suitable for black and white printers - chess-puzzles - chess puzzle book generator
 (HTM) git clone git://git.codemadness.org/chess-puzzles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit aef0f99f15006e8c8866938af32cebb8bb8ea7bf
 (DIR) parent e2267c734e12d3cccd80d6314d9d21bb31584bc5
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Thu, 24 Jul 2025 13:09:43 +0200
       
       fen.c: add "print" theme, suitable for black and white printers
       
       ... or ereaders, etc.
       
       Diffstat:
         M fen.c                               |      11 +++++++++++
       
       1 file changed, 11 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/fen.c b/fen.c
       @@ -87,6 +87,17 @@ struct theme themes[] = {
                .lightsquarehi = { 0xa8, 0xab, 0x55 },
                .lightsquarecheck = { 0xff, 0x6a, 0x6a },
                .darksquarecheck = { 0xff, 0x3a, 0x3a  }
       +},
       +/* print theme, highlight is still green though */
       +{
       +        .name = "print",
       +        .border = { 0x00, 0x00, 0x00 },
       +        .darksquare = { 0xcc, 0xcc, 0xcc },
       +        .lightsquare = { 0xff, 0xff, 0xff },
       +        .darksquarehi = { 0xbb, 0xbb, 0xbb },
       +        .lightsquarehi = { 0xdd, 0xdd, 0xdd },
       +        .lightsquarecheck = { 0x77, 0x77, 0x77 },
       +        .darksquarecheck = { 0x77, 0x77, 0x77  }
        }
        };