Super simple events added. Seems to be a good way for handling interaction. Modified a few base classes.

This commit is contained in:
Sebastian
2024-11-24 03:08:06 +01:00
parent 62a5c53969
commit f04838bffa
14 changed files with 160 additions and 67 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ namespace VISEQ::GRAPH::NODES {
namespace VISEQ::GRAPH {
inline void to_json(json& j, const GraphItem& G){
std::cout << "Movable" << std::endl;
j = json{{"id", G.id}, {"type", G.graphItemType}};
j = json{{"id", G.id}, {"type", G.gItemType}};
}
inline void to_json(json& j, const SPTR_GraphItem& G){