Presets now have steps instead of a single slider state

This commit is contained in:
2023-02-26 23:11:35 +01:00
parent 922a96a34d
commit dd7a4f531b
5 changed files with 69 additions and 38 deletions

View File

@@ -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>