summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-04 19:20:21 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-04 19:20:21 +0000
commitfa2900fedac1030141c56b691c7f6e0f7e629424 (patch)
tree74eb2e5950f32e6efae106d78ad358f0bdb92a33 /src
parentaeaa2d842b3b8422ac341c43652d083cacf3aee7 (diff)
Add accessor.
Diffstat (limited to 'src')
-rw-r--r--src/reel_picture_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reel_picture_asset.h b/src/reel_picture_asset.h
index 637c9635..15b01b74 100644
--- a/src/reel_picture_asset.h
+++ b/src/reel_picture_asset.h
@@ -60,6 +60,10 @@ public:
_screen_aspect_ratio = a;
}
+ Fraction screen_aspect_ratio () const {
+ return _screen_aspect_ratio;
+ }
+
private:
std::string key_type () const;