added bucket options tool

This commit is contained in:
2019-06-22 18:13:55 +02:00
parent 228263c70f
commit 7699f10cfd
9 changed files with 91 additions and 2 deletions

16
src/node_tool_bucket.h Normal file
View File

@@ -0,0 +1,16 @@
#pragma once
#include "node.h"
#include "node_slider.h"
class NodeToolBucket : public Node
{
NodeSliderH* m_slider_threshold;
public:
using this_class = NodeToolBucket;
using parent = Node;
virtual Node* clone_instantiate() const override;
virtual void clone_finalize(Node* dest) const override;
virtual void init() override;
void init_controls();
float get_threshold() const;
};