diff --git a/src/texteff.hpp b/src/texteff.hpp --- a/src/texteff.hpp +++ b/src/texteff.hpp @@ -17,12 +17,12 @@ /** * Text effect modes. */ -enum TextEffectMode { +enum TextEffectMode : uint8_t { TE_RISING, ///< Make the text effect slowly go upwards TE_STATIC, ///< Keep the text effect static }; -typedef size_t TextEffectID; +using TextEffectID = uint16_t; static const TextEffectID INVALID_TE_ID = UINT16_MAX;