Layer stacking
This commit is contained in:
@@ -16,11 +16,16 @@ public:
|
||||
struct Callbacks
|
||||
{
|
||||
std::function<std::string()> getStateJson;
|
||||
std::function<bool(const std::string&, std::string&)> selectShader;
|
||||
std::function<bool(const std::string&, const std::string&, const std::string&, std::string&)> updateParameter;
|
||||
std::function<bool(const std::string&, std::string&)> resetParameters;
|
||||
std::function<bool(bool, std::string&)> setBypass;
|
||||
std::function<bool(double, std::string&)> setMixAmount;
|
||||
std::function<bool(const std::string&, std::string&)> addLayer;
|
||||
std::function<bool(const std::string&, std::string&)> removeLayer;
|
||||
std::function<bool(const std::string&, int, std::string&)> moveLayer;
|
||||
std::function<bool(const std::string&, std::size_t, std::string&)> moveLayerToIndex;
|
||||
std::function<bool(const std::string&, bool, std::string&)> setLayerBypass;
|
||||
std::function<bool(const std::string&, const std::string&, std::string&)> setLayerShader;
|
||||
std::function<bool(const std::string&, const std::string&, const std::string&, std::string&)> updateLayerParameter;
|
||||
std::function<bool(const std::string&, std::string&)> resetLayerParameters;
|
||||
std::function<bool(const std::string&, std::string&)> saveStackPreset;
|
||||
std::function<bool(const std::string&, std::string&)> loadStackPreset;
|
||||
std::function<bool(std::string&)> reloadShader;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user