summaryrefslogtreecommitdiffstats
path: root/qt-ui/graphicsview-common.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-27 16:17:08 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-27 13:00:29 -0800
commitfcc17c717dd0b380803fcbe161376df141b86c61 (patch)
tree4553441dbfb71c5a197f5065bac6acf27e768025 /qt-ui/graphicsview-common.h
parent303badd5ceae56185ec8ffee0b8489c5a598babe (diff)
downloadsubsurface-fcc17c717dd0b380803fcbe161376df141b86c61.tar.gz
Move the 'getSacColor' out of old profile and use it.
This patch makes the color of the cylinder pressure use the sac colors. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/graphicsview-common.h')
-rw-r--r--qt-ui/graphicsview-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/graphicsview-common.h b/qt-ui/graphicsview-common.h
index c00b2d69c..5f9dd19b7 100644
--- a/qt-ui/graphicsview-common.h
+++ b/qt-ui/graphicsview-common.h
@@ -35,7 +35,7 @@ typedef enum {
extern QMap<color_indice_t, QVector<QColor> > profile_color;
void fill_profile_color();
QColor getColor(const color_indice_t i);
-
+QColor getSacColor(int sac, int diveSac);
struct text_render_options {
double size;
color_indice_t color;