Re: Patch: Fix win32 ruler redraws during zoom down

From: Marc Maurer (j.m.maurer_at_student.utwente.nl)
Date: Thu Apr 22 2004 - 07:33:07 EDT

  • Next message: Cooper, Mikey: "RE: Patch: Fix win32 ruler redraws during zoom down"

    Why the "if ((f->getAPFrameData()->m_pTopRuler) &&
    (f->getAPFrameData()->m_pLeftRuler))" part? afaict, only the else clause
    is needed.

    Marc

    On Thu, 2004-04-22 at 10:38, Mikey Cooper wrote:
    > Disregard previous patch, this one won't crash when one ruler exists and the
    > other doesn't (for example, Normal view where there's no left ruler).
    >
    > Mikey
    >
    > ----- Original Message -----
    > From: "Mikey Cooper" <mikey_at_bluey.com>
    > To: <abiword-dev_at_abisource.com>
    > Sent: Thursday, April 22, 2004 2:44 AM
    > Subject: Patch: Fix win32 ruler redraws during zoom down
    >
    >
    > > The attached patch fixes a win32 issue where the rulers' views' heights
    > and
    > > widths don't get updated ever. It's most noticable when zooming from a
    > > large zoom like 300% to a lower one like 50%. Abi only redraws the ruler
    > > background up to getWidth() or getHeight(), so the right half or quarter
    > of
    > > the ruler was always remaining on the screen after a zoom-down.

    -- 
    Marc Maurer <j.m.maurer_at_student.utwente.nl>
    


    This archive was generated by hypermail 2.1.4 : Thu Apr 22 2004 - 07:36:17 EDT