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

Method image

src/python/lfs/py_ui.cpp:1586–1592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1584 return r;
1585 }
1586 void PySubLayout::image(uint64_t texture_id, std::tuple<float, float> size,
1587 nb::object tint) {
1588 advance_child();
1589 apply_state();
1590 parent_->image(texture_id, size, tint);
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) {

Callers

nothing calls this directly

Calls 2

tuple_to_imvec4Function · 0.85
ImageClass · 0.50

Tested by

no test coverage detected