diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-25 20:54:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-25 20:54:29 +0000 |
| commit | 9e92f4742708e8b1516623647ee458211fdd68c1 (patch) | |
| tree | 484d1bb636788df7c7b2aa1b9a4232d964007b7c /src/lib/format.h | |
| parent | 97b0f3af79c79ac4b9273e93090ef41753faba6c (diff) | |
Fix signalling of wxChoices that used to be ComboBoxes. Use Size a little more. Show any padding of films into larger frames in the preview (#33).
Diffstat (limited to 'src/lib/format.h')
| -rw-r--r-- | src/lib/format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/format.h b/src/lib/format.h index b4c691e56..783ff25ce 100644 --- a/src/lib/format.h +++ b/src/lib/format.h @@ -46,6 +46,9 @@ public: /** @return the ratio as a floating point number */ virtual float ratio_as_float (boost::shared_ptr<const Film> f) const = 0; + /** @return the ratio of the container (including any padding) as a floating point number */ + float container_ratio_as_float () const; + int dcp_padding (boost::shared_ptr<const Film> f) const; /** @return size in pixels of the images that we should |
