diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-10 17:28:24 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-01-10 21:25:02 +0100 |
commit | d9ac716162c8248b60c8407ae8fd2b08cdde58a3 (patch) | |
tree | 12ab76c934e1d6c1c1bb6946f1d67283ab05a2d5 /profile-widget/profilewidget2.h | |
parent | 05974d17c91fc68981dd1d47c482f64231353bf8 (diff) | |
download | subsurface-d9ac716162c8248b60c8407ae8fd2b08cdde58a3.tar.gz |
Replace CREATE_PP_GAS macro by member function in profilewidget2.cpp
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 4efc308a9..4ce3baabb 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -17,6 +17,7 @@ #include "profile-widget/divelineitem.h" #include "profile-widget/diveprofileitem.h" #include "core/display.h" +#include "core/color.h" class RulerItem2; struct dive; @@ -161,7 +162,8 @@ private: /*methods*/ void disconnectTemporaryConnections(); struct plot_data *getEntryFromPos(QPointF pos); void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)()); - + void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_indice_t color, color_indice_t colorAlert, + double *thresholdSettingsMin, double *thresholdSettingsMax); private: DivePlotDataModel *dataModel; int zoomLevel; |