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

Function tuple_to_imvec4

src/python/lfs/py_ui.cpp:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 constexpr float BOX_BORDER_SIZE = 1.0f;
98
99 ImVec4 tuple_to_imvec4(const std::tuple<float, float, float, float>& t) {
100 return {std::get<0>(t), std::get<1>(t), std::get<2>(t), std::get<3>(t)};
101 }
102
103 ImVec4 tuple_to_imvec4(const nb::object& obj) {
104 const auto len = nb::len(obj);

Callers 13

draw_prop_enum_buttonFunction · 0.85
py_ui.cppFile · 0.85
apply_stateMethod · 0.85
tuple_to_color32Function · 0.85
text_coloredMethod · 0.85
text_colored_centeredMethod · 0.85
color_buttonMethod · 0.85
table_set_bg_colorMethod · 0.85
imageMethod · 0.85
image_uvMethod · 0.85
image_buttonMethod · 0.85
push_style_colorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected