summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index 8ec57fce..f51906e2 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -156,6 +156,7 @@ protected:
IMAGE
};
boost::optional<Type> type;
+ float space_before = 0;
};
void parse_subtitles (xmlpp::Element const * node, std::vector<ParseState>& state, boost::optional<int> tcr, Standard standard);
@@ -205,7 +206,7 @@ private:
friend struct ::pull_fonts_test2;
friend struct ::pull_fonts_test3;
- void maybe_add_subtitle (std::string text, std::vector<ParseState> const & parse_state, Standard standard);
+ void maybe_add_subtitle (std::string text, std::vector<ParseState> const & parse_state, float space_before, Standard standard);
static void pull_fonts (std::shared_ptr<order::Part> part);
};