[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/kpresenter
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2008-02-24 6:14:59
Message-ID: 200802240715.00108.t.zachmann () zagge ! de
[Download RAW message or body]

Hello Jan,
> SVN commit 778619 by jaham:
>
> added miscDiagonalWipe page effect

nice work. There is a small bug in repainting.

void DoubleBarnDoorWipeStrategy::paintStep( QPainter &p, int currPos, const 
KPrPageEffect::Data &data )
{
    p.drawPixmap( QPoint( 0, 0 ), data.m_oldPage, data.m_widget->rect() );
    p.drawPixmap( QPoint( 0, 0 ), data.m_newPage, data.m_widget->rect() );
}

This does not work when you get a paint event for the whole screen e.g. by 
pressing alt tab during a page effect. It will always draw the new page.

Thorsten

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic