Running again. Next step: making connections work again!

This commit is contained in:
Sebastian
2024-12-05 00:01:42 +01:00
parent 036c6f4723
commit b6c2029386
8 changed files with 56 additions and 58 deletions
+5 -1
View File
@@ -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){