summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Pierre-Yves Chibon <pingou@pingoured.fr>2012-08-28 15:50:00 +0200
committerGravatar Pierre-Yves Chibon <pingou@pingoured.fr>2012-08-28 18:07:13 +0200
commit490e98dadfc71a318a934f4196821be69c4b6342 (patch)
treeb4ea1a2f990f2ba5a99f761d776e173bd55b8ce6 /display.h
parent57af78bda0aa0fc231d31662f9129ceaec79e2d7 (diff)
downloadsubsurface-490e98dadfc71a318a934f4196821be69c4b6342.tar.gz
Work on the printing of the dives, first attempt to print as table.
With this commit, the user can choose between two printing modes: - pretty print (with or without the dive profile) - table print (which is nothing less than a table formating containing the information) Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Diffstat (limited to 'display.h')
-rw-r--r--display.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/display.h b/display.h
index 341b1616c..d054b6994 100644
--- a/display.h
+++ b/display.h
@@ -26,4 +26,9 @@ extern void plot(struct graphics_context *gc, cairo_rectangle_int_t *drawing_are
extern void init_profile_background(struct graphics_context *gc);
extern void attach_tooltip(int x, int y, int w, int h, const char *text);
+struct options {
+ enum { PRETTY, TABLE } type;
+ gboolean print_profiles;
+};
+
#endif