dragging works. introducing connectors maybe
This commit is contained in:
+1
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user