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

2
solo.c
View File

@ -3719,7 +3719,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
*/
if (state->xtype) {
int i;
int xhighlight = print_grey_colour(dr, HATCH_SLASH, 0.90F);
int xhighlight = print_grey_colour(dr, 0.90F);
for (i = 0; i < cr; i++)
draw_rect(dr, BORDER + i*TILE_SIZE, BORDER + i*TILE_SIZE,