| 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) { |
no outgoing calls
no test coverage detected