]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Painter.h
namespace grfx -> lyx::graphics
[lyx.git] / src / frontends / Painter.h
index eb00a3e195c4ad6bf615a20476797d59e5ddb77b..9a143aa104fe2192371d839fa119c39eb74b65d7 100644 (file)
 #ifndef PAINTER_H
 #define PAINTER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "LString.h"
 #include "LColor.h"
 
 class LyXFont;
 
-namespace grfx {
+namespace lyx {
+namespace graphics {
        class Image;
 }
+}
+
 
 /**
  * Painter - A painter class to encapsulate all graphics parameters and operations
@@ -135,7 +135,7 @@ public:
        /// draw an image from the image cache
        virtual Painter & image(int x, int y,
                int w, int h,
-               grfx::Image const & image) = 0;
+               lyx::graphics::Image const & image) = 0;
 
        /// draw a string at position x, y (y is the baseline)
        virtual Painter & text(int x, int y,