MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / ListBox

Method ListBox

TheForceEngine/TFE_Ui/imGUI/imgui_widgets.cpp:2090–2094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2088}
2089
2090bool 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}
2095bool 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 };

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