*
* \author Huang Ying
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef GSCREEN_H
#include "screen.h"
+#include <gtkmm.h>
+
+namespace lyx {
+namespace frontend {
+
class GWorkArea;
/** The class GScreen is used for the main Textbody.
///
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_;
int cursorH_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif