]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/animate/readme.txt
fixed a design flaw in wxFontMapper that prevented automatic creation of wxConfig...
[wxWidgets.git] / contrib / src / animate / readme.txt
CommitLineData
4638d697
JS
1Animation sample
2================
3
4Every now and then someone asks whether there are animation
5classes in wxWindows. I started these animation player classes
6nearly two years ago and never got round to finishing them.
7Now I've done some hacking on them and (after very limited testing)
8it seems to work on Windows for animated GIFs, both transparent
9and non-transparent.
10
11Basically the classes makes use of the existing GIF decoder in
12wxWindows to read an animated GIF into wxGIFAnimation, and then
13play that animation using wxAnimationPlayer. It's very much tied
14to the animated GIF format, so don't expect anything too generic.
15However, it would be quite possible to write code to convert an animated
16GIF into a PNG-based invented format, and then write a wxPNGAnimation
17handler.
18
19The next steps are:
20
211. Test on other platforms.
222. Write control classes to make it easy to embed animations in dialogs, etc.
23 See my thoughts in animate.h.
243. Write documentation.
25
26*** IMPORTANT NOTE: to compile this, you must first edit the
27file:
28
29include/wx/gifdecod.h
30
31and change the keyword 'protected' to 'public', then recompile
32wxWindows. If you have downloaded the latest code from the CVS trunk,
33the problem has been corrected already.
34
35Julian Smart, 5th July 2001