summaryrefslogtreecommitdiff
path: root/src/cat/LuaLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaLabel.h')
-rw-r--r--src/cat/LuaLabel.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/cat/LuaLabel.h b/src/cat/LuaLabel.h
new file mode 100644
index 0000000..a80ea4f
--- /dev/null
+++ b/src/cat/LuaLabel.h
@@ -0,0 +1,29 @@
+#pragma once
+
+extern "C" {
+ #include "lua.h"
+ #include "lauxlib.h"
+ #include "lualib.h"
+}
+
+#include "LuaLuna.h"
+#include "LuaComponent.h"
+
+namespace ui
+{
+ class Label;
+}
+
+class LuaScriptInterface;
+
+class LuaLabel: public LuaComponent
+{
+ ui::Label * label;
+ int text(lua_State * l);
+public:
+ static const char className[];
+ static Luna<LuaLabel>::RegType methods[];
+
+ LuaLabel(lua_State * l);
+ ~LuaLabel();
+}; \ No newline at end of file