summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-28 12:45:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-28 12:45:42 -0700
commit2d24779b6226f6f9757abe565307d2956b375c0d (patch)
tree92b09cf28b7bae2c216a000c13f8211129537497 /qt-ui/profile/divecartesianaxis.h
parentdad3c5d9db5c5ccecf972c405c9b53c82d5ee1a8 (diff)
downloadsubsurface-2d24779b6226f6f9757abe565307d2956b375c0d.tar.gz
Make heartrate grid less confusing
Having all the grid lines in the same color made things visually confusing. To clean this up a little make the heartrate lines a light gray color. Fixes #484 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r--qt-ui/profile/divecartesianaxis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h
index c430d4704..e5b9b7b0e 100644
--- a/qt-ui/profile/divecartesianaxis.h
+++ b/qt-ui/profile/divecartesianaxis.h
@@ -3,6 +3,7 @@
#include <QObject>
#include <QGraphicsLineItem>
+#include <graphicsview-common.h>
class QPropertyAnimation;
class DiveTextItem;
@@ -47,7 +48,7 @@ public:
int unitSystem;
public
slots:
- virtual void updateTicks();
+ virtual void updateTicks(color_indice_t color = TIME_GRID);
signals:
void sizeChanged();