]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/region.h
Added display sample to distrib file lists
[wxWidgets.git] / include / wx / mgl / region.h
index 3f9e10461baf721551de6e137c3deaffe3ede4dd..62c5386502dcf3bb9cfa0f50796d9e8899ddba27 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Vaclav Slavik
 // Created:     2001/03/12
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -55,6 +55,8 @@ public:
     // Clear current region
     void Clear(void);
 
+    bool Offset(wxCoord x, wxCoord y);
+
     // Union rectangle or region with this.
     bool Union(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
     bool Union(const wxRect& rect) { return Union(rect.x, rect.y, rect.width, rect.height); }
@@ -97,9 +99,11 @@ public:
     
     // implementation from now on:
     const MGLRegion& GetMGLRegion() const;
-    
-private:
-    void Unshare();
+
+protected:
+    // ref counting code
+    virtual wxObjectRefData *CreateRefData() const;
+    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
 };