]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.h
add stripped down zlib 1.2.8
[lyx.git] / src / RowPainter.h
index f559eeb223a214a245746e5c45b5a38f68f665ea..a4120e6dfd81f38eaf65621cab5fc1d320d22b44 100644 (file)
@@ -15,6 +15,7 @@
 #define ROWPAINTER_H
 
 #include "Changes.h"
+#include "Row.h"
 
 #include "support/types.h"
 
@@ -29,7 +30,6 @@ class PainterInfo;
 class Paragraph;
 class ParagraphList;
 class ParagraphMetrics;
-class Row;
 class Text;
 class TextMetrics;
 
@@ -60,14 +60,10 @@ public:
 private:
        void paintSeparator(double width, Font const & font);
        void paintForeignMark(double orig_x, Language const * lang, int desc = 0) const;
-       void paintStringAndSel(docstring const & str, Font const & font,
-                         Change const & change,
-                         pos_type start_pos, pos_type end_pos);
-       void paintMisspelledMark(double orig_x,
-                                docstring const & str, Font const & font,
-                                pos_type pos, bool changed) const;
+       void paintStringAndSel(Row::Element const & e);
+       void paintMisspelledMark(double orig_x, Row::Element const & e) const;
        void paintChange(double orig_x , Font const & font, Change const & change) const;
-       int paintAppendixStart(int y) const;
+       void paintAppendixStart(int y) const;
        void paintInset(Inset const * inset, Font const & font,
                     Change const & change, pos_type const pos);
 
@@ -107,7 +103,6 @@ private:
        int solid_line_thickness_;
        int solid_line_offset_;
        int dotted_line_thickness_;
-       int dotted_line_offset_;
 };
 
 } // namespace lyx