Searched refs:queue_lb (Results 1 – 2 of 2) sorted by relevance
1085 ProdQueueListBox* queue_lb = m_queue_wnd->GetQueueListBox(); in UpdateQueue() local1089 int initial_offset_from_begin = queue_lb->IteraterIndex(queue_lb->FirstRowShown()); in UpdateQueue()1094 initial_offset_to_end = std::distance(queue_lb->FirstRowShown(), queue_lb->end()); in UpdateQueue()1095 bool initial_last_visible_row_is_end(queue_lb->LastVisibleRow() == queue_lb->end()); in UpdateQueue()1097 queue_lb->Clear(); in UpdateQueue()1114 queue_lb->Insert(row); in UpdateQueue()1121 queue_lb->SetFirstRowShown(queue_lb->begin()); in UpdateQueue()1125 queue_lb->SetFirstRowShown(std::next(queue_lb->begin(), initial_offset_from_begin)); in UpdateQueue()1129 else if (initial_offset_to_end < static_cast<int>(queue_lb->NumRows())) in UpdateQueue()1130 …queue_lb->SetFirstRowShown(std::next(queue_lb->begin(), queue_lb->NumRows() - initial_offset_to_en… in UpdateQueue()[all …]
591 QueueListBox* queue_lb = m_queue_wnd->GetQueueListBox(); in UpdateQueue() local592 …auto first_visible_queue_row = m_queue_wnd->GetQueueListBox()->IteraterIndex(queue_lb->FirstRowSho… in UpdateQueue()595 queue_lb->Clear(); in UpdateQueue()602 auto row = GG::Wnd::Create<QueueRow>(queue_lb->RowWidth(), elem); in UpdateQueue()603 queue_lb->Insert(row); in UpdateQueue()606 if (!queue_lb->Empty()) in UpdateQueue()607 queue_lb->BringRowIntoView(--queue_lb->end()); in UpdateQueue()608 if (first_visible_queue_row < static_cast<int>(queue_lb->NumRows())) in UpdateQueue()609 queue_lb->BringRowIntoView(std::next(queue_lb->begin(), first_visible_queue_row)); in UpdateQueue()