Skip to content
  • Clarence Dang's avatar
    * kpMainWindow_View_Zoom.cpp · 7b683284
    Clarence Dang authored
      - Attempt to update flicker-blanking-hack code (but disabled to disable it),
        using new kpView::setPaintBlank()
      - Remove excessive calls to QWidget::setUpdatesEnabled() that attempted to
        reduce flicker (also setUpdatesEnabled() does not require update() in Qt4)
      - Restore code that moves the mouse cursor so that it is still above the same
        document pixel as before the zoom (QWidget::visibleRegion() is the Qt4
        replacement for clipRegion())
      - zoomToRect()
        - Account for scrollbars and grips
        - Add "careAboutWidth" and "careAboutHeight" options
        - Combined, this allows us to re-enable:
          - "Fit to Page"
          - "Fit to Page Width"
          - "Fit to Page Height"
    
    svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=722911
    7b683284