X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fsubtitle.h;h=c3929d676ef721b39de7f6d68bbca40e6dce6513;hp=52bd35923b8c0e1b9101dcd676c7ea8d507e083e;hb=a0856e3fbef17f24073b01cb96be6bbcb229ecbc;hpb=e6d086fff404d9fe5ac080f9e75334eeb315c1da diff --git a/src/lib/subtitle.h b/src/lib/subtitle.h index 52bd35923..c3929d676 100644 --- a/src/lib/subtitle.h +++ b/src/lib/subtitle.h @@ -48,17 +48,17 @@ public: return _image; } - Rect area () const; + dvdomatic::Rect area () const; private: Position _position; boost::shared_ptr _image; }; -Rect +dvdomatic::Rect subtitle_transformed_area ( float target_x_scale, float target_y_scale, - Rect sub_area, int subtitle_offset, float subtitle_scale + dvdomatic::Rect sub_area, int subtitle_offset, float subtitle_scale ); /** A Subtitle class with details of the time over which it should be shown */