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

Function InputFloat2

Source/GUI/ImGuiBinding.cpp:769–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769bool InputFloat2(const char* label, float* v1, float* v2, const char* format, Slice* flags, int flagCount) {
770 float floats[2] = {*v1, *v2};
771 bool changed = ImGui::InputFloat2(label, floats, format, InputTextFlags(flags, flagCount));
772 *v1 = floats[0];
773 *v2 = floats[1];
774 return changed;
775}
776
777bool InputInt(const char* label, int* v, int step, int step_fast, Slice* flags, int flagCount) {
778 return ImGui::InputInt(label, v, step, step_fast, InputTextFlags(flags, flagCount));

Callers 3

Demo_ColormapWidgetsFunction · 0.85

Calls 4

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

Tested by

no test coverage detected