]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcscreen.h
Rewrote scaling code for GNOME print backend. The inverted Y axis is now handled...
[wxWidgets.git] / include / wx / gtk / dcscreen.h
index b53d12c8a8e38ffd9916590d932a9028f8c23a8b..0f8259717f097dce48f0e18079931ca5fc7e2aeb 100644 (file)
 // classes
 //-----------------------------------------------------------------------------
 
-class wxScreenDC;
+class WXDLLIMPEXP_FWD_CORE wxScreenDC;
 
 //-----------------------------------------------------------------------------
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
-class wxScreenDC: public wxPaintDC
+class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC
 {
-  DECLARE_DYNAMIC_CLASS(wxScreenDC)
-
 public:
-  wxScreenDC();
-  ~wxScreenDC();
+    wxScreenDC();
+    virtual ~wxScreenDC();
+
+    static bool StartDrawingOnTop( wxWindow *window );
+    static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
+    static bool EndDrawingOnTop();
+
+    // implementation
 
-  static bool StartDrawingOnTop( wxWindow *window );
-  static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
-  static bool EndDrawingOnTop();
+    static GdkWindow  *sm_overlayWindow;
+    static int         sm_overlayWindowX;
+    static int         sm_overlayWindowY;
 
-  // implementation
+protected:
+    virtual void DoGetSize(int *width, int *height) const;
 
-  static GdkWindow  *sm_overlayWindow;
-  static int         sm_overlayWindowX;
-  static int         sm_overlayWindowY;
+private:
+    DECLARE_DYNAMIC_CLASS(wxScreenDC)
 };
 
 #endif