Use an enum class for Marker.
[libdcp.git] / src / subtitle_string.h
index fc88c15b475ae7ba29e10e9b5e59017398c97f9e..8e798d8ec6fdcb19ebe638efcf7dbba41d2e2ea8 100644 (file)
@@ -125,6 +125,14 @@ public:
                return _aspect_adjust;
        }
 
+       void set_font (std::string id) {
+               _font = id;
+       }
+
+       void unset_font () {
+               _font = boost::optional<std::string>();
+       }
+
        void set_size (int s) {
                _size = s;
        }
@@ -137,7 +145,7 @@ public:
                _text = t;
        }
 
-       void set_colour (dcp::Colour c) {
+       void set_colour (Colour c) {
                _colour = c;
        }
 
@@ -145,7 +153,7 @@ public:
                _effect = e;
        }
 
-       void set_effect_colour (dcp::Colour c) {
+       void set_effect_colour (Colour c) {
                _effect_colour = c;
        }
 
@@ -172,6 +180,7 @@ private:
 };
 
 bool operator== (SubtitleString const & a, SubtitleString const & b);
+bool operator!= (SubtitleString const & a, SubtitleString const & b);
 std::ostream& operator<< (std::ostream& s, SubtitleString const & sub);
 
 }