summaryrefslogtreecommitdiffstats
path: root/stats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-18 12:51:07 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2021-01-20 08:47:18 +0100
commit51f67c6350b7e87051a45fa85aaffb332e3ac517 (patch)
tree1f381539c6a965d600e09c286f3db037e6f7ecf1 /stats
parent01accbfa3e478062aec5afd14a05c93e0c189510 (diff)
downloadsubsurface-51f67c6350b7e87051a45fa85aaffb332e3ac517.tar.gz
statistics: remove float z-value
These values were used for items on the QGraphicsScene and have been replaced by integer values used on the QSG scene. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats')
-rw-r--r--stats/zvalues.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/stats/zvalues.h b/stats/zvalues.h
index d6e9c7d60..58222f5ab 100644
--- a/stats/zvalues.h
+++ b/stats/zvalues.h
@@ -2,19 +2,9 @@
// Defines the z-values of features in the chart view.
// Objects with higher z-values are painted on top of objects
// with smaller z-values. For the same z-value objects are
-// drawn in order of addition to the graphics scene.
+// drawn in order of addition to the scene.
#ifndef ZVALUES_H
-struct ZValues {
- static constexpr double grid = -1.0;
- static constexpr double series = 0.0;
- static constexpr double axes = 1.0;
- static constexpr double seriesLabels = 2.0;
- static constexpr double chartFeatures = 3.0; // quartile markers and regression lines
- static constexpr double informationBox = 4.0;
- static constexpr double legend = 5.0;
-};
-
enum class ChartZValue {
Grid = 0,
Series,