From 0564211167adbea5a5ad1c83ad6f244956ed5b72 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 7 Apr 2008 17:13:29 +0000 Subject: 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] --- nullfe.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nullfe.c') diff --git a/nullfe.c b/nullfe.c index cdca93a..2ecd238 100644 --- a/nullfe.c +++ b/nullfe.c @@ -27,8 +27,13 @@ void blitter_free(drawing *dr, blitter *bl) {} void blitter_save(drawing *dr, blitter *bl, int x, int y) {} void blitter_load(drawing *dr, blitter *bl, int x, int y) {} int print_mono_colour(drawing *dr, int grey) { return 0; } -int print_grey_colour(drawing *dr, int hatch, float grey) { return 0; } -int print_rgb_colour(drawing *dr, int hatch, float r, float g, float b) +int print_grey_colour(drawing *dr, float grey) { return 0; } +int print_hatched_colour(drawing *dr, int hatch) { return 0; } +int print_rgb_mono_colour(drawing *dr, float r, float g, float b, int grey) +{ return 0; } +int print_rgb_grey_colour(drawing *dr, float r, float g, float b, float grey) +{ return 0; } +int print_rgb_hatched_colour(drawing *dr, float r, float g, float b, int hatch) { return 0; } void print_line_width(drawing *dr, int width) {} void midend_supersede_game_desc(midend *me, char *desc, char *privdesc) {} -- cgit v1.1