MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / textInputRect

Function textInputRect

src/lua/LuaInterface.cpp:357–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357static int textInputRect(lua_State *L)
358{
359 GetLSI()->AssertInterfaceEvent();
360 int x = luaL_checkint(L, 1);
361 int y = luaL_checkint(L, 2);
362 int w = luaL_checkint(L, 3);
363 int h = luaL_checkint(L, 4);
364 ui::Engine::Ref().TextInputRect(ui::Point{ x, y }, ui::Point{ w, h });
365 return 0;
366}
367
368static int showWindow(lua_State *L)
369{

Callers

nothing calls this directly

Calls 3

GetLSIFunction · 0.85
AssertInterfaceEventMethod · 0.80
TextInputRectMethod · 0.80

Tested by

no test coverage detected