MCPcopy Create free account
hub / github.com/cinder/Cinder / ListBox

Method ListBox

src/imgui/imgui_widgets.cpp:2205–2209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2203}
2204
2205bool 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)
2206{
2207 ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter };
2208 return ListBox(label, current_item, ImGuiGetNameFromIndexOldToNewCallback, &old_to_new_data, items_count, height_in_items);
2209}
2210bool 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)
2211{
2212 ImGuiGetNameFromIndexOldToNewCallbackData old_to_new_data = { user_data, old_getter };

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected