dragging works. introducing connectors maybe

This commit is contained in:
Sebastian
2024-11-10 01:56:33 +01:00
parent 71dc08d21f
commit 4f48aa2d5a
11 changed files with 493 additions and 375 deletions
+1 -6
View File
@@ -1,6 +1,6 @@
#pragma once
#include "datatypes.h"
#include "vmath.h"
namespace VISEQ::BASE {
class Movable{
@@ -16,15 +16,10 @@ namespace VISEQ::BASE {
Vec2Df position;
Vec2Df direction;
Vec2Df drag_offset;
bool in_rect = false;
bool picked_up = false;
bool dragging = false;
bool hover_connect = false;
bool hovering = false;
bool connecting = false;
bool selected = false;
bool highlighted = false;