X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/position.h?ds=sidebyside diff --git a/interface/wx/position.h b/interface/wx/position.h index ba5dfbd499..8750b87622 100644 --- a/interface/wx/position.h +++ b/interface/wx/position.h @@ -2,19 +2,15 @@ // Name: position.h // 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 +68,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; //@} };