]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/textpainter.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / textpainter.C
index 5f464b57548ca34a7ffebd0d4310af63d6b59943..35ca092c5e52f445f9a1b5d3482225871f1f69cc 100644 (file)
@@ -1,8 +1,4 @@
 
-#ifdef __GNUG__
-#pragma implementation 
-#endif
-
 #include "textpainter.h"
 #include "support/LOstream.h"
 
@@ -26,7 +22,7 @@ char TextPainter::at(int x, int y) const
 
 void TextPainter::draw(int x, int y, char const * str)
 {
-       //cerr << "drawing string '" << str << "' at " << x << "," << y << "\n";
+       //cerr << "drawing string '" << str << "' at " << x << ',' << y << endl;
        for (int i = 0; *str && x + i < xmax_; ++i, ++str)
                at(x + i, y) = *str;
        //show();
@@ -49,7 +45,7 @@ void TextPainter::verticalLine(int x, int y, int n, char c)
 
 void TextPainter::draw(int x, int y, char c)
 {
-       //cerr << "drawing char '" << c << "' at " << x << "," << y << "\n";
+       //cerr << "drawing char '" << c << "' at " << x << ',' << y << endl;
        at(x, y) = c;
        //show();
 }
@@ -60,7 +56,7 @@ void TextPainter::show(std::ostream & os, int offset) const
        os << '\n';
        for (int j = 0; j <= ymax_; ++j) {
                for (int i = 0; i < offset; ++i)
-                       os << ' ';      
+                       os << ' ';
                for (int i = 0; i < xmax_; ++i)
                        os << at(i, j);
                os << '\n';