diff options
Diffstat (limited to 'dgl/ImageWidgets.hpp')
-rw-r--r-- | dgl/ImageWidgets.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dgl/ImageWidgets.hpp b/dgl/ImageWidgets.hpp index aafe1962..e5a21420 100644 --- a/dgl/ImageWidgets.hpp +++ b/dgl/ImageWidgets.hpp @@ -180,6 +180,7 @@ public: float getValue() const noexcept; void setValue(float value, bool sendCallback = false) noexcept; + void setDefault(float def) noexcept; void setStartPos(const Point<int>& startPos) noexcept; void setStartPos(int x, int y) noexcept; @@ -203,7 +204,9 @@ private: float fMaximum; float fStep; float fValue; + float fValueDef; float fValueTmp; + bool fUsingDefault; bool fDragging; bool fInverted; |