MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / ListBox

Method ListBox

extern/imgui/imgui_widgets.cpp:6490–6494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6488}
6489
6490bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items)
6491{
6492 const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items);
6493 return value_changed;
6494}
6495
6496// This is merely a helper around BeginListBox(), EndListBox().
6497// Considering using those directly to submit custom data or store selection differently.

Callers

nothing calls this directly

Calls 4

ImMinFunction · 0.85
ImFloorFunction · 0.85
BeginMethod · 0.80
StepMethod · 0.45

Tested by

no test coverage detected