| 2296 | } |
| 2297 | |
| 2298 | bool PyUILayout::color_button(const std::string& label, nb::object color, |
| 2299 | std::tuple<float, float> size) { |
| 2300 | return ImGui::ColorButton(label.c_str(), tuple_to_imvec4(color), 0, |
| 2301 | {std::get<0>(size), std::get<1>(size)}); |
| 2302 | } |
| 2303 | |
| 2304 | // Selection |
| 2305 | std::tuple<bool, int> PyUILayout::combo(const std::string& label, int current_idx, |
nothing calls this directly
no test coverage detected