diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-21 14:14:52 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-21 11:35:04 -0800 |
commit | b1df7aeb4e06cfc512d19b2f7e7f5b455dea0c22 (patch) | |
tree | 97d6930934db5a094117006628a06af6613e279a /qt-ui/profile/diveprofileitem.h | |
parent | 9d33640bea9332ca5afb3df71f7a12da9c29e080 (diff) | |
download | subsurface-b1df7aeb4e06cfc512d19b2f7e7f5b455dea0c22.tar.gz |
Plot gas value function ported to the new canvas.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r-- | qt-ui/profile/diveprofileitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h index bd1170f39..1aa1af9ad 100644 --- a/qt-ui/profile/diveprofileitem.h +++ b/qt-ui/profile/diveprofileitem.h @@ -76,6 +76,7 @@ public: virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0); private: void plot_pressure_value(int mbar, int sec, QFlags<Qt::AlignmentFlag> align); + void plot_gas_value(int mbar, int sec, QFlags<Qt::AlignmentFlag> align, int o2, int he); QVector<QPolygonF> polygons; }; |