From 6da71b830ead4b7ecb9a71e05dcd50c4abd3aa4f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 9 Apr 2022 00:48:44 +0200 Subject: Proper reaction wrapping --- src/Text.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Text.cpp') diff --git a/src/Text.cpp b/src/Text.cpp index 383256a..04d0d11 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -898,6 +898,10 @@ namespace QuickMedia } return num_vertices; } + + int Text::getNumLines() const { + return num_lines; + } // TODO: This can be optimized by using binary search int Text::getPreviousLineClosestPosition(int startIndex) const -- cgit v1.2.3