summaryrefslogtreecommitdiff
path: root/src/lib/bitmap_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/bitmap_text.h')
-rw-r--r--src/lib/bitmap_text.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/bitmap_text.h b/src/lib/bitmap_text.h
index 46b6fd142..cadf97ec1 100644
--- a/src/lib/bitmap_text.h
+++ b/src/lib/bitmap_text.h
@@ -26,17 +26,20 @@
#include <memory>
-class Image;
+namespace dcpomatic {
+ class Image;
+}
+
class BitmapText
{
public:
- BitmapText (std::shared_ptr<const Image> i, dcpomatic::Rect<double> r)
+ BitmapText (std::shared_ptr<const dcpomatic::Image> i, dcpomatic::Rect<double> r)
: image (i)
, rectangle (r)
{}
- std::shared_ptr<const Image> image;
+ std::shared_ptr<const dcpomatic::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.