]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.h
Provide proper fallback if a bibliography processor is not found
[lyx.git] / src / RowPainter.h
index 05ab57c51bc3d81b839eaff15d82fb9e00f8c967..dc43eaa4ad7e8f185c2128934ba8b2118142e106 100644 (file)
@@ -29,7 +29,6 @@ class Language;
 class PainterInfo;
 class Paragraph;
 class ParagraphList;
-class ParagraphMetrics;
 class Text;
 class TextMetrics;
 
@@ -60,6 +59,7 @@ public:
 private:
        void paintForeignMark(Row::Element const & e) const;
        void paintStringAndSel(Row::Element const & e) const;
+       void paintTextDecoration(Row::Element const & e) const;
        void paintMisspelledMark(Row::Element const & e) const;
        void paintChange(Row::Element const & e) const;
        void paintAppendixStart(int y) const;
@@ -79,7 +79,7 @@ private:
 
        /// Text for the row
        Text const & text_;
-       TextMetrics const & text_metrics_;
+       TextMetrics const & tm_;
        ParagraphList const & pars_;
 
        /// The row to paint
@@ -87,7 +87,6 @@ private:
 
        /// Row's paragraph
        Paragraph const & par_;
-       ParagraphMetrics const & pm_;
 
        /// row changed? (change tracking)
        Change const change_;
@@ -96,10 +95,6 @@ private:
        double const xo_;
        int const yo_;    // current baseline
        double x_;
-       int width_;
-       int solid_line_thickness_;
-       int solid_line_offset_;
-       int dotted_line_thickness_;
 };
 
 } // namespace lyx