20 #ifndef LIBSUB_RAW_SUBTITLE_H
21 #define LIBSUB_RAW_SUBTITLE_H
25 #include "vertical_reference.h"
27 #include "font_size.h"
28 #include "vertical_position.h"
29 #include <boost/optional.hpp>
50 boost::optional<std::string> font;
55 boost::optional<Effect> effect;
56 boost::optional<Colour> effect_colour;
71 boost::optional<Time> fade_up;
72 boost::optional<Time> fade_down;
VerticalPosition vertical_position
Definition: raw_subtitle.h:64
std::string text
Definition: raw_subtitle.h:49
An RGB colour.
Definition: colour.h:30
Time from
Definition: raw_subtitle.h:67
Vertical position of the baseline of some text, expressed in one of a number of ways.
Definition: vertical_position.h:31
Time to
Definition: raw_subtitle.h:69
bool italic
true to use an italic version of font
Definition: raw_subtitle.h:60
Definition: sub_time.h:43
A bit of a subtitle, created with no regard for any nearby bits.
Definition: raw_subtitle.h:38
A description of a font's size in one of a number of ways.
Definition: font_size.h:33
bool underline
true to underline
Definition: raw_subtitle.h:61
FontSize font_size
Definition: raw_subtitle.h:53
bool bold
true to use a bold version of font
Definition: raw_subtitle.h:59