1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

LibDraw: Remove convenience functions for the old WindowServer IPC

This commit is contained in:
Andreas Kling 2019-12-02 10:58:01 +01:00
parent 86504f4461
commit b780dcf353
3 changed files with 0 additions and 13 deletions

View file

@ -5,7 +5,6 @@
#include <LibDraw/Orientation.h>
class Rect;
struct WSAPI_Point;
class Point {
public:
@ -15,7 +14,6 @@ public:
, m_y(y)
{
}
Point(const WSAPI_Point&);
int x() const { return m_x; }
int y() const { return m_y; }
@ -79,7 +77,6 @@ public:
}
Point operator+(const Point& other) const { return { m_x + other.m_x, m_y + other.m_y }; }
operator WSAPI_Point() const;
String to_string() const { return String::format("[%d,%d]", x(), y()); }
bool is_null() const { return !m_x && !m_y; }