X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ffont.h;h=a2589be4a934ac52de14ef229b49a73cc35b6382;hb=491ac453512ac1982f62fc0d2a310586427601d7;hp=0250e997242c436b3865af7aab618239fac33434;hpb=ad3f59faa168a529048e0f631c31dfd6fb3d01e3;p=libdcp.git diff --git a/src/font.h b/src/font.h index 0250e997..a2589be4 100644 --- a/src/font.h +++ b/src/font.h @@ -23,14 +23,11 @@ #include "types.h" #include "subtitle.h" +#include #include #include #include -namespace cxml { - class Node; -} - namespace dcp { /** @class Font @@ -43,16 +40,16 @@ public: : size (0) {} - Font (boost::shared_ptr node); + Font (cxml::ConstNodePtr node, int tcr); Font (std::list > const & font_nodes); std::string text; - std::string id; + boost::optional id; int size; boost::optional italic; - boost::optional color; + boost::optional colour; boost::optional effect; - boost::optional effect_color; + boost::optional effect_colour; std::list > subtitle_nodes; std::list > font_nodes;