X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/position.h?ds=sidebyside diff --git a/interface/wx/position.h b/interface/wx/position.h index 212b7b9712..c2c3093dcd 100644 --- a/interface/wx/position.h +++ b/interface/wx/position.h @@ -3,7 +3,7 @@ // Purpose: interface of wxPosition // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -12,8 +12,6 @@ This class represents the position of an item in any kind of grid of rows and columns such as wxGridBagSizer, or wxHVScrolledWindow. - @todo rename this class to wxItemPosition or such, wxPosition is too generic - @library{wxbase} @category{data} @@ -71,16 +69,16 @@ public: @{ */ - bool operator ==(const wxPosition& p) const; - bool operator !=(const wxPosition& p) const; - wxPosition& operator +=(const wxPosition& p) const; - wxPosition& operator -=(const wxPosition& p) const; - wxPosition& operator +=(const wxSize& s) const; - wxPosition& operator -=(const wxSize& s) const; - wxPosition& operator +(const wxPosition& p) const; - wxPosition& operator -(const wxPosition& p) const; - wxPosition& operator +(const wxSize& s) const; - wxPosition& operator -(const wxSize& s) const; + bool operator ==(const wxPosition& pos) const; + bool operator !=(const wxPosition& pos) const; + wxPosition& operator +=(const wxPosition& pos); + wxPosition& operator -=(const wxPosition& pos); + wxPosition& operator +=(const wxSize& size); + wxPosition& operator -=(const wxSize& size); + wxPosition operator +(const wxPosition& pos) const; + wxPosition operator -(const wxPosition& pos) const; + wxPosition operator +(const wxSize& size) const; + wxPosition operator -(const wxSize& size) const; //@} };