mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-07 04:30:08 +00:00
ListBox() changed signature of ListBox() to match Combo(). Still not very happy about not using const char** anymore. (#931)
This commit is contained in:
parent
149523a101
commit
d9034bf2d8
2 changed files with 2 additions and 2 deletions
|
|
@ -9502,7 +9502,7 @@ void ImGui::ListBoxFooter()
|
|||
EndGroup();
|
||||
}
|
||||
|
||||
bool ImGui::ListBox(const char* label, int* current_item, const char* const* items, int items_count, int height_items)
|
||||
bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items)
|
||||
{
|
||||
const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items);
|
||||
return value_changed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue