summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/EditorGUI.bind.cpp
blob: dc7b88c7fb78fea8a26362ad60c898ddbaaafb5a (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_tag("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;
}