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

Method input_float

src/python/lfs/py_ui.cpp:1510–1518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508 return r;
1509 }
1510 std::tuple<bool, float> PySubLayout::input_float(const std::string& label, float value,
1511 float step, float step_fast,
1512 const std::string& format) {
1513 advance_child();
1514 apply_state();
1515 auto r = parent_->input_float(label, value, step, step_fast, format);
1516 pop_per_item_state();
1517 return r;
1518 }
1519 std::tuple<bool, int> PySubLayout::input_int(const std::string& label, int value,
1520 int step, int step_fast) {
1521 advance_child();

Callers 5

draw_cropbox_controlsFunction · 0.45
_draw_basic_paramsMethod · 0.45
_input_float_prop_rowMethod · 0.45
_input_float_rowMethod · 0.45
draw_ellipsoid_controlsFunction · 0.45

Calls 2

InputFloatFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected