MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / InputInt2

Function InputInt2

Source/GUI/ImGuiBinding.cpp:781–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781bool InputInt2(const char* label, int* v1, int* v2, Slice* flags, int flagCount) {
782 int ints[2] = {*v1, *v2};
783 bool changed = ImGui::InputInt2(label, ints, InputTextFlags(flags, flagCount));
784 *v1 = ints[0];
785 *v2 = ints[1];
786 return changed;
787}
788
789bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, Slice* flags, int flagCount) {
790 return ImGui::SliderFloat(label, v, v_min, v_max, format, SliderFlags(flags, flagCount));

Callers 2

Calls 4

InputTextFlagsFunction · 0.85
popMethod · 0.65
pushMethod · 0.65
c_strMethod · 0.45

Tested by

no test coverage detected