aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Button.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-21 10:27:16 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-21 10:27:16 +0100
commit296c80edd6727d6808ed0c98c001a8b456f1c037 (patch)
treead0731f1139c15a080fc2db60086681c405b21f8 /src/crepe/api/Button.h
parent0ba3392d8d5ef1f69bda831c8e2be2efa505b632 (diff)
implemented feedback
Diffstat (limited to 'src/crepe/api/Button.h')
-rw-r--r--src/crepe/api/Button.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Button.h b/src/crepe/api/Button.h
index d42527e..25709a4 100644
--- a/src/crepe/api/Button.h
+++ b/src/crepe/api/Button.h
@@ -1,8 +1,5 @@
#pragma once
-#include <functional>
-
-#include "Event.h"
#include "UIObject.h"
namespace crepe {
@@ -43,6 +40,9 @@ private:
friend class InputSystem;
//! Indicates whether the mouse is currently hovering over the button
bool hover = false;
+
+ //! variable indicating if transform is relative to camera(false) or world(true)
+ bool world_space = false;
};
} // namespace crepe