Searched refs:height_in_items (Results 1 - 4 of 4) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui.h | 499 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); // "
|
| H A D | imgui_widgets.cpp | 1459 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items) argument 1461 const bool value_changed = Combo(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_in_items); 1466 bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items) argument 1475 bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_by_zeros, items_count, height_in_items); 5166 bool ImGui::ListBoxHeader(const char* label, int items_count, int height_in_items) argument 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 5207 ListBox(const char * label,int * current_item,bool (* items_getter)(void *,int,const char **),void * data,int items_count,int height_in_items) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui.h | 499 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); // "
|
| H A D | imgui_widgets.cpp | 1459 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items) argument 1461 const bool value_changed = Combo(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_in_items); 1466 bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items) argument 1475 bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_by_zeros, items_count, height_in_items); 5166 bool ImGui::ListBoxHeader(const char* label, int items_count, int height_in_items) argument 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 5207 ListBox(const char * label,int * current_item,bool (* items_getter)(void *,int,const char **),void * data,int items_count,int height_in_items) argument [all...] |
Completed in 67 milliseconds