| 6411 | } |
| 6412 | |
| 6413 | bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items) |
| 6414 | { |
| 6415 | const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items); |
| 6416 | return value_changed; |
| 6417 | } |
| 6418 | |
| 6419 | // This is merely a helper around BeginListBox(), EndListBox(). |
| 6420 | // Considering using those directly to submit custom data or store selection differently. |