sources/coloredline.cpp

branch
protocol5
changeset 78
c1d43ade656e
parent 73
07dda51a7a8e
child 106
7b156b764d11
--- a/sources/coloredline.cpp	Fri May 15 21:43:21 2015 +0300
+++ b/sources/coloredline.cpp	Fri May 15 22:46:53 2015 +0300
@@ -125,6 +125,14 @@
 
 // -------------------------------------------------------------------------------------------------
 //
+void ColoredLine::add_string (const String& text)
+{
+	for (char a : text)
+		add_char (a);
+}
+
+// -------------------------------------------------------------------------------------------------
+//
 void ColoredLine::set_color (Color a, bool on)
 {
 	switch (a)

mercurial