summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/Events/Events.bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Scripting/Events/Events.bind.cpp')
-rw-r--r--Runtime/Scripting/Events/Events.bind.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/Runtime/Scripting/Events/Events.bind.cpp b/Runtime/Scripting/Events/Events.bind.cpp
index 40ea544..32e8a2b 100644
--- a/Runtime/Scripting/Events/Events.bind.cpp
+++ b/Runtime/Scripting/Events/Events.bind.cpp
@@ -31,33 +31,33 @@ int luaopen_GameLab_Events(lua_State* L)
state.RegisterMethods(funcs);
LUA_BIND_REGISTER_ENUM(state, "EEventType",
- { "MouseDown", InputEvent_MouseDown },
- { "MouseUp", InputEvent_MouseUp },
- { "MouseMove", InputEvent_MouseMove },
- { "MouseDrag", InputEvent_MouseDrag },
- { "KeyDown", InputEvent_KeyDown },
- { "KeyUp", InputEvent_KeyUp },
- { "ScrollWheel", InputEvent_ScrollWheel },
- { "Repaint", InputEvent_Repaint },
- { "Layout", InputEvent_Layout },
- { "DragUpdated", InputEvent_DragUpdated },
- { "DragPerform", InputEvent_DragPerform },
- { "DragExited", InputEvent_DragExited },
- { "Ignore", InputEvent_Ignore },
- { "Used", InputEvent_Used },
- { "ValidateCommand", InputEvent_ValidateCommand },
- { "ExecuteCommand", InputEvent_ExecuteCommand },
- { "ContextClick", InputEvent_ContextClick },
- { "MouseEnterWindow", InputEvent_MouseEnterWindow },
- { "MouseLeaveWindow", InputEvent_MouseLeaveWindow },
- { "MagnifyGesture", InputEvent_MagnifyGesture },
- { "SwipeGesture", InputEvent_SwipeGesture },
- { "RotateGesture", InputEvent_RotateGesture }
+ { "MouseDown", InputEvent_MouseDown },
+ { "MouseUp", InputEvent_MouseUp },
+ { "MouseMove", InputEvent_MouseMove },
+ { "MouseDrag", InputEvent_MouseDrag },
+ { "KeyDown", InputEvent_KeyDown },
+ { "KeyUp", InputEvent_KeyUp },
+ { "ScrollWheel", InputEvent_ScrollWheel },
+ { "Repaint", InputEvent_Repaint },
+ { "Layout", InputEvent_Layout },
+ { "DragUpdated", InputEvent_DragUpdated },
+ { "DragPerform", InputEvent_DragPerform },
+ { "DragExited", InputEvent_DragExited },
+ { "Ignore", InputEvent_Ignore },
+ { "Used", InputEvent_Used },
+ { "ValidateCommand", InputEvent_ValidateCommand },
+ { "ExecuteCommand", InputEvent_ExecuteCommand },
+ { "ContextClick", InputEvent_ContextClick },
+ { "MouseEnterWindow", InputEvent_MouseEnterWindow },
+ { "MouseLeaveWindow", InputEvent_MouseLeaveWindow },
+ { "MagnifyGesture", InputEvent_MagnifyGesture },
+ { "SwipeGesture", InputEvent_SwipeGesture },
+ { "RotateGesture", InputEvent_RotateGesture }
);
LUA_BIND_REGISTER_ENUM(state, "EMouseButton",
- { "LeftButton", Mouse_LeftButton },
- { "RightButton", Mouse_RightButton },
+ { "LeftButton", Mouse_LeftButton },
+ { "RightButton", Mouse_RightButton },
{ "MiddleButton", Mouse_MiddleButton }
);