From 256b12aa35c0e7b59520c3a6c22632bc35838e65 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 27 Nov 2002 12:30:38 +0000 Subject: updated from cleaning in Toolbar --- src/Slit.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Slit.cc b/src/Slit.cc index 393cb9a..c4e4e7c 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.26 2002/11/15 12:31:58 fluxgen Exp $ +// $Id: Slit.cc,v 1.27 2002/11/27 12:30:38 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE @@ -650,15 +650,15 @@ void Slit::reposition() { if (tbar->x() < frame.x + sw && tbar->x() + tw > frame.x && tbar->y() < frame.y + sh && tbar->y() + th > frame.y) { if (frame.y < th) { - frame.y += tbar->getExposedHeight(); + frame.y += tbar->exposedHeight(); if (screen()->getSlitDirection() == VERTICAL) - frame.y_hidden += tbar->getExposedHeight(); + frame.y_hidden += tbar->exposedHeight(); else frame.y_hidden = frame.y; } else { - frame.y -= tbar->getExposedHeight(); + frame.y -= tbar->exposedHeight(); if (screen()->getSlitDirection() == VERTICAL) - frame.y_hidden -= tbar->getExposedHeight(); + frame.y_hidden -= tbar->exposedHeight(); else frame.y_hidden = frame.y; } -- cgit v0.11.2