summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/EditorGUI.bind.cpp
blob: 2fea6bedba00ecd78f1372033d6195de7ab3bd5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "Editor/GUI/EditorWindows.h"

// GameLab.Editor.GUI
int luaopen_GameLab_Editor_GUI(lua_State* L) 
{
	log_info("Scripting", "luaopen_GameLab_Editor_GUI()");

	LUA_BIND_STATE(L);

	state.PushGlobalNamespace();
	state.PushNamespace("GameLab");
	state.PushNamespace("Editor");
	state.PushNamespace("GUI");

    state.RegisterNativeClass<ContainerWindow>();
    state.RegisterNativeClass<GUIWindow>();

	return 1;
}