diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-19 12:59:56 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2021-01-20 08:47:18 +0100 |
commit | 2e2019dea7087937d7bcc0e9bd2598d61a758b65 (patch) | |
tree | 032ba3da052a6a8afb1c789ee1b3bf62a3a39c6a /stats/statscolors.h | |
parent | ba259fb1d66c242d9503ba9695ce55826370267e (diff) | |
download | subsurface-2e2019dea7087937d7bcc0e9bd2598d61a758b65.tar.gz |
statistics: move colors to statscolors.h
Most colors were already collected there, but a few were dispersed
throughout the source files.
For future themeability, move the remaining colors to this common
place.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/statscolors.h')
-rw-r--r-- | stats/statscolors.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stats/statscolors.h b/stats/statscolors.h index 050b8a3ab..e1800b550 100644 --- a/stats/statscolors.h +++ b/stats/statscolors.h @@ -14,6 +14,14 @@ inline const QColor darkLabelColor(Qt::black); inline const QColor lightLabelColor(Qt::white); inline const QColor axisColor(Qt::black); inline const QColor gridColor(0xcc, 0xcc, 0xcc); +inline const QColor informationBorderColor(Qt::black); +inline const QColor informationColor(0xff, 0xff, 0x00, 192); // Note: fourth argument is opacity +inline const QColor legendColor(0x00, 0x8e, 0xcc, 192); // Note: fourth argument is opacity +inline const QColor legendBorderColor(Qt::black); +inline const QColor quartileMarkerColor(Qt::red); +inline const QColor regressionItemColor(Qt::red); +inline const QColor meanMarkerColor(Qt::green); +inline const QColor medianMarkerColor(Qt::red); QColor binColor(int bin, int numBins); QColor labelColor(int bin, size_t numBins); |