X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd05139a8023fd3e30476409fafbe04221c6d627..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/palmos/region.cpp diff --git a/src/palmos/region.cpp b/src/palmos/region.cpp index 8a408284a1..4ac54e0165 100644 --- a/src/palmos/region.cpp +++ b/src/palmos/region.cpp @@ -65,7 +65,7 @@ wxRegion::wxRegion(const wxRect& rect) { } -wxRegion::wxRegion(size_t n, const wxPoint *points, int fillStyle) +wxRegion::wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle) { } @@ -73,12 +73,12 @@ wxRegion::~wxRegion() { } -wxObjectRefData *wxRegion::CreateRefData() const +wxGDIRefData *wxRegion::CreateGDIRefData() const { return NULL; } -wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const +wxGDIRefData *wxRegion::CloneGDIRefData(const wxGDIRefData *data) const { return NULL; } @@ -92,26 +92,13 @@ void wxRegion::Clear() { } -bool wxRegion::Offset(wxCoord x, wxCoord y) +bool wxRegion::DoOffset(wxCoord x, wxCoord y) { return false; } // combine another region with this one -bool wxRegion::Combine(const wxRegion& rgn, wxRegionOp op) -{ - return false; -} - -// Combine rectangle (x, y, w, h) with this. -bool wxRegion::Combine(wxCoord x, wxCoord y, - wxCoord width, wxCoord height, - wxRegionOp op) -{ - return false; -} - -bool wxRegion::Combine(const wxRect& rect, wxRegionOp op) +bool wxRegion::DoCombine(const wxRegion& rgn, wxRegionOp op) { return false; } @@ -121,19 +108,20 @@ bool wxRegion::Combine(const wxRect& rect, wxRegionOp op) // ---------------------------------------------------------------------------- // Outer bounds of region -void wxRegion::GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const +bool wxRegion::DoGetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const { + return false; } -wxRect wxRegion::GetBox() const +// Is region empty? +bool wxRegion::IsEmpty() const { - return wxRect(0, 0, 0, 0); + return true; } -// Is region empty? -bool wxRegion::Empty() const +bool wxRegion::DoIsEqual(const wxRegion& region) const { - return true; + return false; } // ---------------------------------------------------------------------------- @@ -141,26 +129,13 @@ bool wxRegion::Empty() const // ---------------------------------------------------------------------------- // Does the region contain the point (x,y)? -wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y) const -{ - return wxOutRegion; -} - -// Does the region contain the point pt? -wxRegionContain wxRegion::Contains(const wxPoint& pt) const -{ - return wxOutRegion; -} - -// Does the region contain the rectangle (x, y, w, h)? -wxRegionContain wxRegion::Contains(wxCoord x, wxCoord y, - wxCoord w, wxCoord h) const +wxRegionContain wxRegion::DoContainsPoint(wxCoord x, wxCoord y) const { return wxOutRegion; } // Does the region contain the rectangle rect -wxRegionContain wxRegion::Contains(const wxRect& rect) const +wxRegionContain wxRegion::DoContainsRect(const wxRect& rect) const { return wxOutRegion; }