Polyphase Game Engine
Loading...
Searching...
No Matches
Font_Lua.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
EngineTypes.h
"
4
#include "
Log.h
"
5
6
#include "
Assets/Font.h
"
7
8
#include "
LuaBindings/Asset_Lua.h
"
9
#include "
LuaBindings/LuaUtils.h
"
10
11
#if LUA_ENABLED
12
13
#define FONT_LUA_NAME "Font"
14
#define FONT_LUA_FLAG "cfFont"
15
#define CHECK_FONT(L, arg) CheckAssetLuaType<Font>(L, arg, FONT_LUA_NAME, FONT_LUA_FLAG)
16
17
struct
Font_Lua
18
{
19
static
int
GetSize(lua_State* L);
20
static
int
GetWidth(lua_State* L);
21
static
int
GetHeight(lua_State* L);
22
static
int
GetTexture(lua_State* L);
23
static
int
IsBold(lua_State* L);
24
static
int
IsItalic(lua_State* L);
25
26
static
void
Bind();
27
};
28
29
#endif
Asset_Lua.h
EngineTypes.h
Font.h
Log.h
LuaUtils.h
Engine
Source
LuaBindings
Font_Lua.h
Generated by
1.9.8