summaryrefslogtreecommitdiffstats
path: root/stats/statscolors.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-31 20:48:12 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-02-13 13:02:54 -0800
commitd85b3217840656bf371cd64264ee472a68c3141a (patch)
tree8f5a9ffb3e956c1b262b3a36e88e0b0895b09878 /stats/statscolors.h
parent5c098eea29fdb1cd663b78db4e430a1c76c2209a (diff)
downloadsubsurface-d85b3217840656bf371cd64264ee472a68c3141a.tar.gz
statistics: show selected dives in scatter plot
As a visual feedback, show the selected dives in the scatter plot. React to application-wide selection changes. Currently, the dive list is deactivated while in statistics mode, but that may change. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/statscolors.h')
-rw-r--r--stats/statscolors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stats/statscolors.h b/stats/statscolors.h
index e1800b550..d8198911c 100644
--- a/stats/statscolors.h
+++ b/stats/statscolors.h
@@ -8,6 +8,8 @@
inline const QColor backgroundColor(Qt::white);
inline const QColor fillColor(0x44, 0x76, 0xaa);
inline const QColor borderColor(0x66, 0xb2, 0xff);
+inline const QColor selectedColor(0xaa, 0x76, 0x44);
+inline const QColor selectedBorderColor(0xff, 0xb2, 0x66);
inline const QColor highlightedColor(Qt::yellow);
inline const QColor highlightedBorderColor(0xaa, 0xaa, 0x22);
inline const QColor darkLabelColor(Qt::black);