From 96c40e880ccba4bf9ec163ea5ff60cbe1e823f2d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Oct 2013 13:18:15 +0100 Subject: Comment and header guards. --- src/subtitle_asset.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 #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 -- cgit v1.2.3