summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-03-13 07:18:49 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-13 02:53:35 -0700
commit3e1098bd038a8568fd3a216b59b753dac59f45fa (patch)
treeaaba9ecff8e7425270dd19a43ae9dbf2e7dc13f3 /profile.c
parent099953e776bf5d59c281eb2b72efa1eab40be714 (diff)
downloadsubsurface-3e1098bd038a8568fd3a216b59b753dac59f45fa.tar.gz
Hook up color printing with print dialog.
- Add a button and callback to the print dialog to let the user select color printing. - Add a state variable to the options struct to track the users choice. - Use a darker color for the grid on dive plot; that way we can see it. - Default to use color printing. Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.c b/profile.c
index 29eda37a2..522e5ae15 100644
--- a/profile.c
+++ b/profile.c
@@ -117,9 +117,9 @@ static const color_t profile_color[] = {
[SAMPLE_SHALLOW] = {{PERSIANRED1, BLACK1_LOW_TRANS, PERSIANRED1}},
[SMOOTHED] = {{REDORANGE1_HIGH_TRANS, BLACK1_LOW_TRANS, REDORANGE1_HIGH_TRANS}},
[MINUTE] = {{MEDIUMREDVIOLET1_HIGHER_TRANS, BLACK1_LOW_TRANS, MEDIUMREDVIOLET1_HIGHER_TRANS}},
- [TIME_GRID] = {{WHITE1, TUNDORA1_MED_TRANS, WHITE1}},
+ [TIME_GRID] = {{WHITE1, TUNDORA1_MED_TRANS, TUNDORA1_MED_TRANS}},
[TIME_TEXT] = {{FORESTGREEN1, BLACK1_LOW_TRANS, FORESTGREEN1}},
- [DEPTH_GRID] = {{WHITE1, TUNDORA1_MED_TRANS, WHITE1}},
+ [DEPTH_GRID] = {{WHITE1, TUNDORA1_MED_TRANS, TUNDORA1_MED_TRANS}},
[MEAN_DEPTH] = {{REDORANGE1_MED_TRANS, BLACK1_LOW_TRANS, REDORANGE1_MED_TRANS}},
[DEPTH_BOTTOM] = {{GOVERNORBAY1_MED_TRANS, TUNDORA1_MED_TRANS, GOVERNORBAY1_MED_TRANS}},
[DEPTH_TOP] = {{MERCURY1_MED_TRANS, WHITE1_MED_TRANS, MERCURY1_MED_TRANS}},