aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_ttf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/graphics/je_lua_ttf.h')
-rw-r--r--src/lua/modules/graphics/je_lua_ttf.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/lua/modules/graphics/je_lua_ttf.h b/src/lua/modules/graphics/je_lua_ttf.h
new file mode 100644
index 0000000..7673d67
--- /dev/null
+++ b/src/lua/modules/graphics/je_lua_ttf.h
@@ -0,0 +1,39 @@
+#ifndef __JE_LUA_TTF_H__
+#define __JE_LUA_TTF_H__
+
+#include "../../common/je_lua_shared.hpp"
+
+#include "libjin/jin.h"
+
+namespace JinEngine
+{
+ namespace Lua
+ {
+
+ class TTFData
+ : public Graphics::Fonts::TTFData
+ {
+ public:
+ TTF * createTTF(unsigned fontSize);
+
+ private:
+ using Parent = Graphics::Fonts::TTFData;
+
+ };
+
+ class TTF
+ : public Graphics::Fonts::TTF
+ {
+ public:
+
+ private:
+ using Parent = Graphics::Fonts::TTF;
+
+ Shared<Graphics::Fonts::TTFData>* ttfDataShared;
+
+ };
+
+ }
+}
+
+#endif \ No newline at end of file