summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-03-13 07:18:49 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-13 02:53:35 -0700
commit3e1098bd038a8568fd3a216b59b753dac59f45fa (patch)
treeaaba9ecff8e7425270dd19a43ae9dbf2e7dc13f3 /display.h
parent099953e776bf5d59c281eb2b72efa1eab40be714 (diff)
downloadsubsurface-3e1098bd038a8568fd3a216b59b753dac59f45fa.tar.gz
Hook up color printing with print dialog.
- Add a button and callback to the print dialog to let the user select color printing. - Add a state variable to the options struct to track the users choice. - Use a darker color for the grid on dive plot; that way we can see it. - Default to use color printing. Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/display.h b/display.h
index 7153cc0b6..c0163aeff 100644
--- a/display.h
+++ b/display.h
@@ -54,6 +54,7 @@ extern void get_plot_details(struct graphics_context *gc, int time, char *buf, s
struct options {
enum { PRETTY, TABLE, TWOPERPAGE } type;
int print_selected;
+ int color_selected;
};
extern char zoomed_plot, dc_number;