void MessageWnd::SizeMove(const GG::Pt& ul, const GG::Pt& lr) { const GG::Pt old_size = Size(); CUIWnd::SizeMove(ul, lr); if (old_size != Size()) RequirePreRender(); }
void ResourcePanel::Refresh() { for (auto& meter_stat : m_meter_stats) meter_stat.second->RequirePreRender(); RequirePreRender(); }
void ResourcePanel::ExpandCollapse(bool expanded) { if (expanded == s_expanded_map[m_rescenter_id]) return; // nothing to do s_expanded_map[m_rescenter_id] = expanded; RequirePreRender(); }
void PopulationPanel::Refresh() { for (auto& meter_stat : m_meter_stats) meter_stat.second->RequirePreRender(); RequirePreRender(); }