aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-12-12 20:17:30 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-12-12 20:17:30 +0000
commit43bea5f6f20b4a58b083ccb0b380e78180017128 (patch)
tree757b3a9158bf8ec2ef0b9630c39f5464038a88b4 /PuzzleApplet.java
parent676ec87b6d9ef1cf0adfe30af2df1e8a43c6523c (diff)
downloadpuzzles-43bea5f6f20b4a58b083ccb0b380e78180017128.zip
puzzles-43bea5f6f20b4a58b083ccb0b380e78180017128.tar.gz
puzzles-43bea5f6f20b4a58b083ccb0b380e78180017128.tar.bz2
puzzles-43bea5f6f20b4a58b083ccb0b380e78180017128.tar.xz
mkhighlight: Don't darken the base colour if we don't need a highlight
The "mkhighlight" functions can now take -1 as the requested highlight or lowlight colour as an indication that no such colour should be returned. If the caller doesn't want a highlight colour, there's not much point in darkening the base colour to make it distinct from the highlight, so don't do that. This means that the background colours in Palisade and Untangle are no longer unnecessarily darkened.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions