1 #ifndef VTESTBED_GUI_INPUTNUMBER_HH 2 #define VTESTBED_GUI_INPUTNUMBER_HH 21 const char* _format =
"%.3f";
26 inline void name(
const std::string& rhs) { this->_name = rhs; }
27 inline const std::string& name()
const {
return this->_name; }
28 inline void format(
const char* rhs) { this->_format = rhs; }
29 inline T value()
const {
return this->_value; }
30 inline void value(T rhs) { this->_value = rhs; }
31 inline void step(T rhs) { this->_step = rhs; }
32 inline void step_fast(T rhs) { this->_stepfast = rhs; }
33 inline void flags(
int rhs) { this->_flags = rhs; }
34 inline void min(T rhs) { this->_min = rhs; }
35 inline void max(T rhs) { this->_max = rhs; }
45 #endif // vim:filetype=cpp