void PreviewWindow::SetToDraw(vector<PathPartSimple>& p) { toDraw = p; ClearTrajectory(); SetMaxZoom(); Refresh(); }
void CUIGlobalMap::Init (shared_str name, CInifile& gameLtx, LPCSTR sh_name) { inherited::Init (name, gameLtx, sh_name); SetMaxZoom (gameLtx.r_float(m_name,"max_zoom")); }
void PreviewWindow::DrawDataFinished() { Reset(); SetMaxZoom(); Refresh(); }