X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_subtitle.h;h=217f70fb27db0e20c3394df1114b1536fa17730a;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=6a4f902e6f38f259a1ccbced8c1dcc66c9b3aad1;hpb=712f8144f1992364d79a80b2b586248423f7ac11;p=dcpomatic.git diff --git a/src/lib/image_subtitle.h b/src/lib/image_subtitle.h index 6a4f902e6..217f70fb2 100644 --- a/src/lib/image_subtitle.h +++ b/src/lib/image_subtitle.h @@ -17,6 +17,11 @@ */ +#ifndef DCPOMATIC_IMAGE_SUBTITLE_H +#define DCPOMATIC_IMAGE_SUBTITLE_H + +#include "rect.h" + class Image; class ImageSubtitle @@ -26,7 +31,7 @@ public: : image (i) , rectangle (r) {} - + boost::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 @@ -37,3 +42,5 @@ public: */ dcpomatic::Rect rectangle; }; + +#endif