shithub: puzzles

Download patch

ref: 3cb919f4f7eb8a0785ace3c750a4a33987a6eb49
parent: cdd24fd459d15b8a00498b284d00c202cf872022
author: Ben Harris <bjh21@bjh21.me.uk>
date: Thu Dec 29 17:28:03 EST 2022

Tracks: Set the grid colour based on others

COL_GRID used to be mid-way between the usual COL_BACKGROUND and
COL_TRACK_BACKGROUND.  But then I changed mkhighlight() so that it
didn't make COL_BACKGROUND so dark and that made the grid lines
indistinguishable from the track background.

Now COL_GRID is generated from COL_BACKGROUND and COL_TRACK_BACKGROUND
so as long as those are sufficiently distinct from each other, COL_GRID
will be distinct from both of them.