Make the colors of the texts be prettier.

Just fixes some colors of the texts on the canvas.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-01-19 20:14:48 -02:00 committed by Dirk Hohndel
parent cd3867d46a
commit edad8712b9
3 changed files with 31 additions and 3 deletions

View file

@ -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{