Super simple events added. Seems to be a good way for handling interaction. Modified a few base classes.
This commit is contained in:
+1
-1
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user