sources/coloredline.h

changeset 88
08ccaf26cffd
parent 73
07dda51a7a8e
child 89
777b2a10b835
--- a/sources/coloredline.h	Thu Jul 23 00:16:47 2015 +0300
+++ b/sources/coloredline.h	Thu Jul 23 01:52:04 2015 +0300
@@ -30,6 +30,7 @@
 
 #pragma once
 #include "main.h"
+BEGIN_ZFC_NAMESPACE
 
 // -------------------------------------------------------------------------------------------------
 //
@@ -60,7 +61,7 @@
 class ColoredLine
 {
 public:
-	ColoredLine() {}
+	ColoredLine();
 
 	const Vector<int>& data() const { return m_data; }
 	int length() const { return m_length; }
@@ -72,10 +73,12 @@
 	void set_color (Color a, bool on);
 
 	Vector<int> m_data;
-	int m_length = 0;
-	bool m_final = false;
-	Color m_activeColor = DEFAULT;
-	bool m_boldActive = false;
-	int m_colorCodeStage = 0;
+	int m_length;
+	bool m_final;
+	Color m_activeColor;
+	bool m_boldActive;
+	int m_colorCodeStage;
 	String m_string;
 };
+
+END_ZFC_NAMESPACE

mercurial