Supporters update.
[dcpomatic.git] / src / lib / bitmap_text.h
index 64de7686d8e2cd1b86cfefbb2ed991b5f413d89c..46b6fd142ff541908d3e299a47632576cbb01e66 100644 (file)
 
 */
 
-#ifndef DCPOMATIC_BITMAP_TEXT_H
-#define DCPOMATIC_BITMAP_TEXT_H
+#ifndef DCPOMATIC_BITMAP_CAPTION_H
+#define DCPOMATIC_BITMAP_CAPTION_H
+
 
 #include "rect.h"
-#include <boost/shared_ptr.hpp>
+#include <memory>
+
 
 class Image;
 
 class BitmapText
 {
 public:
-       BitmapText (boost::shared_ptr<Image> i, dcpomatic::Rect<double> r)
+       BitmapText (std::shared_ptr<const Image> i, dcpomatic::Rect<double> r)
                : image (i)
                , rectangle (r)
        {}
 
-       boost::shared_ptr<Image> image;
+       std::shared_ptr<const 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
         *  the rectangle starts half-way across the video.