MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / DrawText

Method DrawText

ogsr_engine/xrGame/ui/UIMap.cpp:283–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void CUIGlobalMap::DrawText()
284{
285 inherited::DrawText();
286
287 // что б не копировать весь код Draw будем рендерить метки тут.
288 // это нужно что б правильно применять clipper
289 for (auto& it : m_ChildWndList)
290 {
291 CUICustomMap* m = smart_cast<CUICustomMap*>(it);
292 if (!m)
293 continue;
294
295 for (auto& ms : m->GetChildWndList())
296 {
297 ms->Draw();
298 }
299 }
300}
301
302void CUIGlobalMap::ClipByVisRect()
303{

Callers 1

DrawMethod · 0.45

Calls 1

DrawMethod · 0.45

Tested by

no test coverage detected