mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
WindowServer: Rename GUI_Foo to WSAPI_Foo.
This commit is contained in:
parent
a54cd84c59
commit
29c49356e3
16 changed files with 204 additions and 204 deletions
|
@ -3,13 +3,13 @@
|
|||
#include <AK/AKString.h>
|
||||
|
||||
class Rect;
|
||||
struct GUI_Point;
|
||||
struct WSAPI_Point;
|
||||
|
||||
class Point {
|
||||
public:
|
||||
Point() { }
|
||||
Point(int x, int y) : m_x(x) , m_y(y) { }
|
||||
Point(const GUI_Point&);
|
||||
Point(const WSAPI_Point&);
|
||||
|
||||
int x() const { return m_x; }
|
||||
int y() const { return m_y; }
|
||||
|
@ -48,7 +48,7 @@ public:
|
|||
return !(*this == other);
|
||||
}
|
||||
|
||||
operator GUI_Point() const;
|
||||
operator WSAPI_Point() const;
|
||||
String to_string() const { return String::format("[%d,%d]", x(), y()); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue