mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Updated all classes to use proper Object::Equals signature Removed year from copyright messages
29 lines
627 B
C++
29 lines
627 B
C++
#include <System/Interfaces.h>
|
|
|
|
namespace System
|
|
{
|
|
namespace Windows
|
|
{
|
|
// Represents an x- and y-coordinate pair in two-dimensional space. Can also represent a logical point for certain property usages.
|
|
struct Point : IEquatable<Point>, Object
|
|
{
|
|
public:
|
|
int X;
|
|
int Y;
|
|
|
|
Point();
|
|
Point(int x, int y);
|
|
Point(const Point &obj);
|
|
|
|
bool Equals(Object const * const obj) const;
|
|
bool Equals(const Point other) const;
|
|
int GetHashCode() const;
|
|
int GetType() const;
|
|
const char* ToString() const;
|
|
|
|
bool operator==(const Point& right) const;
|
|
bool operator!=(const Point& right) const;
|
|
};
|
|
}
|
|
}
|