summaryrefslogtreecommitdiff
path: root/src/Window.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-21 18:52:28 +0000
committerDana Jansens <danakj@orodu.net>2002-04-21 18:52:28 +0000
commit75c0a76a53bc31b162590fc767f5b2fe73ad07df (patch)
treeecfba50598f3ca18ff2d97f5a365fe5e307c336e /src/Window.h
parentb8dd077ab0d46e044da324623e1253422621b687 (diff)
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
Diffstat (limited to 'src/Window.h')
-rw-r--r--src/Window.h24
1 files changed, 12 insertions, 12 deletions
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);