[PATCH 1/2] Color print: Show SAC lines in a color different from white

Lubomir I. Ivanov neolit123 at gmail.com
Tue Mar 26 11:59:07 PDT 2013


From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

Also make the profile border color the same as the depth grid color.

Fixes #97

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>

---
noticed that some data such as mean depth is ignored while printing,
but there might be a good reason for that.
---
 profile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/profile.c b/profile.c
index 28bfeac..788996d 100644
--- a/profile.c
+++ b/profile.c
@@ -125,8 +125,8 @@ static const color_t profile_color[] = {
 	[DEPTH_TOP]       = {{MERCURY1_MED_TRANS, WHITE1_MED_TRANS, MERCURY1_MED_TRANS}},
 	[TEMP_TEXT]       = {{GOVERNORBAY2, BLACK1_LOW_TRANS, GOVERNORBAY2}},
 	[TEMP_PLOT]       = {{ROYALBLUE2_LOW_TRANS, BLACK1_LOW_TRANS, ROYALBLUE2_LOW_TRANS}},
-	[SAC_DEFAULT]     = {{WHITE1, BLACK1_LOW_TRANS, WHITE1}},
-	[BOUNDING_BOX]    = {{WHITE1, BLACK1_LOW_TRANS, WHITE1}},
+	[SAC_DEFAULT]     = {{WHITE1, BLACK1_LOW_TRANS, FORESTGREEN1}},
+	[BOUNDING_BOX]    = {{WHITE1, BLACK1_LOW_TRANS, TUNDORA1_MED_TRANS}},
 	[PRESSURE_TEXT]   = {{KILLARNEY1, BLACK1_LOW_TRANS, KILLARNEY1}},
 	[BACKGROUND]      = {{SPRINGWOOD1, BLACK1_LOW_TRANS, SPRINGWOOD1}},
 	[CEILING_SHALLOW] = {{REDORANGE1_HIGH_TRANS, REDORANGE1_HIGH_TRANS, REDORANGE1_HIGH_TRANS}},
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list