| 18 | CMapSpot::~CMapSpot() {} |
| 19 | |
| 20 | void CMapSpot::Load(CUIXml* xml, LPCSTR path) |
| 21 | { |
| 22 | CUIXmlInit::InitStatic(*xml, path, 0, this); |
| 23 | int i = xml->ReadAttribInt(path, 0, "scale", 0); |
| 24 | m_bScale = (i == 1); |
| 25 | |
| 26 | SetWidth(GetWidth() * UI()->get_current_kx()); |
| 27 | SetStretchTexture(true); |
| 28 | |
| 29 | m_originSize = GetWndSize(); |
| 30 | } |
| 31 | |
| 32 | LPCSTR CMapSpot::GetHint() { return MapLocation()->GetHint(); } |
| 33 |
nothing calls this directly
no test coverage detected