aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-12-17 22:50:52 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-12-29 21:19:55 +0000
commitcdd24fd459d15b8a00498b284d00c202cf872022 (patch)
treee17292e5083d8e4506b36be9761c6116184b272c /PuzzleApplet.java
parent425942c852f22d7d94f7643696522d32c0b02067 (diff)
downloadpuzzles-cdd24fd459d15b8a00498b284d00c202cf872022.zip
puzzles-cdd24fd459d15b8a00498b284d00c202cf872022.tar.gz
puzzles-cdd24fd459d15b8a00498b284d00c202cf872022.tar.bz2
puzzles-cdd24fd459d15b8a00498b284d00c202cf872022.tar.xz
Expose colour_mix() to backends (and others)
Quite a few backends currently generate colours by multiplying the foreground colour by a fraction, effectively mixing it with black. On a black background, this might be reasonably replaced by mixing the background colour with white, but that's rather arithmetically fiddly. Happily, I already have a function for that and just need to expose it.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions