From 75c0a76a53bc31b162590fc767f5b2fe73ad07df Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 21 Apr 2002 18:52:28 +0000 Subject: changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area() changed toolbar external inteface to have an area, no more getX/Y/Width/Height --- src/Window.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/Window.h') diff --git a/src/Window.h b/src/Window.h index fd682c95..b916ca67 100644 --- a/src/Window.h +++ b/src/Window.h @@ -292,18 +292,18 @@ public: inline const unsigned int &getTitleHeight(void) const { return frame.title_h; } - inline const Point origin() const { - return Point(frame.x, frame.y); - } - inline const Point clientOrigin() const { - return Point(client.x, client.y); - } - inline const Size size() const { - return Size(frame.width, flags.shaded ? frame.title_h : frame.height); - } - inline const Size clientSize() const { - return Size(client.width, client.height); - } + //inline const Point origin() const { + // return Point(frame.x, frame.y); + //} + //inline const Point clientOrigin() const { + // return Point(client.x, client.y); + //} + //inline const Size size() const { + // return Size(frame.width, flags.shaded ? frame.title_h : frame.height); + //} + //inline const Size clientSize() const { + // return Size(client.width, client.height); + //} inline const Rect area() const { return Rect(frame.x, frame.y, frame.width, flags.shaded ? frame.title_h : frame.height); -- cgit v1.2.3