]> git.lyx.org Git - features.git/commitdiff
small cleanup while looking for a bug.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 30 Oct 2006 14:15:05 +0000 (14:15 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 30 Oct 2006 14:15:05 +0000 (14:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15622 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/Painter.h
src/frontends/qt4/QLPainter.h

index 6badb61439038449ecb7a70e5f6541aa75a28b41..da59eee1f122cfada926c696420c1d558030daf5 100644 (file)
 #ifndef PAINTER_H
 #define PAINTER_H
 
-#include "LColor.h"
-
 #include "support/docstring.h"
 
-
 namespace lyx {
 
+class LColor_color;
 class LyXFont;
 
 namespace graphics { class Image; }
@@ -63,12 +61,6 @@ public:
 
        virtual ~Painter() {}
 
-       /// begin painting
-       //virtual void start() {}
-
-       /// end painting
-       ////virtual void end() {}
-
        /// draw a line from point to point
        virtual void line(
                int x1, int y1,
index 5403dd6a711ff8c22d61b688e28b838e2bb78e44..20dcfe42a1eb9e839b3a2d307dd0538750991c83 100644 (file)
@@ -13,7 +13,9 @@
 #ifndef QLPAINTER_H
 #define QLPAINTER_H
 
-#include "Painter.h"
+#include "frontends/Painter.h"
+
+#include "LColor.h"
 
 #include <QPainter>