]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPainter.h
Fix drawing with pixmap cache
[lyx.git] / src / frontends / qt4 / GuiPainter.h
index 5538d14fe4faa84c43f63593f989905de32aeddb..eadf9851669141a6c7a677f13c76afc71c661cad 100644 (file)
@@ -147,7 +147,7 @@ public:
 private:
        /// check the font, and if set, draw an underline
        void underline(FontInfo const & f,
-               int x, int y, int width);
+                      int x, int y, int width, line_style ls = line_solid);
 
        /// check the font, and if set, draw an dashed underline
        void dashedUnderline(FontInfo const & f,
@@ -168,6 +168,9 @@ private:
        void setQPainterPen(QColor const & col,
                line_style ls = line_solid, int lw = thin_line);
 
+       // Helper for text() method
+       void do_drawText(int x, int y, QString str, bool rtl, FontInfo const & f, QFont ff);
+
        QColor current_color_;
        Painter::line_style current_ls_;
        int current_lw_;