diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-05 16:35:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-05 16:35:34 +0000 |
| commit | 6c5e5435d105685a537561ca0e6a223d34af85e1 (patch) | |
| tree | b2415a607f5fdaadc4a37edb7e7a68a5ef0bc7cc /src/subtitle.h | |
| parent | 095dcf9a0fb075ca84537beff2fe6a41c837e8da (diff) | |
Support for conversions of things that have multiple representations.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index b60b7f7..889f405 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -27,6 +27,7 @@ #include "effect.h" #include <boost/optional.hpp> #include <string> +#include <list> namespace sub { @@ -50,6 +51,8 @@ public: boost::optional<float> proportional; /** in points */ boost::optional<int> points; + + void convert (); } font_size; /** vertical position of the baseline of the text */ @@ -87,6 +90,9 @@ public: bool operator< (Subtitle const & a, Subtitle const & b); +void convert_font_sizes (std::list<Subtitle> &, int screen_height_in_points); +void convert_times (std::list<Subtitle> &, float frames_per_second); + } #endif |
