From d4d8e5bfc878b99f422daf1ec2a7d0974698e98d Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 27 Jul 2023 22:46:50 +0100 Subject: [PATCH] Same Game: darken light colours to make keyboard cursor visible The keyboard cursor in Same Game is white. The default yellow, cyan, and light green were light enough to make the cursor hard to see. I've darkened them all (without changing their hues) so that the cursor is acceptably visible. This doesn't leave an ideal set of colours, but they are at least still adequately distinct from one another. --- samegame.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/samegame.c b/samegame.c index 4eacc90..4b68b11 100644 --- a/samegame.c +++ b/samegame.c @@ -1403,8 +1403,8 @@ static float *game_colours(frontend *fe, int *ncolours) ret[COL_3 * 3 + 1] = 0.0F; ret[COL_3 * 3 + 2] = 0.0F; - ret[COL_4 * 3 + 0] = 1.0F; - ret[COL_4 * 3 + 1] = 1.0F; + ret[COL_4 * 3 + 0] = 0.7F; + ret[COL_4 * 3 + 1] = 0.7F; ret[COL_4 * 3 + 2] = 0.0F; ret[COL_5 * 3 + 0] = 1.0F; @@ -1412,16 +1412,16 @@ static float *game_colours(frontend *fe, int *ncolours) ret[COL_5 * 3 + 2] = 1.0F; ret[COL_6 * 3 + 0] = 0.0F; - ret[COL_6 * 3 + 1] = 1.0F; - ret[COL_6 * 3 + 2] = 1.0F; + ret[COL_6 * 3 + 1] = 0.8F; + ret[COL_6 * 3 + 2] = 0.8F; ret[COL_7 * 3 + 0] = 0.5F; ret[COL_7 * 3 + 1] = 0.5F; ret[COL_7 * 3 + 2] = 1.0F; - ret[COL_8 * 3 + 0] = 0.5F; - ret[COL_8 * 3 + 1] = 1.0F; - ret[COL_8 * 3 + 2] = 0.5F; + ret[COL_8 * 3 + 0] = 0.2F; + ret[COL_8 * 3 + 1] = 0.8F; + ret[COL_8 * 3 + 2] = 0.2F; ret[COL_9 * 3 + 0] = 1.0F; ret[COL_9 * 3 + 1] = 0.5F;