diff options
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index 6afdc51..3906314 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -20,12 +20,9 @@ #ifndef LIBSUB_SUBTITLE_H #define LIBSUB_SUBTITLE_H -#include "frame_time.h" -#include "metric_time.h" #include "colour.h" #include "vertical_reference.h" #include "effect.h" -#include "time_pair.h" #include "font_size.h" #include "vertical_position.h" #include "raw_subtitle.h" @@ -55,7 +52,7 @@ public: /** Subtitle text in UTF-8 */ std::string text; - std::string font; + boost::optional<std::string> font; /** font size */ FontSize font_size; @@ -106,12 +103,12 @@ public: Subtitle (RawSubtitle s); /** from time */ - TimePair from; + Time from; /** to time */ - TimePair to; + Time to; - boost::optional<MetricTime> fade_up; - boost::optional<MetricTime> fade_down; + boost::optional<Time> fade_up; + boost::optional<Time> fade_down; std::list<Line> lines; |
