X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fsubtitle.h;fp=src%2Fsubtitle.h;h=889f405d2d3e397d17214e3c80d4c63f14be7333;hb=6c5e5435d105685a537561ca0e6a223d34af85e1;hp=b60b7f7adca2e8b98abacfc87bb06b1dc679b0ca;hpb=095dcf9a0fb075ca84537beff2fe6a41c837e8da;p=libsub.git 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 #include +#include namespace sub { @@ -50,6 +51,8 @@ public: boost::optional proportional; /** in points */ boost::optional 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 &, int screen_height_in_points); +void convert_times (std::list &, float frames_per_second); + } #endif