diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-11 20:43:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-11 21:03:32 +0200 |
| commit | a98f6e4f84d02b87ba05cecfcc3005858f274afa (patch) | |
| tree | 5b244f709c400cf2fff25f7af7b4f9c158bc8f2c /src/lib/text_content.h | |
| parent | 6157596fabb32c0f915525e4d05130652c1cd751 (diff) | |
Cleanup: use constexpr for content and player properties.
Also fix a clash between the ATMOS and player properties.
Diffstat (limited to 'src/lib/text_content.h')
| -rw-r--r-- | src/lib/text_content.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/lib/text_content.h b/src/lib/text_content.h index 306653d4b..69a0581fc 100644 --- a/src/lib/text_content.h +++ b/src/lib/text_content.h @@ -38,24 +38,24 @@ namespace dcpomatic { class TextContentProperty { public: - static int const X_OFFSET; - static int const Y_OFFSET; - static int const X_SCALE; - static int const Y_SCALE; - static int const USE; - static int const BURN; - static int const FONTS; - static int const COLOUR; - static int const EFFECT; - static int const EFFECT_COLOUR; - static int const LINE_SPACING; - static int const FADE_IN; - static int const FADE_OUT; - static int const OUTLINE_WIDTH; - static int const TYPE; - static int const DCP_TRACK; - static int const LANGUAGE; - static int const LANGUAGE_IS_ADDITIONAL; + static int constexpr X_OFFSET = 500; + static int constexpr Y_OFFSET = 501; + static int constexpr X_SCALE = 502; + static int constexpr Y_SCALE = 503; + static int constexpr USE = 504; + static int constexpr BURN = 505; + static int constexpr FONTS = 506; + static int constexpr COLOUR = 507; + static int constexpr EFFECT = 508; + static int constexpr EFFECT_COLOUR = 509; + static int constexpr LINE_SPACING = 510; + static int constexpr FADE_IN = 511; + static int constexpr FADE_OUT = 512; + static int constexpr OUTLINE_WIDTH = 513; + static int constexpr TYPE = 514; + static int constexpr DCP_TRACK = 515; + static int constexpr LANGUAGE = 516; + static int constexpr LANGUAGE_IS_ADDITIONAL = 517; }; |
