mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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.
This commit is contained in:
14
samegame.c
14
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 + 1] = 0.0F;
|
||||||
ret[COL_3 * 3 + 2] = 0.0F;
|
ret[COL_3 * 3 + 2] = 0.0F;
|
||||||
|
|
||||||
ret[COL_4 * 3 + 0] = 1.0F;
|
ret[COL_4 * 3 + 0] = 0.7F;
|
||||||
ret[COL_4 * 3 + 1] = 1.0F;
|
ret[COL_4 * 3 + 1] = 0.7F;
|
||||||
ret[COL_4 * 3 + 2] = 0.0F;
|
ret[COL_4 * 3 + 2] = 0.0F;
|
||||||
|
|
||||||
ret[COL_5 * 3 + 0] = 1.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_5 * 3 + 2] = 1.0F;
|
||||||
|
|
||||||
ret[COL_6 * 3 + 0] = 0.0F;
|
ret[COL_6 * 3 + 0] = 0.0F;
|
||||||
ret[COL_6 * 3 + 1] = 1.0F;
|
ret[COL_6 * 3 + 1] = 0.8F;
|
||||||
ret[COL_6 * 3 + 2] = 1.0F;
|
ret[COL_6 * 3 + 2] = 0.8F;
|
||||||
|
|
||||||
ret[COL_7 * 3 + 0] = 0.5F;
|
ret[COL_7 * 3 + 0] = 0.5F;
|
||||||
ret[COL_7 * 3 + 1] = 0.5F;
|
ret[COL_7 * 3 + 1] = 0.5F;
|
||||||
ret[COL_7 * 3 + 2] = 1.0F;
|
ret[COL_7 * 3 + 2] = 1.0F;
|
||||||
|
|
||||||
ret[COL_8 * 3 + 0] = 0.5F;
|
ret[COL_8 * 3 + 0] = 0.2F;
|
||||||
ret[COL_8 * 3 + 1] = 1.0F;
|
ret[COL_8 * 3 + 1] = 0.8F;
|
||||||
ret[COL_8 * 3 + 2] = 0.5F;
|
ret[COL_8 * 3 + 2] = 0.2F;
|
||||||
|
|
||||||
ret[COL_9 * 3 + 0] = 1.0F;
|
ret[COL_9 * 3 + 0] = 1.0F;
|
||||||
ret[COL_9 * 3 + 1] = 0.5F;
|
ret[COL_9 * 3 + 1] = 0.5F;
|
||||||
|
Reference in New Issue
Block a user