Searched refs:popup_max_height_in_items (Results 1 - 4 of 4) sorted by relevance
/third_party/mesa3d/src/imgui/ |
H A D | imgui.h | 404 IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1); 405 IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items = -1); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" 406 IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data, int idx, const char** out_text), void* data, int items_count, int popup_max_height_in_items = -1);
|
H A D | imgui_widgets.cpp | 1346 int popup_max_height_in_items = -1; in BeginCombo() local 1347 if (flags & ImGuiComboFlags_HeightRegular) popup_max_height_in_items = 8; in BeginCombo() 1348 else if (flags & ImGuiComboFlags_HeightSmall) popup_max_height_in_items = 4; in BeginCombo() 1349 else if (flags & ImGuiComboFlags_HeightLarge) popup_max_height_in_items = 20; in BeginCombo() 1350 SetNextWindowSizeConstraints(ImVec2(w, 0.0f), ImVec2(FLT_MAX, CalcMaxPopupHeightFromItemCount(popup_max_height_in_items))); in BeginCombo() 1418 bool ImGui::Combo(const char* label, int* current_item, bool (*items_getter)(void*, int, const char**), void* data, int items_count, int popup_max_height_in_items) in Combo() argument 1427 // The old Combo() API exposed "popup_max_height_in_items". The new more general BeginCombo() API doesn't have/need it, but we emulate it here. in Combo() 1428 if (popup_max_height_in_items != -1 && !g.NextWindowData.SizeConstraintCond) in Combo() 1429 SetNextWindowSizeConstraints(ImVec2(0,0), ImVec2(FLT_MAX, CalcMaxPopupHeightFromItemCount(popup_max_height_in_items))); in Combo()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui.h | 521 IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1); 522 IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items = -1); // Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" 523 IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data, int idx, const char** out_text), void* data, int items_count, int popup_max_height_in_items = -1);
|
H A D | imgui_widgets.cpp | 1655 int popup_max_height_in_items = -1; in BeginComboPopup() local 1656 if (flags & ImGuiComboFlags_HeightRegular) popup_max_height_in_items = 8; in BeginComboPopup() 1657 else if (flags & ImGuiComboFlags_HeightSmall) popup_max_height_in_items = 4; in BeginComboPopup() 1658 else if (flags & ImGuiComboFlags_HeightLarge) popup_max_height_in_items = 20; in BeginComboPopup() 1659 SetNextWindowSizeConstraints(ImVec2(w, 0.0f), ImVec2(FLT_MAX, CalcMaxPopupHeightFromItemCount(popup_max_height_in_items))); in BeginComboPopup() 1781 bool ImGui::Combo(const char* label, int* current_item, bool (*items_getter)(void*, int, const char**), void* data, int items_count, int popup_max_height_in_items) in Combo() argument 1790 // The old Combo() API exposed "popup_max_height_in_items". The new more general BeginCombo() API doesn't have/need it, but we emulate it here. in Combo() 1791 if (popup_max_height_in_items != -1 && !(g.NextWindowData.Flags & ImGuiNextWindowDataFlags_HasSizeConstraint)) in Combo() 1792 SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, CalcMaxPopupHeightFromItemCount(popup_max_height_in_items))); in Combo()
|
Completed in 39 milliseconds