aboutsummaryrefslogtreecommitdiff
path: root/filling.c
diff options
context:
space:
mode:
authorChris Boyle <chris@boyle.name>2015-06-06 19:29:59 +0100
committerBen Harris <bjh21@bjh21.me.uk>2022-12-15 20:04:59 +0000
commitaf2d992af0d11ad2a91b4c1f7c04d6c69dbe6e55 (patch)
treec02693b7bc4a3d0eaf460c7bb53f64af159b0c22 /filling.c
parentf1756279d2847aaac33fc3db767cbd23aa69c229 (diff)
downloadpuzzles-af2d992af0d11ad2a91b4c1f7c04d6c69dbe6e55.zip
puzzles-af2d992af0d11ad2a91b4c1f7c04d6c69dbe6e55.tar.gz
puzzles-af2d992af0d11ad2a91b4c1f7c04d6c69dbe6e55.tar.bz2
puzzles-af2d992af0d11ad2a91b4c1f7c04d6c69dbe6e55.tar.xz
Tweak Filling greys to better distinguish selected and completed
If you accidentally selected a cell that was part of a completed area, it was hard to notice that you'd done so. (cherry picked from Android port, commit ca08cd832952cefd9a3b545f13785d7054a3e1f6)
Diffstat (limited to 'filling.c')
-rw-r--r--filling.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/filling.c b/filling.c
index 879e916..c07157e 100644
--- a/filling.c
+++ b/filling.c
@@ -1674,9 +1674,9 @@ static float *game_colours(frontend *fe, int *ncolours)
ret[COL_GRID * 3 + 1] = 0.0F;
ret[COL_GRID * 3 + 2] = 0.0F;
- ret[COL_HIGHLIGHT * 3 + 0] = 0.85F * ret[COL_BACKGROUND * 3 + 0];
- ret[COL_HIGHLIGHT * 3 + 1] = 0.85F * ret[COL_BACKGROUND * 3 + 1];
- ret[COL_HIGHLIGHT * 3 + 2] = 0.85F * ret[COL_BACKGROUND * 3 + 2];
+ ret[COL_HIGHLIGHT * 3 + 0] = 0.7F * ret[COL_BACKGROUND * 3 + 0];
+ ret[COL_HIGHLIGHT * 3 + 1] = 0.7F * ret[COL_BACKGROUND * 3 + 1];
+ ret[COL_HIGHLIGHT * 3 + 2] = 0.7F * ret[COL_BACKGROUND * 3 + 2];
ret[COL_CORRECT * 3 + 0] = 0.9F * ret[COL_BACKGROUND * 3 + 0];
ret[COL_CORRECT * 3 + 1] = 0.9F * ret[COL_BACKGROUND * 3 + 1];