src/lua-bindings/wrap_imgui_codegen.cpp
/*  flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) */
flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
flexible button behavior without the visuals frequently useful to build custom behaviors using the public api ( along with IsItemActive IsItemHovered etc . )
int w_InvisibleButton(lua_State *L)
{
	auto str_id = luaL_checkstring(L, 1);
	ImVec2 size;
	size.x = luax_checkfloat(L, 2);
	size.y = luax_checkfloat(L, 3);
	auto flags = luax_optflags<ImGuiButtonFlags>(getImGuiButtonFlagsFromString, L, 4, 0);
	bool out = ImGui::InvisibleButton(str_id, size, flags);
	lua_pushboolean(L, out);
	return 1;
}
int w_InvisibleButton ( lua_State * L ) { auto str_id = luaL_checkstring ( L , 1 ) ; ImVec2 size ; size . x = luax_checkfloat ( L , 2 ) ; size . y = luax_checkfloat ( L , 3 ) ; auto flags = luax_optflags < ImGuiButtonFlags > ( getImGuiButtonFlagsFromString , L , 4 , 0 ) ; bool out = ImGui :: InvisibleButton ( str_id , size , flags ) ; lua_pushboolean ( L , out ) ; return 1 ; }
flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
flexible button behavior without the visuals frequently useful to build custom behaviors using the public api ( along with IsItemActive IsItemHovered etc . )