63 ColoredLine() {} |
63 ColoredLine() {} |
64 |
64 |
65 const Vector<int>& data() const { return m_data; } |
65 const Vector<int>& data() const { return m_data; } |
66 int length() const { return m_length; } |
66 int length() const { return m_length; } |
67 void add_char (char ch); |
67 void add_char (char ch); |
|
68 void add_string (const String& msg); |
68 void finalize(); |
69 void finalize(); |
69 int rows (int cols) const; |
70 int rows (int cols) const; |
70 |
71 |
71 private: |
72 private: |
72 void set_color (Color a, bool on); |
73 void set_color (Color a, bool on); |