From ab80d0b7fdd07bfc9037a44df97d862ce5e986ea Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 7 May 2007 17:50:14 +0000 Subject: Add a new misc.c function needed by Slide's colour setup. [originally from svn r7552] --- puzzles.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'puzzles.h') diff --git a/puzzles.h b/puzzles.h index 3785772..9b69d1b 100644 --- a/puzzles.h +++ b/puzzles.h @@ -280,6 +280,10 @@ unsigned char *hex2bin(const char *in, int outlen); * and auto-generates highlight and lowlight colours too. */ void game_mkhighlight(frontend *fe, float *ret, int background, int highlight, int lowlight); +/* As above, but starts from a provided background colour rather + * than the frontend default. */ +void game_mkhighlight_specific(frontend *fe, float *ret, + int background, int highlight, int lowlight); /* Randomly shuffles an array of items. */ void shuffle(void *array, int nelts, int eltsize, random_state *rs); -- cgit v1.1