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:
parent
bd6172e3c7
commit
415c4b90c5
12 changed files with 159 additions and 55 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue