]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/TextPainter.h
This commit saves the need to check for lyx::use_gui in a number of places.
[lyx.git] / src / mathed / TextPainter.h
index d9da7234bcefd1d911ac72a73a8ba0f6c6b44dd7..6f02fd57e07a8985991755a44f01aa8633e353d4 100644 (file)
@@ -13,8 +13,9 @@
 #define TEXTPAINTER_H
 
 
+#include "support/docstream.h"
+
 #include <vector>
-#include <iosfwd>
 
 class TextPainter {
        public:
@@ -25,7 +26,7 @@ class TextPainter {
                ///
                void draw(int x, int y, char c);
                ///
-               void show(std::ostream & os, int offset = 0) const;
+               void show(lyx::odocstream & os, int offset = 0) const;
                ///
                int textheight() const { return ymax_; }
                ///