| 69 | float max = 255, float step = -1.f) FL_NOEXCEPT; |
| 70 | float value() const FL_NOEXCEPT { return mImpl.value(); } |
| 71 | float value_normalized() const FL_NOEXCEPT { |
| 72 | float min = mImpl.getMin(); |
| 73 | float max = mImpl.getMax(); |
| 74 | if (fl::almost_equal(max, min, 0.0001f)) { |
| 75 | return 0; |
| 76 | } |
| 77 | return (value() - min) / (max - min); |
| 78 | } |
| 79 | float getMax() const FL_NOEXCEPT { return mImpl.getMax(); } |
| 80 | float getMin() const FL_NOEXCEPT { return mImpl.getMin(); } |
| 81 | void setValue(float value) FL_NOEXCEPT; |
nothing calls this directly
no test coverage detected