#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().
| 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().
| union { ... } QuicktuneValue |
| int QuicktuneValue::current |
| float QuicktuneValue::current |
| int QuicktuneValue::max |
| float QuicktuneValue::max |
| int QuicktuneValue::min |
| float QuicktuneValue::min |
| bool QuicktuneValue::modified = false |
Referenced by print_modified_quicktune_values(), 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().