MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / InputFloat

Function InputFloat

src/visualizer/gui/ui_widgets.cpp:286–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 }
285
286 bool InputFloat(const char* label, float* v, const float step, const float step_fast,
287 const char* format, const ImGuiInputTextFlags flags) {
288 const float original = *v;
289 return drawTrackedNumericWidget<float>(
290 &original, v, 1,
291 [&]() { return ImGui::InputFloat(label, v, step, step_fast, format, flags); },
292 []() {});
293 }
294
295 bool InputInt(const char* label, int* v, const int step, const int step_fast,
296 const ImGuiInputTextFlags flags) {

Callers 2

input_floatMethod · 0.85
stepper_floatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected