diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-19 02:13:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-19 02:13:12 +0100 |
| commit | ea67859b383a31496a604e65a166974b20a1c94e (patch) | |
| tree | 1740b2658f5033b59442e3958ba77b53905b16fa /src/lib/rect.h | |
| parent | b5335ed37e52c216a6773789c0edba5f335c8df2 (diff) | |
Hack: delay decisions about subtitle position late enough that we can refresh the preview image quickly.attic/hack-faster-subtitle-moving
Diffstat (limited to 'src/lib/rect.h')
| -rw-r--r-- | src/lib/rect.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/rect.h b/src/lib/rect.h index 4851ad007..07fb22dc9 100644 --- a/src/lib/rect.h +++ b/src/lib/rect.h @@ -24,6 +24,7 @@ #include "position.h" #include <boost/optional.hpp> #include <algorithm> +#include <cmath> /* Put this inside a namespace as Apple put a Rect in the global namespace */ @@ -114,6 +115,8 @@ public: } }; +extern bool operator== (Rect<double> const & a, Rect<double> const & b); + } #endif |
