aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_ttf.h
blob: 7673d6740bd0b4664e68daa1714c0fc29f5e85f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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