summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-03 20:37:49 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-04 00:43:03 +0100
commit7c00e7a8c5f0e543000dd62ce8c66fdb8da6ee34 (patch)
tree7577cbb0952629eb867549733895ebe2225bb739 /src
parent54010eb460cb1038ded4177154fa63947f766a05 (diff)
Cleanup: use some better variable names.
Diffstat (limited to 'src')
-rw-r--r--src/lib/bitmap_text.h6
-rw-r--r--src/lib/content_text.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/bitmap_text.h b/src/lib/bitmap_text.h
index 46b6fd142..04cb61e3e 100644
--- a/src/lib/bitmap_text.h
+++ b/src/lib/bitmap_text.h
@@ -31,9 +31,9 @@ class Image;
class BitmapText
{
public:
- BitmapText (std::shared_ptr<const Image> i, dcpomatic::Rect<double> r)
- : image (i)
- , rectangle (r)
+ BitmapText(std::shared_ptr<const Image> image_, dcpomatic::Rect<double> rectangle_)
+ : image(image_)
+ , rectangle(rectangle_)
{}
std::shared_ptr<const Image> image;
diff --git a/src/lib/content_text.h b/src/lib/content_text.h
index 51d4e8009..8a7f007ef 100644
--- a/src/lib/content_text.h
+++ b/src/lib/content_text.h
@@ -57,9 +57,9 @@ public:
: ContentText(from)
{}
- ContentBitmapText (dcpomatic::ContentTime f, std::shared_ptr<const Image> im, dcpomatic::Rect<double> r)
- : ContentText (f)
- , subs{ {im, r} }
+ ContentBitmapText(dcpomatic::ContentTime from, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect)
+ : ContentText(from)
+ , subs{ {image, rect} }
{}
/* Our texts, with their rectangles unmodified by any offsets or scales that the content specifies */