projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e07c60
)
Add SubtitleString::unset_font.
author
Carl Hetherington
<cth@carlh.net>
Tue, 25 Aug 2020 21:12:22 +0000
(23:12 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 25 Aug 2020 21:12:22 +0000
(23:12 +0200)
src/subtitle_string.h
patch
|
blob
|
history
diff --git
a/src/subtitle_string.h
b/src/subtitle_string.h
index 7e84d1033a067be8033fa2a4cca777e9ac49ccb0..8e798d8ec6fdcb19ebe638efcf7dbba41d2e2ea8 100644
(file)
--- a/
src/subtitle_string.h
+++ b/
src/subtitle_string.h
@@
-129,6
+129,10
@@
public:
_font = id;
}
+ void unset_font () {
+ _font = boost::optional<std::string>();
+ }
+
void set_size (int s) {
_size = s;
}