summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/EditorGUI.bind.cpp
blob: 4e908c4e0ddfe26508d76cf9dc942d44705964ac (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.RegisterFactory<ContainnerWindow>();
    state.RegisterFactory<GUIWindow>();

	return 1;
}