From 715410f7b36075b39d712479476e83a28042ed7e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 24 Jun 2016 12:24:16 +0100 Subject: Support underlining of subtitles. --- src/subtitle_string.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/subtitle_string.h') diff --git a/src/subtitle_string.h b/src/subtitle_string.h index b16f764b..51b37564 100644 --- a/src/subtitle_string.h +++ b/src/subtitle_string.h @@ -55,6 +55,7 @@ public: boost::optional font, bool italic, bool bold, + bool underline, Colour colour, int size, float aspect_adjust, @@ -85,6 +86,10 @@ public: return _bold; } + bool underline () const { + return _underline; + } + Colour colour () const { return _colour; } @@ -189,6 +194,8 @@ private: bool _italic; /** true if the weight is bold, false for normal */ bool _bold; + /** true to enable underlining, false otherwise */ + bool _underline; /** text colour */ Colour _colour; /** Size in points as if the screen height is 11 inches, so a 72pt font -- cgit v1.2.3