Searched refs:tab_count_same_width (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_widgets.cpp6051 int tab_count_same_width = 1; local in function:ImGui::TabBarLayout
6052 while (width_excess > 0.0f && tab_count_same_width < tab_bar->Tabs.Size)
6054 while (tab_count_same_width < tab_bar->Tabs.Size && width_sort_buffer[0].Width == width_sort_buffer[tab_count_same_width].Width)
6055 tab_count_same_width++;
6056 float width_to_remove_per_tab_max = (tab_count_same_width < tab_bar->Tabs.Size) ? (width_sort_buffer[0].Width - width_sort_buffer[tab_count_same_width].Width) : (width_sort_buffer[0].Width - 1.0f);
6057 float width_to_remove_per_tab = ImMin(width_excess / tab_count_same_width, width_to_remove_per_tab_max);
6058 for (int tab_n = 0; tab_n < tab_count_same_width; tab_n++)
6060 width_excess -= width_to_remove_per_tab * tab_count_same_width;
[all...]
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_widgets.cpp6051 int tab_count_same_width = 1; local in function:ImGui::TabBarLayout
6052 while (width_excess > 0.0f && tab_count_same_width < tab_bar->Tabs.Size)
6054 while (tab_count_same_width < tab_bar->Tabs.Size && width_sort_buffer[0].Width == width_sort_buffer[tab_count_same_width].Width)
6055 tab_count_same_width++;
6056 float width_to_remove_per_tab_max = (tab_count_same_width < tab_bar->Tabs.Size) ? (width_sort_buffer[0].Width - width_sort_buffer[tab_count_same_width].Width) : (width_sort_buffer[0].Width - 1.0f);
6057 float width_to_remove_per_tab = ImMin(width_excess / tab_count_same_width, width_to_remove_per_tab_max);
6058 for (int tab_n = 0; tab_n < tab_count_same_width; tab_n++)
6060 width_excess -= width_to_remove_per_tab * tab_count_same_width;
[all...]

Completed in 23 milliseconds