shithub: puzzles

Download patch

ref: af2d992af0d11ad2a91b4c1f7c04d6c69dbe6e55
parent: f1756279d2847aaac33fc3db767cbd23aa69c229
author: Chris Boyle <chris@boyle.name>
date: Sat Jun 6 15:29:59 EDT 2015

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)

--- a/filling.c
+++ b/filling.c
@@ -1674,9 +1674,9 @@
     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];