Searched refs:items_count (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h404 IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1);
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);
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); // "
632 IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can.
1667 // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step).
1670 ImGuiListClipper(int items_count = -1, float items_height = -1.0f) { Begin(items_count, items_height); } // NB: Begin() initialize every fields (as we allow user to call Begin/End multiple times on a same instance if they want). argument
1674 IMGUI_API void Begin(int items_count, floa
[all...]
H A Dimgui_widgets.cpp1272 static float CalcMaxPopupHeightFromItemCount(int items_count) argument
1275 if (items_count <= 0)
1277 return (g.FontSize + g.Style.ItemSpacing.y) * items_count - g.Style.ItemSpacing.y + (g.Style.WindowPadding.y * 2);
1401 int items_count = 0; local in function:Items_SingleStringGetter
1405 if (idx == items_count)
1408 items_count++;
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) argument
1424 if (*current_item >= 0 && *current_item < items_count)
1437 for (int i = 0; i < items_count; i++)
1459 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, in argument
1468 int items_count = 0; local in function:ImGui::Combo
5166 ListBoxHeader(const char * label,int items_count,int height_in_items) argument
5201 ListBox(const char * label,int * current_item,const char * const items[],int items_count,int height_items) argument
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...]
H A Dimgui.cpp3922 // NB: 'items_count' is only used to clamp the result, if you don't know your count you can use INT_MAX
3923 void ImGui::CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end) argument
3931 *out_items_display_end = items_count;
3955 start = ImClamp(start, 0, items_count);
3956 end = ImClamp(end + 1, start, items_count);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h404 IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1);
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);
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); // "
632 IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end); // calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can.
1667 // items_count: Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step).
1670 ImGuiListClipper(int items_count = -1, float items_height = -1.0f) { Begin(items_count, items_height); } // NB: Begin() initialize every fields (as we allow user to call Begin/End multiple times on a same instance if they want). argument
1674 IMGUI_API void Begin(int items_count, floa
[all...]
H A Dimgui_widgets.cpp1272 static float CalcMaxPopupHeightFromItemCount(int items_count) argument
1275 if (items_count <= 0)
1277 return (g.FontSize + g.Style.ItemSpacing.y) * items_count - g.Style.ItemSpacing.y + (g.Style.WindowPadding.y * 2);
1401 int items_count = 0; local in function:Items_SingleStringGetter
1405 if (idx == items_count)
1408 items_count++;
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) argument
1424 if (*current_item >= 0 && *current_item < items_count)
1437 for (int i = 0; i < items_count; i++)
1459 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count, in argument
1468 int items_count = 0; local in function:ImGui::Combo
5166 ListBoxHeader(const char * label,int items_count,int height_in_items) argument
5201 ListBox(const char * label,int * current_item,const char * const items[],int items_count,int height_items) argument
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...]
H A Dimgui.cpp3922 // NB: 'items_count' is only used to clamp the result, if you don't know your count you can use INT_MAX
3923 void ImGui::CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end) argument
3931 *out_items_display_end = items_count;
3955 start = ImClamp(start, 0, items_count);
3956 end = ImClamp(end + 1, start, items_count);

Completed in 150 milliseconds