AnimBitmap Class Reference

Animated bitmap. More...

Inheritance diagram for AnimBitmap:

Inheritance graph
[legend]
Collaboration diagram for AnimBitmap:

Collaboration graph
[legend]

Public Member Functions

 AnimBitmap (intf_thread_t *pIntf, const GenericBitmap &rBitmap)
virtual ~AnimBitmap ()
void startAnim ()
 Start the animation.
void stopAnim ()
 Stop the animation.
void draw (OSGraphics &rImage, int xDest, int yDest)
 Draw the current frame on another graphics.
bool hit (int x, int y) const
 Tell whether the pixel at the given position is visible.
virtual int getWidth () const
 Get the size of the current frame.
virtual int getHeight () const

Friends

class CmdNextFrame

Data Structures

class  CmdNextFrame
 Callback for the timer.

Detailed Description

Animated bitmap.


Constructor & Destructor Documentation

AnimBitmap::AnimBitmap ( intf_thread_t pIntf,
const GenericBitmap rBitmap 
)

AnimBitmap::~AnimBitmap (  )  [virtual]


Member Function Documentation

void AnimBitmap::startAnim (  ) 

Start the animation.

void AnimBitmap::stopAnim (  ) 

Stop the animation.

void AnimBitmap::draw ( OSGraphics rImage,
int  xDest,
int  yDest 
)

Draw the current frame on another graphics.

bool AnimBitmap::hit ( int  x,
int  y 
) const

Tell whether the pixel at the given position is visible.

int AnimBitmap::getWidth (  )  const [virtual]

Get the size of the current frame.

Implements Box.

int AnimBitmap::getHeight (  )  const [virtual]

Implements Box.


Friends And Related Function Documentation

friend class CmdNextFrame [friend]


The documentation for this class was generated from the following files:
Generated on Wed Aug 13 08:09:06 2008 for VLC by  doxygen 1.5.1