khtmlImLoad::AnimProvider

khtmlImLoad::AnimProvider Class Referenceabstract

#include <animprovider.h>

Inherited by khtmlImLoad::GIFAnimProvider.

Public Member Functions

 AnimProvider (PixmapPlane *plane, Image *img)
 
virtual AnimProviderclone (PixmapPlane *newParentPlane)=0
 
virtual void paint (int dx, int dy, QPainter *p, int sx, int sy, int width, int height)=0
 
void setShowAnimations (KHTMLSettings::KAnimationAdvice)
 
void switchFrame ()
 

Protected Member Functions

void nextFrame ()
 

Protected Attributes

KHTMLSettings::KAnimationAdvice animationAdvice
 
PixmapPlanecurFrame
 
PixmapPlaneframe0
 
Imageimage
 
bool shouldSwitchFrame
 

Detailed Description

A base class for animation support.

This should be implemented by decoders wishing to implement animation. When this is installed, paint events for the image are redirected here.

Definition at line 43 of file animprovider.h.

Member Function Documentation

void khtmlImLoad::AnimProvider::setShowAnimations ( KHTMLSettings::KAnimationAdvice  newAdvice)

Enables or disables animations.

Definition at line 55 of file animprovider.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 1 2020 22:35:43 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.