]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/textpainter.h
Ensure all #warning statements are wrapped by #ifdef WITH_WARNINGS.
[lyx.git] / src / mathed / textpainter.h
index 702d573cfa807a2f09cc202cb63ad3675dffde71..3ae9ab3f5e09882c0b1071aa4b68e9ef3c669112 100644 (file)
@@ -1,6 +1,18 @@
+// -*- C++ -*-
+/**
+ * \file textpainter.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef TEXTPAINTER_H
 #define TEXTPAINTER_H
 
+
 #include <vector>
 #include <iosfwd>
 
@@ -13,7 +25,7 @@ class TextPainter {
                ///
                void draw(int x, int y, char c);
                ///
-               void show(std::ostream & os) const;
+               void show(std::ostream & os, int offset = 0) const;
                ///
                int textheight() const { return ymax_; }
                ///