Running again. Next step: making connections work again!
This commit is contained in:
+5
-1
@@ -19,7 +19,7 @@ namespace VISEQ::GRAPH::NODES {
|
||||
bool enabled;
|
||||
};
|
||||
|
||||
MidiNode() {}
|
||||
MidiNode() : Node() {std::cout << "MidiNode Constructor std" << std::endl;}
|
||||
MidiNode(Vec2Df position) : Node(position) {}
|
||||
|
||||
NodeType nodeType = NodeType::MIDINODE;
|
||||
@@ -63,6 +63,10 @@ namespace VISEQ::GRAPH::NODES {
|
||||
float time = 0;
|
||||
float last = 0;
|
||||
|
||||
std::shared_ptr<MidiNode> getPtr(){
|
||||
return std::static_pointer_cast<MidiNode>(shared_from_this());
|
||||
}
|
||||
|
||||
virtual NodeType getNodeType() const override {return nodeType;}
|
||||
|
||||
void setMidiPort(int midi_port, bool _state){
|
||||
|
||||
Reference in New Issue
Block a user