mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
wxWidgets3: update to svn r70933
This commit is contained in:
13
Externals/wxWidgets3/include/wx/geometry.h
vendored
13
Externals/wxWidgets3/include/wx/geometry.h
vendored
@ -4,7 +4,7 @@
|
||||
// Author: Stefan Csomor
|
||||
// Modified by:
|
||||
// Created: 08/05/99
|
||||
// RCS-ID: $Id: geometry.h 59019 2009-02-19 07:36:27Z PC $
|
||||
// RCS-ID: $Id: geometry.h 70493 2012-01-31 19:39:43Z VZ $
|
||||
// Copyright: (c) 1999 Stefan Csomor
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -88,12 +88,9 @@ inline wxPoint2DInt operator+(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2)
|
||||
inline wxPoint2DInt operator-(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2);
|
||||
inline wxPoint2DInt operator*(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2);
|
||||
inline wxPoint2DInt operator*(wxInt32 n , const wxPoint2DInt& pt);
|
||||
inline wxPoint2DInt operator*(wxInt32 n , const wxPoint2DInt& pt);
|
||||
inline wxPoint2DInt operator*(const wxPoint2DInt& pt , wxInt32 n);
|
||||
inline wxPoint2DInt operator*(const wxPoint2DInt& pt , wxInt32 n);
|
||||
inline wxPoint2DInt operator/(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2);
|
||||
inline wxPoint2DInt operator/(const wxPoint2DInt& pt , wxInt32 n);
|
||||
inline wxPoint2DInt operator/(const wxPoint2DInt& pt , wxInt32 n);
|
||||
|
||||
inline wxPoint2DInt::wxPoint2DInt()
|
||||
{
|
||||
@ -534,8 +531,8 @@ public:
|
||||
inline wxSize GetSize()
|
||||
{ return wxSize((int) m_width, (int) m_height); }
|
||||
|
||||
// for the edge and corner accessors there are two setters conterparts, the Set.. functions keep the other corners at their
|
||||
// position whenever sensible, the Move.. functions keep the size of the rect and move the other corners apropriately
|
||||
// for the edge and corner accessors there are two setters counterparts, the Set.. functions keep the other corners at their
|
||||
// position whenever sensible, the Move.. functions keep the size of the rect and move the other corners appropriately
|
||||
|
||||
inline wxDouble GetLeft() const { return m_x; }
|
||||
inline void SetLeft( wxDouble n ) { m_width += m_x - n; m_x = n; }
|
||||
@ -661,8 +658,8 @@ public:
|
||||
inline wxPoint2DInt GetPosition() { return wxPoint2DInt(m_x, m_y); }
|
||||
inline wxSize GetSize() { return wxSize(m_width, m_height); }
|
||||
|
||||
// for the edge and corner accessors there are two setters conterparts, the Set.. functions keep the other corners at their
|
||||
// position whenever sensible, the Move.. functions keep the size of the rect and move the other corners apropriately
|
||||
// for the edge and corner accessors there are two setters counterparts, the Set.. functions keep the other corners at their
|
||||
// position whenever sensible, the Move.. functions keep the size of the rect and move the other corners appropriately
|
||||
|
||||
inline wxInt32 GetLeft() const { return m_x; }
|
||||
inline void SetLeft( wxInt32 n ) { m_width += m_x - n; m_x = n; }
|
||||
|
Reference in New Issue
Block a user