aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Button.h')
-rw-r--r--src/crepe/api/Button.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/crepe/api/Button.h b/src/crepe/api/Button.h
index 08f5dec..e97f884 100644
--- a/src/crepe/api/Button.h
+++ b/src/crepe/api/Button.h
@@ -3,9 +3,19 @@
#include <functional>
#include "UIObject.h"
-
+#include "Event.h"
+#include "Metadata.h"
namespace crepe {
+/**
+ * \brief Event triggered when a button is pressed
+ *
+ */
+class ButtonPressEvent : public Event{
+ public:
+
+
+}
//! Represents a clickable UI button, derived from the UiObject class.
class Button : public UIObject {
public: