MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / AddName

Method AddName

engine/Poseidon/UI/Controls/UIControlsExt.cpp:460–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 else
459 {
460 fld.width = (w > 0 ? w : h) * (1.0 / 640.0);
461 fld.height = (h > 0 ? h : w) * (1.0 / 480.0);
462 saturateMax(fld.width, 0);
463 saturateMax(fld.height, 0);
464 }
465 return &fld;
466}
467
468void CHTMLContainer::AddName(int section, RString name)
469{
470 if (section < 0 || section >= _sections.Size())
471 {
472 return;

Callers 7

CreateDebriefingMethod · 0.80
ReloadBriefingContentMethod · 0.80
CreateWeaponsPageMethod · 0.80
CreateWeaponsPoolPageMethod · 0.80
UpdateUnitsInBriefingMethod · 0.80
UpdatePlanMethod · 0.80
OnSimulateMethod · 0.80

Calls 2

SizeMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected