00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef AEDANIMATEDIMAGE_H
00024 #define AEDANIMATEDIMAGE_H
00025
00026 #include "aedWidget.h"
00027 #include "aedImage.h"
00028 #include "aedImageBank.h"
00029
00030 class aedAnimatedImage:public aedWidget
00031 {
00032 public:
00033 aedAnimatedImage();
00034 virtual void render(void);
00035
00036 void setImageBank(aedImageBank imgBank);
00037 Uint16 getCurrentFrame(void);
00038 void setCurrentFrame(Uint16 frm);
00039 Uint16 next(void);
00040 Uint16 previous(void);
00041 Uint16 rewind(void);
00042 Uint16 fastForward(void);
00043
00044 private:
00045 aedImageBank m_Images;
00046 Uint16 m_CurrentFrame;
00047 bool m_AutoAnimate;
00048 Uint8 m_FPS;
00049
00050 };
00051
00052 #if defined(_MSC_VER)
00053 DLLEXTERN template DLLEXPORT aedFunctor1Arg < stub, aedAnimatedImage >;
00054 #endif
00055
00056 #endif