aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/UiObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/UiObject.h')
-rw-r--r--src/crepe/api/UiObject.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/crepe/api/UiObject.h b/src/crepe/api/UiObject.h
new file mode 100644
index 0000000..f57f7ef
--- /dev/null
+++ b/src/crepe/api/UiObject.h
@@ -0,0 +1,14 @@
+#include <functional>
+
+#include "Component.h"
+#include "api/EventHandler.h"
+namespace crepe {
+class UiObject : public Component{
+public:
+ ~UiObject(){};
+ int width = 0;
+ int height = 0;
+public:
+virtual int get_instances_max() const { return 1; }
+};
+}