diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-02 00:52:36 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-02 00:52:36 +1000 |
commit | 17af21fd421429b7a64c93c8b09e3f9ea436069a (patch) | |
tree | 165732dde2360fc56b9b08a1a25355b95575c132 /source/rendering/StarTextPainter.hpp | |
parent | 210d6326fcbc87ad69e8a18fa60554d223739b7c (diff) |
use raw wrapWidth ptr instead of Maybe
Diffstat (limited to 'source/rendering/StarTextPainter.hpp')
-rw-r--r-- | source/rendering/StarTextPainter.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rendering/StarTextPainter.hpp b/source/rendering/StarTextPainter.hpp index 8535a09..1a0b1d9 100644 --- a/source/rendering/StarTextPainter.hpp +++ b/source/rendering/StarTextPainter.hpp @@ -68,7 +68,7 @@ public: typedef function<bool(StringView, int)> WrapTextCallback; - bool processWrapText(StringView s, Maybe<unsigned> wrapWidth, WrapTextCallback textFunc); + bool processWrapText(StringView s, unsigned* wrapWidth, WrapTextCallback textFunc); List<StringView> wrapTextViews(StringView s, Maybe<unsigned> wrapWidth); StringList wrapText(StringView s, Maybe<unsigned> wrapWidth); |