mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
303badd5ce
commit
fcc17c717d
3 changed files with 18 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue