comparison 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
comparison
equal deleted inserted replaced
275:bbe57afe9d7d 276:21c7152ddba8
462 if (selectionIsBeingEdited()) { 462 if (selectionIsBeingEdited()) {
463 drawEditingSelection(paint); 463 drawEditingSelection(paint);
464 } 464 }
465 465
466 paint.end(); 466 paint.end();
467 }
468
469 size_t
470 Pane::getVerticalScaleWidth() const
471 {
472 if (m_scaleWidth > 0) return m_scaleWidth;
473 else return 0;
467 } 474 }
468 475
469 void 476 void
470 Pane::drawVerticalScale(QRect r, Layer *topLayer, QPainter &paint) 477 Pane::drawVerticalScale(QRect r, Layer *topLayer, QPainter &paint)
471 { 478 {