diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-02 13:31:25 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-02 13:31:25 -0300 |
commit | effb7e2fac59cf2b44aa010b1ee17de24d7c6214 (patch) | |
tree | 495ba736725f44d06b3d78b9f7a088373d4896ab /qt-ui/diveplanner.h | |
parent | 23b29bd3cd0982eb921dc5cbf8f9e13074fe9e32 (diff) | |
download | subsurface-effb7e2fac59cf2b44aa010b1ee17de24d7c6214.tar.gz |
Change the color of the DepthString based on it's deepness
Change the color of the DepthString based on it's deepness
on the profile planner. The new color of the profileString
( the string that follows the mouse stating how deep you are)
is now interpolated from SAMPLE_SHALLOW and SAMPLE_DEEP -
but since those two colors were the same and I had to change
it so that could work, I want somebody to check if my choose
of colors were ok.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 41b4e5c89..a7459de1b 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -42,6 +42,7 @@ public: double minimum() const; double maximum() const; qreal valueAt(const QPointF& p); + qreal percentAt(const QPointF& p); qreal posAtValue(qreal value); void setColor(const QColor& color); |