diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2013-02-03 12:11:27 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-04 06:48:20 +1100 |
commit | 3a3880cf256ec669b9d597a37e54bb106dd928f8 (patch) | |
tree | 86a96947911b854911eb9bb0a0972bfc32041def /display.h | |
parent | b5a232cf32bf529817505c0680cfab7bb3700c7a (diff) | |
download | subsurface-3a3880cf256ec669b9d597a37e54bb106dd928f8.tar.gz |
Get printing parameters in the begining
- Set parameters for scaling the layout ( w and h_scale_factor),
number of prints per page and rotation.
- Let draw_page() manage the whole print whith the received params.
- Remove draw_oneperpage() as it's unused.
- Use the w_scale_factor for scaling the fonts.
- Change option text in the GTK menu.
TODO:
- A GTK menu which let the user select the print params directly or ...
- Introduce new predefined options in the printing menu.
- Modify draw_page() for printing "landscaped" 6 dives if selected.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ extern void attach_tooltip(int x, int y, int w, int h, const char *text); extern void get_plot_details(struct graphics_context *gc, int time, char *buf, size_t bufsize); struct options { - enum { PRETTY, TABLE, ONEPERPAGE } type; + enum { PRETTY, TABLE, TWOPERPAGE } type; int print_selected; }; |