aboutsummaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-30 09:30:59 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-30 09:30:59 -0700
commit6a210e573d947d61172da0363cbd7832e5459323 (patch)
treecc63839a182a7f3a110387b64eadd2edb7d5da0f /display.h
parent348afc3f576f3ad3cf3ad78b2f037cd5d6c73445 (diff)
downloadsubsurface-6a210e573d947d61172da0363cbd7832e5459323.tar.gz
Add support for printing only the selected dives
Right now we just implicitly decide "print only selected dives" when there is more than one dive selected (and then print all dives if only one dive is selected). We probably should have an checkbutton in the dive details page for the choice. But I wanted to avoid the pain that is gtk as far as possible for the initial implementation. The code is ready to be changed to just use a checkbutton instead. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.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 581530efd..ef52e99f5 100644
--- a/display.h
+++ b/display.h
@@ -28,6 +28,7 @@ extern void attach_tooltip(int x, int y, int w, int h, const char *text);
struct options {
enum { PRETTY, TABLE } type;
+ int print_selected;
};
extern char zoomed_plot;