projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0aab7
)
Add some setters.
author
Carl Hetherington
<cth@carlh.net>
Tue, 9 Jan 2018 20:25:59 +0000
(20:25 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 9 Jan 2018 20:25:59 +0000
(20:25 +0000)
src/subtitle_string.h
patch
|
blob
|
history
diff --git
a/src/subtitle_string.h
b/src/subtitle_string.h
index 6713584a118f5aca4761b35e088b254eb7eb3d93..47e4fed15593880473817fa6d5c1d25af51a6124 100644
(file)
--- a/
src/subtitle_string.h
+++ b/
src/subtitle_string.h
@@
-191,6
+191,26
@@
public:
_text = t;
}
+ void set_colour (dcp::Colour c) {
+ _colour = c;
+ }
+
+ void set_effect (Effect e) {
+ _effect = e;
+ }
+
+ void set_effect_colour (dcp::Colour c) {
+ _effect_colour = c;
+ }
+
+ void set_fade_up_time (dcp::Time t) {
+ _fade_up_time = t;
+ }
+
+ void set_fade_down_time (dcp::Time t) {
+ _fade_down_time = t;
+ }
+
private:
/** font ID */
boost::optional<std::string> _font;