4#ifndef FTXUI_UTIL_AUTORESET_HPP
5#define FTXUI_UTIL_AUTORESET_HPP
19 ~AutoReset() { *variable_ = std::move(previous_value_); }
Assign a value to a variable, reset its old value when going out of scope.
AutoReset(T *variable, T new_value)
Component Slider(SliderOption< T > options)
A slider in any direction.