summaryrefslogtreecommitdiff
path: root/src/subtitle_string.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-27 20:35:19 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-27 20:35:19 +0000
commitd6633a73369339c419f33fb9d641f342826a3290 (patch)
tree7909203ea854f7039b62074004df92bec7aec796 /src/subtitle_string.h
parent6f125b65d1bc0650735624d7ada17a2ff573cbc4 (diff)
Rename color -> colour.
Diffstat (limited to 'src/subtitle_string.h')
-rw-r--r--src/subtitle_string.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h
index 512a1b5b..0f066164 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -40,7 +40,7 @@ public:
SubtitleString (
boost::optional<std::string> font,
bool italic,
- Color color,
+ Colour colour,
int size,
Time in,
Time out,
@@ -48,7 +48,7 @@ public:
VAlign v_align,
std::string text,
Effect effect,
- Color effect_color,
+ Colour effect_colour,
Time fade_up_time,
Time fade_down_time
);
@@ -62,8 +62,8 @@ public:
return _italic;
}
- Color color () const {
- return _color;
+ Colour colour () const {
+ return _colour;
}
Time in () const {
@@ -93,8 +93,8 @@ public:
return _effect;
}
- Color effect_color () const {
- return _effect_color;
+ Colour effect_colour () const {
+ return _effect_colour;
}
Time fade_up_time () const {
@@ -128,7 +128,7 @@ private:
/** true if the text is italic */
bool _italic;
/** text colour */
- Color _color;
+ Colour _colour;
/** Size in points as if the screen height is 11 inches, so a 72pt font
* would be 1/11th of the screen height.
*/
@@ -142,7 +142,7 @@ private:
VAlign _v_align;
std::string _text;
Effect _effect;
- Color _effect_color;
+ Colour _effect_colour;
Time _fade_up_time;
Time _fade_down_time;
};