sources/coloredline.h

branch
protocol5
changeset 150
37db42ad451a
parent 133
4d8fa5394d67
parent 143
b9993733952a
child 195
be953e1621d9
--- a/sources/coloredline.h	Wed Jul 20 15:03:37 2016 +0300
+++ b/sources/coloredline.h	Wed Jul 20 17:56:40 2016 +0300
@@ -20,10 +20,10 @@
 	TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 	PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
 	OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-	EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+	EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO,
 	PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 	PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-	LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+	LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING
 	NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 	SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
@@ -32,7 +32,7 @@
 #include "main.h"
 BEGIN_ZFC_NAMESPACE
 
-// The order of these colors appears to differ between curses distributions (PDCurses and its
+// The order of these colors appears to differ between curses distributions(PDCurses and its
 // win32a for instance have blue and red swapped). So we need to explicitly define the values
 // of the enumerators based on their curses values.
 enum Color
@@ -68,14 +68,14 @@
 
 	const Vector<int>& data() const { return m_data; }
 	int length() const { return m_length; }
-	void add_char (char ch);
-	void add_string (const String& msg);
+	void addChar(char ch);
+	void addString(const String& msg);
 	void finalize();
-	int rows (int cols) const;
+	int rows(int cols) const;
 
 private:
-	void activate_color (Color color, bool bold);
-	void set_color (Color a, bool on);
+	void activateColor(Color color, bool bold);
+	void setColor(Color a, bool on);
 
 	Vector<int> m_data;
 	int m_length;

mercurial