X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/position.h?ds=sidebyside diff --git a/interface/wx/position.h b/interface/wx/position.h index ba5dfbd499..c2c3093dcd 100644 --- a/interface/wx/position.h +++ b/interface/wx/position.h @@ -3,18 +3,15 @@ // Purpose: interface of wxPosition // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxPosition - @wxheader{position.h} 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} @@ -72,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; //@} };