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

Method GetActiveField

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

Source from the content-addressed store, hash-verified

204}
205
206const HTMLField* CHTMLContainer::GetActiveField() const
207{
208 if (_activeField < 0)
209 {
210 return nullptr;
211 }
212 if (_sections.Size() <= 0)
213 {
214 return nullptr;
215 }
216 const HTMLSection& section = _sections[_currentSection];
217 return &section.fields[_activeField];
218}
219
220void CHTMLContainer::Init()
221{

Callers 1

OnDrawMethod · 0.80

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected