MCPcopy Create free account
hub / github.com/ddnet/ddnet / DoLabel_AutoLineSize

Method DoLabel_AutoLineSize

src/game/client/ui.cpp:896–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894}
895
896CLabelResult CUi::DoLabel_AutoLineSize(const char *pText, float FontSize, int Align, CUIRect *pRect, float LineSize, const SLabelProperties &LabelProps) const
897{
898 CUIRect LabelRect;
899 pRect->HSplitTop(LineSize, &LabelRect, pRect);
900
901 return DoLabel(&LabelRect, pText, FontSize, Align);
902}
903
904bool CUi::DoEditBox(CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners, const std::vector<STextColorSplit> &vColorSplits)
905{

Callers 1

Calls 1

HSplitTopMethod · 0.80

Tested by

no test coverage detected