summaryrefslogtreecommitdiff
path: root/src/subtitle_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle_string.h')
-rw-r--r--src/subtitle_string.h7
1 files changed, 7 insertions, 0 deletions
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<std::string> 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