summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/subtitle_asset.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index d43406d2..6d6186a0 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -17,6 +17,9 @@
*/
+#ifndef LIBDCP_SUBTITLE_ASSET_H
+#define LIBDCP_SUBTITLE_ASSET_H
+
#include <libcxml/cxml.h>
#include "asset.h"
#include "dcp_time.h"
@@ -115,6 +118,9 @@ private:
int _size;
Time _in;
Time _out;
+ /** Vertical position as a proportion of the screen height from the top
+ * (between 0 and 1)
+ */
float _v_position;
VAlign _v_align;
std::string _text;
@@ -189,3 +195,5 @@ private:
};
}
+
+#endif