Add another print option, 1 dive per sheet.

Simply add a dive option on bigger surface, whith bigger fonts.
The size isn't A4 nor A5, but the size used by some popular paper
divelogs.
The modification performs better if we transpose the profile and
the text of the dive, because, if the notes are very brief,we get
an excess of white space at the bottom of the print.

Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
boret 2012-11-10 16:51:44 +01:00 committed by Dirk Hohndel
parent 8514ec8723
commit 240ef9e9e5
2 changed files with 66 additions and 8 deletions

View file

@ -33,7 +33,7 @@ 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;
enum { PRETTY, TABLE, ONEPERPAGE } type;
int print_selected;
};