blob: 4f6ed7ae0b9ffe17346fa284687564bb16a78ab3 (
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
|
#include "Runtime/Lua/LuaHelper.h"
#include "Runtime/Debug/Log.h"
#include "Runtime/Common/DataBuffer.h"
#include "Runtime/FileSystem/FileJobs.h"
#include "Runtime/GUI/Font.h"
using namespace std;
using namespace LuaBind;
int luaopen_GameLab_Engine_GUI(lua_State* L)
{
log_info_tag("Scripting", "luaopen_GameLab_Engine_GUI()");
LUA_BIND_STATE(L);
state.PushGlobalNamespace();
state.PushNamespace("GameLab");
state.PushNamespace("Engine");
state.PushNamespace("GUI");
state.RegisterNativeClass<Font>();
return 1;
}
|