summaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-14 22:52:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-14 22:52:22 -0700
commite5967dd1933f2ba0511087015f60cf7fae22affa (patch)
tree2cd48379a49612256e5943a5b962523ee64004df /color.h
parenta3aacfc6c2cbeccb81e18d6906fcc47cf01456a0 (diff)
downloadsubsurface-e5967dd1933f2ba0511087015f60cf7fae22affa.tar.gz
Make red ceiling work
The existing code for toggling the DC reported ceiling in red or "surface color" clearly had never been tested. This seems to create a reasonably attractive implementation - not exactly what we had in the past, but good enough. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'color.h')
-rw-r--r--color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/color.h b/color.h
index d3e2384b1..fea8bab84 100644
--- a/color.h
+++ b/color.h
@@ -51,6 +51,7 @@
// Yellows / BROWNS
#define SPRINGWOOD1 QColor::fromRgbF(0.95, 0.95, 0.9, 1)
+#define SPRINGWOOD1_MED_TRANS QColor::fromRgbF(0.95, 0.95, 0.9, 0.5)
#define BROOM1_LOWER_TRANS QColor::fromRgbF(1.0, 1.0, 0.1, 0.9)
#define PEANUT QColor::fromRgbF(0.5, 0.2, 0.1, 1.0)
#define PEANUT_MED_TRANS QColor::fromRgbF(0.5, 0.2, 0.1, 0.5)