MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetTotalLineHeight

Method GetTotalLineHeight

libraries/ZWidget/src/widgets/textedit/textedit.cpp:625–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625double TextEdit::GetTotalLineHeight()
626{
627 double total = 0;
628 for (std::vector<Line>::const_iterator iter = lines.begin(); iter != lines.end(); iter++)
629 {
630 total += iter->layout.GetSize().height;
631 }
632 return total;
633}
634
635void TextEdit::Move(int steps, bool shift, bool ctrl)
636{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected