From 36fc771c9b96f8cdd8454657b5444ceb66eaa0a6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 27 Aug 2012 17:01:00 +0200 Subject: Start re-working the print UI to allow printing tables with no profiles. With this commit we add a checkbox in the "Dive details" tab of the print window. This checkbox allows to print the dives profile or not. If you don't print the dives profile, you get 15 dives on the page (instead of 6 with the profiles). Future work should include: - Ability to choose what is printed - Table layout vs the current one (if no dives profile) - Ability to choose the number of dives per page (play with the font size for this) Signed-off-by: Pierre-Yves Chibon Signed-off-by: Pierre-Yves Chibon --- display-gtk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'display-gtk.h') diff --git a/display-gtk.h b/display-gtk.h index dd7e2c4a0..85ebae3e2 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -19,6 +19,7 @@ typedef struct { gboolean nitrox; gboolean sac; gboolean otu; + gboolean print_profiles; } visible_cols_t; typedef enum { -- cgit v1.2.3-70-g09d2