sources/coloredline.h

changeset 143
b9993733952a
parent 142
b4f89893c702
child 150
37db42ad451a
child 183
9b6a0daedfc0
equal deleted inserted replaced
142:b4f89893c702 143:b9993733952a
66 public: 66 public:
67 ColoredLine(); 67 ColoredLine();
68 68
69 const Vector<int>& data() const { return m_data; } 69 const Vector<int>& data() const { return m_data; }
70 int length() const { return m_length; } 70 int length() const { return m_length; }
71 void add_char(char ch); 71 void addChar(char ch);
72 void add_string(const String& msg); 72 void addString(const String& msg);
73 void finalize(); 73 void finalize();
74 int rows(int cols) const; 74 int rows(int cols) const;
75 75
76 private: 76 private:
77 void activate_color(Color color, bool bold); 77 void activateColor(Color color, bool bold);
78 void set_color(Color a, bool on); 78 void setColor(Color a, bool on);
79 79
80 Vector<int> m_data; 80 Vector<int> m_data;
81 int m_length; 81 int m_length;
82 bool m_final; 82 bool m_final;
83 Color m_activeColor; 83 Color m_activeColor;

mercurial