mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 16:32:13 -07:00
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:
@ -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.
|
||||
|
Reference in New Issue
Block a user