X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FQLPainter.h;h=d86f3fa42985e090235c1a6c913aa3666a214c9a;hb=5008ee540f84715cd10e87f3fa0cd5dc7b974784;hp=5a5c72d814d950305adf5e8a09432d5e4cfc19cc;hpb=06baeac0646a2d63145ff3b18a3180ca69c6b288;p=features.git diff --git a/src/frontends/qt4/QLPainter.h b/src/frontends/qt4/QLPainter.h index 5a5c72d814..d86f3fa429 100644 --- a/src/frontends/qt4/QLPainter.h +++ b/src/frontends/qt4/QLPainter.h @@ -15,7 +15,7 @@ #include "frontends/Painter.h" -#include "LColor.h" +#include "Color.h" #include @@ -39,7 +39,7 @@ public: virtual void line( int x1, int y1, int x2, int y2, - LColor_color, + Color_color, line_style = line_solid, line_width = line_thin); @@ -53,7 +53,7 @@ public: int const * xp, int const * yp, int np, - LColor_color, + Color_color, line_style = line_solid, line_width = line_thin); @@ -61,7 +61,7 @@ public: virtual void rectangle( int x, int y, int w, int h, - LColor_color, + Color_color, line_style = line_solid, line_width = line_thin); @@ -69,19 +69,19 @@ public: virtual void fillRectangle( int x, int y, int w, int h, - LColor_color); + Color_color); /// draw an arc virtual void arc( int x, int y, unsigned int w, unsigned int h, int a1, int a2, - LColor_color); + Color_color); /// draw a pixel virtual void point( int x, int y, - LColor_color); + Color_color); /// draw an image from the image cache virtual void image(int x, int y, @@ -104,11 +104,11 @@ private: QString const & str, LyXFont const & f); /// set pen parameters - void setQPainterPen(LColor_color col, + void setQPainterPen(Color_color col, line_style ls = line_solid, line_width lw = line_thin); - LColor::color current_color_; + Color::color current_color_; Painter::line_style current_ls_; Painter::line_width current_lw_; };