summaryrefslogtreecommitdiff
path: root/src/Toolbar.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/Toolbar.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/Toolbar.h')
-rw-r--r--src/Toolbar.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Toolbar.h b/src/Toolbar.h
index bf67b506..a4326c12 100644
--- a/src/Toolbar.h
+++ b/src/Toolbar.h
@@ -29,6 +29,7 @@
#include "Timer.h"
#include "Resource.h"
#include "Screen.h"
+#include "Geometry.h"
// forward declaration
class Toolbar;
@@ -114,12 +115,16 @@ public:
inline const Window &getWindowID() const { return frame.window; }
- inline unsigned int getWidth() const { return frame.width; }
- inline unsigned int getHeight() const { return frame.height; }
+ //inline unsigned int getWidth() const { return frame.width; }
+ //inline unsigned int getHeight() const { return frame.height; }
unsigned int getExposedHeight() const;
- int getX() const;
- int getY() const;
+ //int getX() const;
+ //int getY() const;
+
+ Rect area() const;
+ //Size size() const { return area().size(); }
+ //Point origin() const { return area().origin(); }
void buttonPressEvent(XButtonEvent *);
void buttonReleaseEvent(XButtonEvent *);