X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FTextPainter.h;h=093e85b1ae294514e08b6fe2e7f10f4a80f76da2;hb=988f372843941436021a45c5d8848c514f23887c;hp=261500d55007137181dacdf0cce3c7fb65ef156d;hpb=3a32fff90ea676e86b20666c1e4c6f7c2d6b892a;p=lyx.git diff --git a/src/mathed/TextPainter.h b/src/mathed/TextPainter.h index 261500d550..093e85b1ae 100644 --- a/src/mathed/TextPainter.h +++ b/src/mathed/TextPainter.h @@ -17,6 +17,9 @@ #include + +namespace lyx { + // FIXME: Abdel 16/10/2006 // This TextPainter class is never used, this is dead code. /* Georg explanation of current situation: @@ -32,25 +35,25 @@ class TextPainter { /// TextPainter(int xmax, int ymax); /// - void draw(int x, int y, char const * str); + void draw(int x, int y, char_type const * str); /// - void draw(int x, int y, char c); + void draw(int x, int y, char_type c); /// - void show(lyx::odocstream & os, int offset = 0) const; + void show(odocstream & os, int offset = 0) const; /// int textheight() const { return ymax_; } /// - void horizontalLine(int x, int y, int len, char c = '-'); + void horizontalLine(int x, int y, int len, char_type c = '-'); /// - void verticalLine(int x, int y, int len, char c = '|'); + void verticalLine(int x, int y, int len, char_type c = '|'); private: /// - typedef std::vector data_type; + typedef std::vector data_type; /// - char at(int x, int y) const; + char_type at(int x, int y) const; /// - char & at(int x, int y); + char_type & at(int x, int y); /// xsize of the painter area int xmax_; @@ -60,4 +63,7 @@ class TextPainter { data_type data_; }; + +} // namespace lyx + #endif