sources/coloredline.cpp

changeset 69
eb4c25284a19
parent 63
0da5f358f298
child 73
07dda51a7a8e
--- a/sources/coloredline.cpp	Tue Dec 16 23:50:56 2014 +0200
+++ b/sources/coloredline.cpp	Mon May 04 15:51:03 2015 +0300
@@ -63,8 +63,7 @@
 
 // -------------------------------------------------------------------------------------------------
 //
-METHOD
-ColoredLine::finalize() -> void
+void ColoredLine::finalize()
 {
 	if (m_activeColor != DEFAULT)
 		set_color (m_activeColor, false);
@@ -77,8 +76,7 @@
 
 // -------------------------------------------------------------------------------------------------
 //
-METHOD
-ColoredLine::add_char (char ch) -> void
+void ColoredLine::add_char (char ch)
 {
 	if (m_final)
 		return; // Don't touch finalized lines.
@@ -127,8 +125,7 @@
 
 // -------------------------------------------------------------------------------------------------
 //
-METHOD
-ColoredLine::set_color (Color a, bool on) -> void
+void ColoredLine::set_color (Color a, bool on)
 {
 	switch (a)
 	{
@@ -148,8 +145,7 @@
 // -------------------------------------------------------------------------------------------------
 // How many rows does this line take up?
 //
-METHOD
-ColoredLine::rows (int cols) const -> int
+int ColoredLine::rows (int cols) const
 {
 	int rows = length() / cols;
 

mercurial