summaryrefslogtreecommitdiff
path: root/src/tangara/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/tangara/lua')
-rw-r--r--src/tangara/lua/lua_screen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tangara/lua/lua_screen.cpp b/src/tangara/lua/lua_screen.cpp
index 8d87eebd..6bb26ec1 100644
--- a/src/tangara/lua/lua_screen.cpp
+++ b/src/tangara/lua/lua_screen.cpp
@@ -56,9 +56,9 @@ static auto screen_true(lua_State* state) -> int {
}
static const struct luaL_Reg kScreenFuncs[] = {
- {"new", screen_new}, {"createUi", screen_noop},
- {"onShown", screen_noop}, {"onHidden", screen_noop},
- {"canPop", screen_true}, {NULL, NULL}};
+ {"new", screen_new}, {"create_ui", screen_noop},
+ {"on_show", screen_noop}, {"on_hide", screen_noop},
+ {"can_pop", screen_true}, {NULL, NULL}};
static auto lua_screen(lua_State* state) -> int {
luaL_newlib(state, kScreenFuncs);