Config nodes do what they should do now. UX is still off, modifier keys do different things on MidiNodes and ConfigNodes.
This commit is contained in:
+6
-4
@@ -37,6 +37,12 @@ namespace VISEQ::GRAPH::NODES {
|
||||
float radius = 15.0f;
|
||||
bool config = false;
|
||||
|
||||
bool triggered = false;
|
||||
int mode = 0;
|
||||
|
||||
virtual void trigger() {}
|
||||
virtual void setMode(int _mode) {mode = _mode;}
|
||||
|
||||
std::shared_ptr<Node> getPtr(){
|
||||
return shared_from_this();
|
||||
}
|
||||
@@ -54,11 +60,7 @@ namespace VISEQ::GRAPH::NODES {
|
||||
}
|
||||
|
||||
virtual NodeType getNodeType() const {return nodeType;}
|
||||
|
||||
virtual void SMode(int mode) {};
|
||||
|
||||
virtual void trigger() {};
|
||||
|
||||
void deselect() override {
|
||||
selected = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user