25 #ifndef PEGASUS_MOVIE_H 26 #define PEGASUS_MOVIE_H 28 #include "common/str.h" 30 #include "pegasus/elements.h" 31 #include "pegasus/surface.h" 32 #include "video/qt_decoder.h" 42 Movie(
const DisplayElementID);
45 virtual void initFromMovieFile(
const Common::Path &fileName,
bool transparent =
false);
47 bool isMovieValid() {
return _video != 0; }
49 virtual void releaseMovie();
52 virtual void redrawMovieWorld();
54 void setTime(
const TimeValue,
const TimeScale = 0)
override;
58 void start()
override;
60 void resume()
override;
61 void pause()
override;
63 virtual void moveMovieBoxTo(
const CoordType,
const CoordType);
65 void setStop(
const TimeValue,
const TimeScale = 0)
override;
67 TimeValue getDuration(
const TimeScale = 0)
const override;
71 void setVolume(uint16);
74 void updateTime()
override;
89 void setGlowing(
const bool glowing) { _glowing = glowing; }
Definition: qt_decoder.h:60
Definition: rational.h:40
Definition: video_decoder.h:53
Definition: elements.h:112
Definition: avi_frames.h:36
Definition: ai_action.h:33