X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fbitmap_text.h;h=b8861c10a651986795a57e0cdca5f6aa914dbad0;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=2314c2db0cec2ad1a521c24fcc008bd640e20cca;hpb=0d35820cf50d2789752b8776683b26d04642518d;p=dcpomatic.git diff --git a/src/lib/bitmap_text.h b/src/lib/bitmap_text.h index 2314c2db0..b8861c10a 100644 --- a/src/lib/bitmap_text.h +++ b/src/lib/bitmap_text.h @@ -21,20 +21,22 @@ #ifndef DCPOMATIC_BITMAP_CAPTION_H #define DCPOMATIC_BITMAP_CAPTION_H + #include "rect.h" -#include +#include + class Image; class BitmapText { public: - BitmapText (boost::shared_ptr i, dcpomatic::Rect r) + BitmapText (std::shared_ptr i, dcpomatic::Rect r) : image (i) , rectangle (r) {} - boost::shared_ptr image; + std::shared_ptr 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.