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>
This commit is contained in:
Tomaz Canabrava 2014-01-27 16:17:08 -02:00 committed by Dirk Hohndel
parent 303badd5ce
commit fcc17c717d
3 changed files with 18 additions and 3 deletions

View file

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