Presets now have steps instead of a single slider state
This commit is contained in:
1 parent
922a96a34d
commit
dd7a4f531b
5 files changed
+69
-38
No files matched your search
+6
-1
@@ -113,11 +113,16 @@ public:
|
||||
|
||||
using sliders_state_t = std::vector<std::vector<quint8>>;
|
||||
|
||||
struct PresetStepConfig
|
||||
{
|
||||
sliders_state_t sliders;
|
||||
};
|
||||
|
||||
struct PresetConfig
|
||||
{
|
||||
int id;
|
||||
QString name;
|
||||
sliders_state_t sliders;
|
||||
std::vector<PresetStepConfig> steps;
|
||||
};
|
||||
|
||||
class PresetsContainer : public std::vector<PresetConfig>
|
||||
|
||||
Reference in new issue
Block a user