implementing color wheel and new color picker
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
class NodeColorQuad : public NodeBorder
|
||||
{
|
||||
NodeBorder* m_picker;
|
||||
NodeBorder* m_picker{nullptr};
|
||||
bool dragging = false;
|
||||
public:
|
||||
glm::vec2 m_value;
|
||||
glm::vec2 m_old_value;
|
||||
glm::vec2 m_value{0.f};
|
||||
glm::vec2 m_old_value{0.f};
|
||||
std::function<void(Node* target, glm::vec2 value)> on_value_changed;
|
||||
virtual Node* clone_instantiate() const override;
|
||||
virtual void clone_finalize(Node* dest) const override;
|
||||
|
||||
Reference in New Issue
Block a user