]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.h
* gcc does not like missing characters in keywords
[lyx.git] / src / rowpainter.h
index 7304cd8f1961be6a0594c402ba5360585319de06..14fe013ebb575817307064809a2185c938a4d73d 100644 (file)
@@ -21,7 +21,9 @@ namespace lyx {
 class Bidi;
 class BufferView;
 class Font;
+class FontInfo;
 class Inset;
+class Language;
 class PainterInfo;
 class Paragraph;
 class ParagraphList;
@@ -54,10 +56,10 @@ public:
        void paintOnlyInsets();
 
 private:
-       void paintForeignMark(double orig_x, Font const & font, int desc = 0);
-       void paintHebrewComposeChar(pos_type & vpos, Font const & font);
-       void paintArabicComposeChar(pos_type & vpos, Font const & font);
-       void paintChars(pos_type & vpos, Font const & font,
+       void paintForeignMark(double orig_x, Language const * lang, int desc = 0);
+       void paintHebrewComposeChar(pos_type & vpos, FontInfo const & font);
+       void paintArabicComposeChar(pos_type & vpos, FontInfo const & font);
+       void paintChars(pos_type & vpos, FontInfo const & font,
                        bool hebrew, bool arabic);
        int paintAppendixStart(int y);
        void paintFromPos(pos_type & vpos);
@@ -68,7 +70,7 @@ private:
        int leftMargin() const;
 
        /// return the label font for this row
-       Font const getLabelFont() const;
+       FontInfo const getLabelFont() const;
 
        /// contains painting related information.
        PainterInfo & pi_;