aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r--qt-ui/profile/divecartesianaxis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h
index e03df04e3..b2aecbf79 100644
--- a/qt-ui/profile/divecartesianaxis.h
+++ b/qt-ui/profile/divecartesianaxis.h
@@ -36,7 +36,7 @@ signals:
void sizeChanged();
protected:
virtual QString textForValue(double value);
-
+ virtual QColor colorForValue(double value);
Orientation orientation;
QList<DiveTextItem*> labels;
double min;
@@ -51,11 +51,13 @@ protected:
class DepthAxis : public DiveCartesianAxis {
protected:
QString textForValue(double value);
+ QColor colorForValue(double value);
};
class TimeAxis : public DiveCartesianAxis {
protected:
QString textForValue(double value);
+ QColor colorForValue(double value);
};
class TemperatureAxis : public DiveCartesianAxis{