Add the DiveCalculatedCeiling item.

This item plots the DiveCalculatedCeiling over the profile. I still need
to add the Calc All Tissues version.

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-21 14:59:19 -02:00 committed by Dirk Hohndel
parent b1df7aeb4e
commit 8065374793
7 changed files with 56 additions and 3 deletions

View file

@ -1312,6 +1312,7 @@ void ProfileGraphicsView::plot_depth_profile()
scene()->addItem(neatFill);
}
}
/* next show where we have been bad and crossed the dc's ceiling */
if (prefs.profile_dc_ceiling) {
pat.setColorAt(0, getColor(CEILING_SHALLOW));