[Panel-devel] icons, files and the desktop
    Marco Martin 
    notmart at gmail.com
       
    Sat Dec 22 11:20:28 CET 2007
    
    
  
On Saturday 22 December 2007, Aaron J. Seigo wrote:
> On Friday 21 December 2007, Marco Martin wrote:
> > redrawn, and they appears on mouse leave and disappears on mouse hover,
> > is there a way to connect an update to a phase animation?
>
> not sure i know what you mean by "connect an update to"?
they should be animated by  phase with
void IconAction::paint(QPainter *painter) const
{
    painter->drawPixmap(m_rect.toRect(), 
Phase::self()->animationResult(m_animationId));
}
right?
so  IconAction::paint should be called every time animationResult changes, 
otherwise there is no animation
Cheers,
Marco Martin
    
    
More information about the Panel-devel
mailing list