Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/rendering/StarTextPainter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/rendering/StarTextPainter.hpp')
-rw-r--r--source/rendering/StarTextPainter.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rendering/StarTextPainter.hpp b/source/rendering/StarTextPainter.hpp
index 0da4904..f1bd194 100644
--- a/source/rendering/StarTextPainter.hpp
+++ b/source/rendering/StarTextPainter.hpp
@@ -67,8 +67,8 @@ public:
int stringWidth(StringView s);
- typedef function<bool(StringView text, int line)> WrapTextCallback;
- typedef function<bool(StringView command)> WrapCommandsCallback;
+ typedef function<bool(StringView, int)> WrapTextCallback;
+ typedef function<bool(StringView, int)> WrapCommandsCallback;
void processWrapText(StringView s, Maybe<unsigned> wrapWidth, WrapTextCallback textFunc, WrapCommandsCallback commandFunc = WrapCommandsCallback(), bool includeCommandSides = false);
List<StringView> wrapTextViews(StringView s, Maybe<unsigned> wrapWidth);