summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-18 02:12:30 +0800
committerchai <chaifix@163.com>2021-10-18 02:12:30 +0800
commit22e576b5aa065f3cb2ca67a951af5e68063419a2 (patch)
treed72c6c77e33990cc70952c58e9ca50637ba6c242 /Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
parent7c8c68d79343d04be382334c15a73d079450857c (diff)
*scripting
Diffstat (limited to 'Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp')
-rw-r--r--Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
index f51b6b4..265ea2e 100644
--- a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
+++ b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
@@ -10,6 +10,14 @@ LUA_BIND_REGISTRY(ContainnerWindow)
LUA_BIND_POSTPROCESS(ContainnerWindow)
{
+ LUA_BIND_REGISTER_ENUM(state, "EShowMode",
+ { "NormalWindow", ShowMode::kShowNormalWindow },
+ { "ShowPopupMenu", ShowMode::kShowPopupMenu },
+ { "Utility ", ShowMode::kShowUtility },
+ { "NoShadow", ShowMode::kShowNoShadow },
+ { "MainWindow", ShowMode::kShowMainWindow },
+ { "AuxWindow", ShowMode::kShowAuxWindow }
+ );
}
LUA_BIND_IMPL_METHOD(ContainnerWindow, _SetTitle)