diff options
author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-08-28 15:50:00 +0200 |
---|---|---|
committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-08-28 18:07:13 +0200 |
commit | 490e98dadfc71a318a934f4196821be69c4b6342 (patch) | |
tree | b4ea1a2f990f2ba5a99f761d776e173bd55b8ce6 /display.h | |
parent | 57af78bda0aa0fc231d31662f9129ceaec79e2d7 (diff) | |
download | subsurface-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |