sources/coloredline.cpp

branch
protocol5
changeset 133
4d8fa5394d67
parent 131
4996c8684b93
parent 132
8a4690db252e
child 134
644935ff6bc1
--- a/sources/coloredline.cpp	Wed Jul 20 12:55:39 2016 +0300
+++ b/sources/coloredline.cpp	Wed Jul 20 13:20:32 2016 +0300
@@ -184,6 +184,14 @@
 
 // -------------------------------------------------------------------------------------------------
 //
+void ColoredLine::add_string (const String& text)
+{
+	for (char a : text)
+		add_char (a);
+}
+
+// -------------------------------------------------------------------------------------------------
+//
 void ColoredLine::set_color (Color a, bool on)
 {
 	assert (a < 8);

mercurial