]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GPainter.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GPainter.h
index 3e754ea5697bd59a53df752d8f533d5342394779..1874f5f464edb62cece1b352f26fed0064a780f5 100644 (file)
 
 #include "frontends/Painter.h"
 
+#include <gtkmm.h>
+
 #include <X11/Xft/Xft.h>
 
 #include <map>
 
 class LyXFont;
+
+namespace lyx {
+namespace frontend {
+
 class GWorkArea;
 
 /**
@@ -95,7 +101,7 @@ public:
        /// draw an image from the image cache
        virtual void image(int x, int y,
                int w, int h,
-               lyx::graphics::Image const & image);
+               graphics::Image const & image);
 
        /// draw a string at position x, y (y is the baseline)
        virtual void text(int x, int y,
@@ -108,7 +114,7 @@ public:
                char const * str, size_t l,
                LyXFont const & f);
 
-        virtual void text(int x, int y, wchar_t const * str, int l,
+       virtual void text(int x, int y, wchar_t const * str, int l,
                               LyXFont const & f);
 
        /// draw a char at position x, y (y is the baseline)
@@ -125,4 +131,7 @@ private:
        GWorkArea & owner_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // XPAINTER_H