aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Event.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-19 09:13:43 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-19 09:13:43 +0100
commitd8f1e161b0c98baa7dde287c484529a8b1291626 (patch)
tree2f0eb1c7175375eac6efbf6d1e847d51bcd257cd /src/crepe/api/Event.h
parenta6ba1eb5b6b6a1782182008e0044bf1ac04733dc (diff)
parent7c76d1743d5b0c3cf6eb05076fae88e948f3e22f (diff)
Merge branch 'wouter/button-improvement' of github.com:lonkaars/crepe
Diffstat (limited to 'src/crepe/api/Event.h')
-rw-r--r--src/crepe/api/Event.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h
index 73bf461..8e38280 100644
--- a/src/crepe/api/Event.h
+++ b/src/crepe/api/Event.h
@@ -3,9 +3,10 @@
#include <string>
-#include "api/KeyCodes.h"
#include "types.h"
+#include "KeyCodes.h"
+
namespace crepe {
/**
@@ -95,15 +96,6 @@ public:
};
/**
- * \brief Event triggered when text is submitted, e.g., from a text input.
- */
-class TextSubmitEvent : public Event {
-public:
- //! The submitted text.
- std::string text = "";
-};
-
-/**
* \brief Event triggered to indicate the application is shutting down.
*/
class ShutDownEvent : public Event {};