| 2088 | } |
| 2089 | |
| 2090 | 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) |
| 2091 | { |
| 2092 | ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter }; |
| 2093 | return ListBox(label, current_item, ImGuiGetNameFromIndexOldToNewCallback, &old_to_new_data, items_count, height_in_items); |
| 2094 | } |
| 2095 | 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) |
| 2096 | { |
| 2097 | ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter }; |
nothing calls this directly
no test coverage detected