Home
last modified time | relevance | path

Searched refs:next_line_width (Results 1 – 1 of 1) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Controls/
H A DWidgetTextInput.cpp614 …float next_line_width = (float) Core::ElementUtilities::GetStringWidth(text_element, lines[line_in… in CalculateCharacterIndex() local
615 if (next_line_width > position) in CalculateCharacterIndex()
617 if (position - line_width < next_line_width - position) in CalculateCharacterIndex()
623 line_width = next_line_width; in CalculateCharacterIndex()