Drag selection working again - not much progress
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "interactable.h"
|
||||
#include "vmath.h"
|
||||
|
||||
namespace VISEQ::BASE {
|
||||
class Selectable : public Interactable{
|
||||
@@ -13,6 +14,7 @@ namespace VISEQ::BASE {
|
||||
bool copied = false;
|
||||
bool highlighted = false;
|
||||
bool erase = false;
|
||||
Vec2Df selection_offset;
|
||||
|
||||
virtual bool clicked() override {
|
||||
return (selected || hovering()) && IsMouseButtonPressed(MOUSE_BUTTON_LEFT);
|
||||
|
||||
Reference in New Issue
Block a user