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

Method image_button

src/python/lfs/py_ui.cpp:1593–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1591 pop_per_item_state();
1592 }
1593 bool PySubLayout::image_button(const std::string& id, uint64_t texture_id,
1594 std::tuple<float, float> size,
1595 nb::object tint) {
1596 advance_child();
1597 apply_state();
1598 auto r = parent_->image_button(id, texture_id, size, tint);
1599 pop_per_item_state();
1600 return r;
1601 }
1602 std::tuple<bool, std::string> PySubLayout::input_text_with_hint(const std::string& label,
1603 const std::string& hint,
1604 const std::string& value) {

Callers

nothing calls this directly

Calls 2

tuple_to_imvec4Function · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected