#include <quicktune.h>
Public Member Functions | |
| QuicktuneValue ()=default | |
| std::string | getString () |
| void | relativeAdd (float amount) |
Public Attributes | ||
| QuicktuneValueType | type = QVT_NONE | |
| union { | ||
| struct { | ||
| float current | ||
| float min | ||
| float max | ||
| } value_QVT_FLOAT | ||
| struct { | ||
| int current | ||
| int min | ||
| int max | ||
| } value_QVT_INT | ||
| }; | ||
| bool | modified = false | |
|
default |
| std::string QuicktuneValue::getString | ( | ) |
References ftos(), itos(), QVT_FLOAT, QVT_INT, QVT_NONE, type, value_QVT_FLOAT, and value_QVT_INT.
Referenced by QuicktuneShortcutter::dec(), QuicktuneShortcutter::inc(), and print_modified_quicktune_values().
Here is the call graph for this function:
Here is the caller graph for this function:| void QuicktuneValue::relativeAdd | ( | float | amount | ) |
References QVT_FLOAT, QVT_INT, QVT_NONE, type, value_QVT_FLOAT, and value_QVT_INT.
Referenced by QuicktuneShortcutter::dec(), and QuicktuneShortcutter::inc().
Here is the caller graph for this function:| union { ... } QuicktuneValue |
| float QuicktuneValue::current |
| int QuicktuneValue::current |
| float QuicktuneValue::max |
| int QuicktuneValue::max |
| float QuicktuneValue::min |
| int QuicktuneValue::min |
| bool QuicktuneValue::modified = false |
Referenced by print_modified_quicktune_values(), setQuicktuneValue(), and updateQuicktuneValue().
| QuicktuneValueType QuicktuneValue::type = QVT_NONE |
Referenced by getString(), and relativeAdd().
| struct { ... } QuicktuneValue::value_QVT_FLOAT |
Referenced by getString(), and relativeAdd().
| struct { ... } QuicktuneValue::value_QVT_INT |
Referenced by getString(), and relativeAdd().