// 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}
@{
*/
- 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;
//@}
};