*/
-#ifndef DCPOMATIC_BITMAP_TEXT_H
-#define DCPOMATIC_BITMAP_TEXT_H
+#ifndef DCPOMATIC_BITMAP_CAPTION_H
+#define DCPOMATIC_BITMAP_CAPTION_H
#include "rect.h"
+#include <libxml++/libxml++.h>
#include <boost/shared_ptr.hpp>
class Image;
+class Socket;
class BitmapText
{
, rectangle (r)
{}
+ void transfer_xml (xmlpp::Node* node) const;
+ void transfer_binary (boost::shared_ptr<Socket> socket) const;
+
boost::shared_ptr<Image> image;
/** Area that the subtitle covers on its corresponding video, expressed in
* proportions of the image size; e.g. rectangle.x = 0.5 would mean that
dcpomatic::Rect<double> rectangle;
};
+extern bool operator== (BitmapText const & a, BitmapText const & b);
+extern bool operator!= (BitmapText const & a, BitmapText const & b);
+
#endif