Searched refs:width_sort_buffer (Results 1 – 1 of 1) sorted by relevance
6013 ImVector<ImGuiTabBarSortItem>& width_sort_buffer = g.TabSortByWidthBuffer; in TabBarLayout() local6014 width_sort_buffer.resize(tab_bar->Tabs.Size); in TabBarLayout()6039 width_sort_buffer[tab_n].Index = tab_n; in TabBarLayout()6040 width_sort_buffer[tab_n].Width = tab->WidthContents; in TabBarLayout()6050 …ImQsort(width_sort_buffer.Data, (size_t)width_sort_buffer.Size, sizeof(ImGuiTabBarSortItem), TabBa… in TabBarLayout()6054 …while (tab_count_same_width < tab_bar->Tabs.Size && width_sort_buffer[0].Width == width_sort_buffe… in TabBarLayout()6056 …th < tab_bar->Tabs.Size) ? (width_sort_buffer[0].Width - width_sort_buffer[tab_count_same_width].W… in TabBarLayout()6059 width_sort_buffer[tab_n].Width -= width_to_remove_per_tab; in TabBarLayout()6063 … tab_bar->Tabs[width_sort_buffer[tab_n].Index].Width = (float)(int)width_sort_buffer[tab_n].Width; in TabBarLayout()