1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Slider: Add getScrollWheelEnabled function

This commit is contained in:
reuk 2021-07-19 17:43:36 +01:00
parent 43e577ba6c
commit 19e1488e18
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 4 additions and 0 deletions

View file

@ -1630,6 +1630,7 @@ void Slider::valueChanged() {}
void Slider::setPopupMenuEnabled (bool menuEnabled) { pimpl->menuEnabled = menuEnabled; }
void Slider::setScrollWheelEnabled (bool enabled) { pimpl->scrollWheelEnabled = enabled; }
bool Slider::isScrollWheelEnabled() const noexcept { return pimpl->scrollWheelEnabled; }
bool Slider::isHorizontal() const noexcept { return pimpl->isHorizontal(); }
bool Slider::isVertical() const noexcept { return pimpl->isVertical(); }
bool Slider::isRotary() const noexcept { return pimpl->isRotary(); }