diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-04-09 00:48:44 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-04-09 00:48:44 +0200 |
commit | 6da71b830ead4b7ecb9a71e05dcd50c4abd3aa4f (patch) | |
tree | 474cb858eb9f12ff584c2cfd966907d5bd9f9cf7 /src/Text.cpp | |
parent | 110296e210e7de15c6a219b25d935feb9069131e (diff) |
Proper reaction wrapping
Diffstat (limited to 'src/Text.cpp')
-rw-r--r-- | src/Text.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |