diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-21 18:52:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-21 18:52:28 +0000 |
| commit | 75c0a76a53bc31b162590fc767f5b2fe73ad07df (patch) | |
| tree | ecfba50598f3ca18ff2d97f5a365fe5e307c336e /src/Slit.cc | |
| parent | b8dd077ab0d46e044da324623e1253422621b687 (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/Slit.cc')
| -rw-r--r-- | src/Slit.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 0e7b7c81..e20c9b6e 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -559,13 +559,13 @@ void Slit::reposition(void) { Toolbar *tbar = screen.getToolbar(); int sw = frame.area.w() + (screen.getBorderWidth() * 2), sh = frame.area.h() + (screen.getBorderWidth() * 2), - tw = tbar->getWidth() + screen.getBorderWidth(), - th = tbar->getHeight() + screen.getBorderWidth(); + tw = tbar->area().w() + screen.getBorderWidth(), + th = tbar->area().h() + screen.getBorderWidth(); - if (tbar->getX() < frame.area.x() + sw && - tbar->getX() + tw > frame.area.x() && - tbar->getY() < frame.area.y() + sh && - tbar->getY() + th > frame.area.y()) { + if (tbar->area().x() < frame.area.x() + sw && + tbar->area().x() + tw > frame.area.x() && + tbar->area().y() < frame.area.y() + sh && + tbar->area().y() + th > frame.area.y()) { if (frame.area.y() < th) { frame.area.setY(frame.area.y() + tbar->getExposedHeight()); if (m_direction == Vertical) |
