summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-21 22:23:13 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-21 22:23:13 +0100
commitdf6ed597b720399f02e7b75a7cf448d0956c89a1 (patch)
tree53fcd9862ea0e9eb5abd5b4d883d1a5c03735158 /src/subtitle_asset.h
parentb627827aaa5a314b53fe0f8b0429dee8b542ccb3 (diff)
Vertical align.
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index aff3dae5..d272957e 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -31,6 +31,7 @@ public:
TextNode (xmlpp::Node const * node);
float v_position;
+ VAlign v_align;
std::string text;
};
@@ -84,6 +85,7 @@ public:
Time in,
Time out,
float v_position,
+ VAlign v_align,
std::string text,
Effect effect,
Color effect_color
@@ -117,6 +119,10 @@ public:
return _v_position;
}
+ VAlign v_align () const {
+ return _v_align;
+ }
+
Effect effect () const {
return _effect;
}
@@ -135,6 +141,7 @@ private:
Time _in;
Time _out;
float _v_position;
+ VAlign _v_align;
std::string _text;
Effect _effect;
Color _effect_color;