| 2159 | } |
| 2160 | |
| 2161 | bool ImGui::ListBox(const char* label, int* current_item, bool (*old_getter)(void*, int, const char**), void* user_data, int items_count, int height_in_items) |
| 2162 | { |
| 2163 | ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter }; |
| 2164 | return ListBox(label, current_item, ImGuiGetNameFromIndexOldToNewCallback, &old_to_new_data, items_count, height_in_items); |
| 2165 | } |
| 2166 | bool ImGui::Combo(const char* label, int* current_item, bool (*old_getter)(void*, int, const char**), void* user_data, int items_count, int popup_max_height_in_items) |
| 2167 | { |
| 2168 | ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter }; |
nothing calls this directly
no test coverage detected