#ifndef DCPOMATIC_SUBRIP_SUBTITLE_H
#define DCPOMATIC_SUBRIP_SUBTITLE_H
-#include <boost/optional.hpp>
-#include <libdcp/types.h>
#include "types.h"
+#include "dcpomatic_time.h"
+#include <dcp/types.h>
+#include <boost/optional.hpp>
struct SubRipSubtitlePiece
{
, italic (false)
, underline (false)
{}
-
+
std::string text;
bool bold;
bool italic;
bool underline;
- libdcp::Color color;
+ dcp::Colour color;
};
struct SubRipSubtitle
{
- SubRipSubtitle ()
- : from (0)
- , to (0)
- {}
-
- Time from;
- Time to;
+ ContentTimePeriod period;
boost::optional<int> x1;
boost::optional<int> x2;
boost::optional<int> y1;