summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'display.h')
-rw-r--r--display.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/display.h b/display.h
index 96a83c5ee..f0101448d 100644
--- a/display.h
+++ b/display.h
@@ -35,16 +35,18 @@ typedef enum {
extern struct divecomputer *select_dc(struct dive *);
-struct options {
- enum {
+struct print_options {
+ enum print_type {
PRETTY,
TABLE,
TWOPERPAGE,
ONEPERPAGE
} type;
- int print_selected;
- int color_selected;
+ bool print_selected;
+ bool color_selected;
bool notes_up;
+ bool landscape;
+ int margins[4]; // left, top, right, bottom
};
extern unsigned int dc_number;