]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GScreen.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GScreen.h
index 340735d3f46ffda09ce0cc914100533dc18cc1e9..d6551385c2fbfc0b308966f26ed27be9f75eb6e4 100644 (file)
 
 #include "screen.h"
 
+#include <gtkmm.h>
+
+namespace lyx {
+namespace frontend {
+
 class GWorkArea;
 
 /** The class GScreen is used for the main Textbody.
@@ -34,16 +39,13 @@ public:
        ///
        virtual void removeCursor();
        ///
-       virtual void showCursor(int x, int y, int h,
-                               Cursor_Shape shape);
-
+       virtual void showCursor(int x, int y, int h, Cursor_Shape shape);
 protected:
        /// get the work area
-       virtual WorkArea & workarea() const { return owner_; }
+       virtual WorkArea & workarea() const;
 
        /// Copies specified area of pixmap to screen
        virtual void expose(int x, int y, int w, int h);
-
 private:
        /// our owning widget
        GWorkArea & owner_;
@@ -60,4 +62,7 @@ private:
        int cursorH_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif