diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-16 16:32:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-16 16:32:52 +0100 |
| commit | ed7929f1a3643a591f84b5362a9a1b85b3fb788d (patch) | |
| tree | b1360318923c51751cb98937b9d80978d72037d7 /src/lib/subtitle.h | |
| parent | 60df561ea1c0e9dc108b6f117fa544df034489b0 (diff) | |
No-op; comments.
Diffstat (limited to 'src/lib/subtitle.h')
| -rw-r--r-- | src/lib/subtitle.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/subtitle.h b/src/lib/subtitle.h index de8f02596..1cc906ce0 100644 --- a/src/lib/subtitle.h +++ b/src/lib/subtitle.h @@ -17,6 +17,10 @@ */ +/** @file src/subtitle.h + * @brief Representations of subtitles. + */ + #include <list> #include <boost/shared_ptr.hpp> #include "util.h" @@ -24,6 +28,7 @@ struct AVSubtitle; class Image; +/** A subtitle, consisting of an image and a position */ class Subtitle { public: @@ -53,7 +58,8 @@ subtitle_transformed_area ( float target_x_scale, float target_y_scale, Rectangle sub_area, int subtitle_offset, float subtitle_scale ); - + +/** A Subtitle class with details of the time over which it should be shown */ class TimedSubtitle { public: @@ -66,8 +72,8 @@ public: } private: + /** the subtitle */ boost::shared_ptr<Subtitle> _subtitle; - /** display from time in seconds from the start of the film */ double _from; /** display to time in seconds from the start of the film */ |
