1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

Start adding a Window class.

This commit is contained in:
Andreas Kling 2018-10-12 01:03:22 +02:00
parent bd6172e3c7
commit 415c4b90c5
12 changed files with 159 additions and 55 deletions

View file

@ -17,6 +17,12 @@ public:
m_y += dy;
}
bool operator==(const Point& other) const
{
return m_x == other.m_x
&& m_y == other.m_y;
}
private:
int m_x { 0 };
int m_y { 0 };