69 #define QUICKTUNE(type_, var, min_, max_, name){\
72 qv.value_##type_.current = var;\
73 qv.value_##type_.min = min_;\
74 qv.value_##type_.max = max_;\
75 updateQuicktuneValue(name, qv);\
76 var = qv.value_##type_.current;\
79 #define QUICKTUNE(type, var, min_, max_, name){}
82#define QUICKTUNE_AUTONAME(type_, var, min_, max_)\
83 QUICKTUNE(type_, var, min_, max_, #var)
QuicktuneValue getQuicktuneValue(const std::string &name)
Definition quicktune.cpp:44
void updateQuicktuneValue(const std::string &name, QuicktuneValue &val)
Definition quicktune.cpp:63
QuicktuneValueType
Definition quicktune.h:40
@ QVT_NONE
Definition quicktune.h:41
@ QVT_FLOAT
Definition quicktune.h:42
void setQuicktuneValue(const std::string &name, const QuicktuneValue &val)
Definition quicktune.cpp:56
const std::vector< std::string > & getQuicktuneNames()
Definition quicktune.cpp:39
Definition quicktune.h:45
void relativeAdd(float amount)
Definition quicktune.cpp:20
float current
Definition quicktune.h:49
std::string getString()
Definition quicktune.cpp:9
QuicktuneValueType type
Definition quicktune.h:46
struct QuicktuneValue::@35::@37 value_QVT_FLOAT
float max
Definition quicktune.h:51
float min
Definition quicktune.h:50
bool modified
Definition quicktune.h:54