mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-01 05:06:27 +00:00
d403d750f0
Avoid color copies for rendering Draw calls in GUIRenderer::UpdateDrawCallCache, CButton::Draw, CChart::DrawAxes, CDropDown::Draw, CList::DrawList, COList::DrawList, refs #1984,8f4f8e240f,3028551b91,a905fbbc98. Avoid color copies during XML loading in CGUI::Xeromyces_ReadImage, CGUI::Xeromyces_ReadEffects, COList::HandleAdditionalChildren. Add CGUI::HasPreDefinedColor and mark m_PreDefinedColors, CGUI::GetPreDefinedColor, IGUIButtonBehavior::ChooseColor() as const for consistency with the other "databases", refs3028551b91. Mark CGUIColor as NONCOPYABLE to add compiler errors if there is an unexplicit copy, refs3028551b91. Explicit ugly copy in CGUI::Xeromyces_ReadColor and CGUIColor::ParseString. Deregister copying <CGUIColor>GetSetting functions, refs8f4f8e240f. Uses the const ref GetSetting from3dfa23cd25. This was SVN commit r22694.