diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-30 09:30:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-30 09:30:59 -0700 |
commit | 6a210e573d947d61172da0363cbd7832e5459323 (patch) | |
tree | cc63839a182a7f3a110387b64eadd2edb7d5da0f /display.h | |
parent | 348afc3f576f3ad3cf3ad78b2f037cd5d6c73445 (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |