diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-28 22:41:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-28 22:41:09 +0000 |
| commit | 75aa6e480d998b29205c0eab328697a5d007986b (patch) | |
| tree | ac53060d67ac2f6c64994e405220977c5ae5d817 /src/subtitle.h | |
| parent | 7f20aa518356f188946eb508239caf7c113da819 (diff) | |
Basic writer.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index 5cc1284..d12dfc1 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -33,6 +33,29 @@ public: , bold (false) , italic (false) , underline (false) + , line (0) + {} + + Subtitle ( + std::string text, + std::string font, + int font_size, + bool bold, + bool italic, + bool underline, + int line, + Time from, + Time to + ) + : text (text) + , font (font) + , font_size (font_size) + , bold (bold) + , italic (italic) + , underline (underline) + , line (line) + , from (from) + , to (to) {} std::string text; @@ -41,6 +64,7 @@ public: bool bold; bool italic; bool underline; + int line; Time from; Time to; }; |
