Skip to content

Commit 6fda3c6

Browse files
halx99github-actions[bot]
authored andcommitted
Committing genbindings changes
1 parent 50811b1 commit 6fda3c6

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

extensions/scripting/lua-bindings/auto/lua_axis_ui_auto.cpp

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34516,6 +34516,53 @@ int lua_axis_ui_EditBox_keyboardWillHide(lua_State* tolua_S)
3451634516

3451734517
return 0;
3451834518
}
34519+
int lua_axis_ui_EditBox_closeKeyboard(lua_State* tolua_S)
34520+
{
34521+
int argc = 0;
34522+
axis::ui::EditBox* cobj = nullptr;
34523+
bool ok = true;
34524+
34525+
#if AXIS_DEBUG >= 1
34526+
tolua_Error tolua_err;
34527+
#endif
34528+
34529+
34530+
#if AXIS_DEBUG >= 1
34531+
if (!tolua_isusertype(tolua_S,1,"axui.EditBox",0,&tolua_err)) goto tolua_lerror;
34532+
#endif
34533+
34534+
cobj = (axis::ui::EditBox*)tolua_tousertype(tolua_S,1,0);
34535+
34536+
#if AXIS_DEBUG >= 1
34537+
if (!cobj)
34538+
{
34539+
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_axis_ui_EditBox_closeKeyboard'", nullptr);
34540+
return 0;
34541+
}
34542+
#endif
34543+
34544+
argc = lua_gettop(tolua_S)-1;
34545+
if (argc == 0)
34546+
{
34547+
if(!ok)
34548+
{
34549+
tolua_error(tolua_S,"invalid arguments in function 'lua_axis_ui_EditBox_closeKeyboard'", nullptr);
34550+
return 0;
34551+
}
34552+
cobj->closeKeyboard();
34553+
lua_settop(tolua_S, 1);
34554+
return 1;
34555+
}
34556+
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "axui.EditBox:closeKeyboard",argc, 0);
34557+
return 0;
34558+
34559+
#if AXIS_DEBUG >= 1
34560+
tolua_lerror:
34561+
tolua_error(tolua_S,"#ferror in function 'lua_axis_ui_EditBox_closeKeyboard'.",&tolua_err);
34562+
#endif
34563+
34564+
return 0;
34565+
}
3451934566
int lua_axis_ui_EditBox_setCapInsetsNormalRenderer(lua_State* tolua_S)
3452034567
{
3452134568
int argc = 0;
@@ -36007,6 +36054,7 @@ int lua_register_axis_ui_EditBox(lua_State* tolua_S)
3600736054
tolua_function(tolua_S,"setFontColor",lua_axis_ui_EditBox_setFontColor);
3600836055
tolua_function(tolua_S,"getFontName",lua_axis_ui_EditBox_getFontName);
3600936056
tolua_function(tolua_S,"keyboardWillHide",lua_axis_ui_EditBox_keyboardWillHide);
36057+
tolua_function(tolua_S,"closeKeyboard",lua_axis_ui_EditBox_closeKeyboard);
3601036058
tolua_function(tolua_S,"setCapInsetsNormalRenderer",lua_axis_ui_EditBox_setCapInsetsNormalRenderer);
3601136059
tolua_function(tolua_S,"loadTexturePressed",lua_axis_ui_EditBox_loadTexturePressed);
3601236060
tolua_function(tolua_S,"getFontColor",lua_axis_ui_EditBox_getFontColor);

extensions/scripting/lua-bindings/auto/lua_axis_ui_auto.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ int register_all_axis_ui(lua_State* tolua_S);
803803

804804

805805

806+
806807

807808

808809
#endif // __axis_ui_h__

0 commit comments

Comments
 (0)