@@ -34516,6 +34516,53 @@ int lua_axis_ui_EditBox_keyboardWillHide(lua_State* tolua_S)
34516
34516
34517
34517
return 0;
34518
34518
}
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
+ }
34519
34566
int lua_axis_ui_EditBox_setCapInsetsNormalRenderer(lua_State* tolua_S)
34520
34567
{
34521
34568
int argc = 0;
@@ -36007,6 +36054,7 @@ int lua_register_axis_ui_EditBox(lua_State* tolua_S)
36007
36054
tolua_function(tolua_S,"setFontColor",lua_axis_ui_EditBox_setFontColor);
36008
36055
tolua_function(tolua_S,"getFontName",lua_axis_ui_EditBox_getFontName);
36009
36056
tolua_function(tolua_S,"keyboardWillHide",lua_axis_ui_EditBox_keyboardWillHide);
36057
+ tolua_function(tolua_S,"closeKeyboard",lua_axis_ui_EditBox_closeKeyboard);
36010
36058
tolua_function(tolua_S,"setCapInsetsNormalRenderer",lua_axis_ui_EditBox_setCapInsetsNormalRenderer);
36011
36059
tolua_function(tolua_S,"loadTexturePressed",lua_axis_ui_EditBox_loadTexturePressed);
36012
36060
tolua_function(tolua_S,"getFontColor",lua_axis_ui_EditBox_getFontColor);
0 commit comments