Mercurial > hg > svgui
diff view/Pane.cpp @ 276:21c7152ddba8
* attempt to ensure zoom-to-fit actually makes things fit (not obscured by
the scale) -- not working
* attempt to add vertical scrollbar optionally in main window -- not working
-- no time to fix now
author | Chris Cannam |
---|---|
date | Mon, 02 Jul 2007 14:58:34 +0000 |
parents | b9380f679f70 |
children | 8acd30ed735c |
line wrap: on
line diff
--- a/view/Pane.cpp Mon Jul 02 14:57:01 2007 +0000 +++ b/view/Pane.cpp Mon Jul 02 14:58:34 2007 +0000 @@ -466,6 +466,13 @@ paint.end(); } +size_t +Pane::getVerticalScaleWidth() const +{ + if (m_scaleWidth > 0) return m_scaleWidth; + else return 0; +} + void Pane::drawVerticalScale(QRect r, Layer *topLayer, QPainter &paint) {