src/lua-bindings/wrap_imgui_codegen.cpp
/*  adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. */
adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
adjust format to decorate the value with a prefix or a suffix for in - slider labels or unit display .
int w_SliderFloat(lua_State *L)
{
	auto label = luaL_checkstring(L, 1);
	auto v = static_cast<float>(luaL_checknumber(L, 2));
	auto v_min = luax_checkfloat(L, 3);
	auto v_max = luax_checkfloat(L, 4);
	auto format = luaL_optstring(L, 5, "%.3f");
	auto flags = luax_optflags<ImGuiSliderFlags>(getImGuiSliderFlagsFromString, L, 6, 0);
	bool out = ImGui::SliderFloat(label, &v, v_min, v_max, format, flags);
	lua_pushnumber(L, v);
	lua_pushboolean(L, out);
	return 2;
}
int w_SliderFloat ( lua_State * L ) { auto label = luaL_checkstring ( L , 1 ) ; auto v = static_cast < float > ( luaL_checknumber ( L , 2 ) ) ; auto v_min = luax_checkfloat ( L , 3 ) ; auto v_max = luax_checkfloat ( L , 4 ) ; auto format = luaL_optstring ( L , 5 , " " ) ; auto flags = luax_optflags < ImGuiSliderFlags > ( getImGuiSliderFlagsFromString , L , 6 , 0 ) ; bool out = ImGui :: SliderFloat ( label , & v , v_min , v_max , format , flags ) ; lua_pushnumber ( L , v ) ; lua_pushboolean ( L , out ) ; return 2 ; }
adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
adjust format to decorate the value with a prefix or a suffix for in - slider labels or unit display .