Revise the printing colour framework so that we can explicitly

request either of hatching or halftoning, and also choose which to
supply as a fallback when printing in colour.

[originally from svn r7976]
This commit is contained in:
Simon Tatham
2008-04-07 17:13:29 +00:00
parent 30da25262d
commit 0564211167
9 changed files with 172 additions and 105 deletions

View File

@ -3252,9 +3252,9 @@ static void game_print(drawing *dr, game_state *state, int sz)
game_drawstate ads, *ds = &ads;
ds->tilesize = sz;
white = print_grey_colour(dr, HATCH_CLEAR, 1.0F);
black = print_grey_colour(dr, HATCH_SOLID, 0.0F);
blackish = print_grey_colour(dr, HATCH_X, 0.5F);
white = print_mono_colour(dr, 1);
black = print_mono_colour(dr, 0);
blackish = print_hatched_colour(dr, HATCH_X);
/*
* Get the completion information.