Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

wftk::Movie Class Reference

"movie" of animated surfaces (stop-animation) More...

#include <movie.h>

Inheritance diagram for wftk::Movie:

wftk::ScreenArea List of all members.

Public Member Functions

void start ()
 start the animation

void stop ()
 stop the animation

void load (const std::vector< Surface::Resource * > &)
 load a list of images to animate

void setDelay (unsigned int)
 unit is ms


Protected Member Functions

virtual void draw (Surface &, const Point &, const Region &)
 The area drawn to must lie within the given region.

virtual void handleResize (Uint16 w, Uint16 h)
 Calculate new shape for shaped widgets, call to setShape() after a resize.

virtual void setPackingInfo ()
 recalculate the object's prefered size


Detailed Description

"movie" of animated surfaces (stop-animation)


Member Function Documentation

void wftk::Movie::draw Surface surf,
const Point offset,
const Region r
[protected, virtual]
 

The area drawn to must lie within the given region.

This is protected so derived classes can call their parents' draw() in their own implementations.

Reimplemented from wftk::ScreenArea.


The documentation for this class was generated from the following files:

Generated Wed Jul 28 17:28:43 2004.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.