8template <setting_t N,
class Callback = EmptySelectorCallback>
@ Wrap
When the maximum (minimum) setting is reached, wrap around to the minimum (maximum) setting.
#define BEGIN_CS_NAMESPACE
AH::IncrementButton::State getButtonState() const
AH::IncrementButton button
void update() override
Update this updatable.
void begin() override
Initialize this updatable.
GenericIncrementSelector(Selectable< N > &selectable, const Callback &callback, const AH::IncrementButton &button)
void increment(Wrap wrap)
Add one to the setting, wrap around or clamp, depending on the parameter, if the new setting would be...
EmptySelectorCallback callback
void update() override
Update this updatable.
Selectable< N > & selectable
void begin() override
Initialize this updatable.
Selector with one button that increments the selection.
IncrementSelector(Selectable< N > &selectable, const AH::Button &button)
IncrementSelector(Selectable< N > &selectable, const AH::IncrementButton &button)