MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / ListBox

Method ListBox

Dependencies/ImGui/src/imgui_widgets.cpp:2161–2165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2159}
2160
2161bool 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}
2166bool 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 };

Callers

nothing calls this directly

Calls 5

ImMinFunction · 0.85
ImTruncFunction · 0.85
IncludeItemByIndexMethod · 0.80
BeginMethod · 0.45
StepMethod · 0.45

Tested by

no test coverage detected