Home
last modified time | relevance | path

Searched refs:height_in_items (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp1459 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items) in Combo() argument
1461 const bool value_changed = Combo(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_in_items); in Combo()
1466 bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items) in Combo() argument
1475 bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_by_zeros, items_count, height_in_items); in Combo()
5166 bool ImGui::ListBoxHeader(const char* label, int items_count, int height_in_items)
5170 // We don't add this extra bit if items_count <= height_in_items. It is slightly dodgy, because it means a dynamic list of items will make the widget resize occasionally when it crosses that size.
5172 if (height_in_items < 0)
5173 height_in_items = ImMin(items_count, 7);
5175 float height_in_items_f = (height_in_items < items_count) ? (height_in_items
[all...]
H A Dimgui.h499 IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items = -1);
500 IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* data, int idx, const char** out_text), void* data, int items_count, int height_in_items = -1);
502 IMGUI_API bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1); // "
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp1826 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items) in Combo() argument
1828 const bool value_changed = Combo(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_in_items); in Combo()
1833 bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items) in Combo() argument
1842 bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_by_zeros, items_count, height_in_items); in Combo()
6332 bool ImGui::ListBoxHeader(const char* label, int items_count, int height_in_items)
6334 // If height_in_items == -1, default height is maximum 7.
6336 float height_in_items_f = (height_in_items < 0 ? ImMin(items_count, 7) : height_in_items) + 0.25f;
6363 bool ImGui::ListBox(const char* label, int* current_item, bool (*items_getter)(void*, int, const char**), void* data, int items_count, int height_in_items)
6367 // Calculate size from "height_in_items"
[all...]
H A Dimgui.h632 IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items = -1);
633 IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* data, int idx, const char** out_text), void* data, int items_count, int height_in_items = -1);
2834 IMGUI_API bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1); // Helper to calculate size from items_count and height_in_items

Completed in 38 milliseconds