+ /**
+ * @brief Enumeration for the start and end property ranges for this control.
+ * @SINCE_1_0.0
+ */
+ enum PropertyRange
+ {
+ PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, ///< @SINCE_1_0.0
+ PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000, ///< Reserve property indices @SINCE_1_0.0
+
+ ANIMATABLE_PROPERTY_START_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX, ///< @SINCE_1_2.60
+ ANIMATABLE_PROPERTY_END_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000 ///< Reserve animatable property indices @SINCE_1_2.60
+ };
+
+ /**
+ * @brief Enumeration for the instance of properties belonging to the TextLabel class.
+ * @SINCE_1_0.0
+ */
+ struct Property
+ {
+ /**
+ * @brief Enumeration for the instance of properties belonging to the TextLabel class.
+ * @SINCE_1_0.0
+ */
+ enum
+ {
+ ///////////////////////////////////////////////////////////////////////////////
+ // Event side (non-animatable) properties
+ ///////////////////////////////////////////////////////////////////////////////
+
+ /**
+ * @DEPRECATED_1_2.53 No longer be supported and will be ignored.
+ * @brief The type of rendering e.g. bitmap-based.
+ * @details Name "renderingBackend", type Property::INT.
+ * @SINCE_1_0.0
+ */
+ RENDERING_BACKEND = PROPERTY_START_INDEX,
+
+ /**
+ * @brief The text to display in UTF-8 format.
+ * @details Name "text", type Property::STRING.
+ * @SINCE_1_0.0
+ */
+ TEXT,
+
+ /**
+ * @brief The requested font family to use.
+ * @details Name "fontFamily", type Property::STRING.
+ * @SINCE_1_0.0
+ */
+ FONT_FAMILY,
+
+ /**
+ * @brief The requested font style to use.
+ * @details Name "fontStyle", type Property::STRING or Property::MAP.
+ * @SINCE_1_2.13
+ */
+ FONT_STYLE,
+
+ /**
+ * @brief The size of font in points.
+ * @details Name "pointSize", type Property::FLOAT.
+ * Conversion from Pixel size to Point size:
+ * Point size = Pixel size * 72 / DPI
+ * @SINCE_1_0.0
+ */
+ POINT_SIZE,
+
+ /**
+ * @brief The single-line or multi-line layout option.
+ * @details Name "multiLine", type Property::BOOLEAN.
+ * @SINCE_1_0.0
+ * @note Default is false.
+ */
+ MULTI_LINE,
+
+ /**
+ * @brief The line horizontal alignment.
+ * @details Name "horizontalAlignment", type Property::STRING
+ * Values "BEGIN", "CENTER", "END", default BEGIN.
+ * @SINCE_1_0.0
+ */
+ HORIZONTAL_ALIGNMENT,
+
+ /**
+ * @brief The line vertical alignment.
+ * @details Name "verticalAlignment", type Property::STRING.
+ * Values "TOP", "CENTER", "BOTTOM" @SINCE_1_0.0, default TOP.
+ * @SINCE_1_0.0
+ */
+ VERTICAL_ALIGNMENT,
+
+ /**
+ * @DEPRECATED_1_2.60 Use the new enum value of TEXT_COLOR instead.
+ * @brief The color of the text.
+ * @details Name "unusedPropertyTextColor", type Property::VECTOR4.
+ * @SINCE_1_0.0
+ */
+ UNUSED_PROPERTY_TEXT_COLOR,
+
+ /**
+ * @DEPRECATED_1_1.37 Use SHADOW instead
+ * @brief The drop shadow offset 0 indicates no shadow.
+ * @details Name "shadowOffset", type Property::VECTOR2.
+ */
+ SHADOW_OFFSET,
+
+ /**
+ * @DEPRECATED_1_1.37 Use SHADOW instead
+ * @brief The color of a drop shadow.
+ * @details Name "shadowColor", type Property::VECTOR4
+ */
+ SHADOW_COLOR,
+
+ /**
+ * @DEPRECATED_1_1.37 Use UNDERLINE instead
+ * @brief The underline enabled flag.
+ * @details Name "underlineEnabled", type Property::BOOLEAN.
+ */
+ UNDERLINE_ENABLED,
+
+ /**
+ * @DEPRECATED_1_1.37 Use UNDERLINE instead
+ * @brief The color of the underline.
+ * @details Name "underlineColor", type Property::VECTOR4.
+ */
+ UNDERLINE_COLOR,
+
+ /**
+ * @DEPRECATED_1_1.37 Use UNDERLINE instead
+ * @brief Overrides the underline height from font metrics.
+ * @details Name "underlineHeight", type Property::FLOAT.
+ */
+ UNDERLINE_HEIGHT,
+
+ /**
+ * @brief Whether the mark-up processing is enabled.
+ * @details Name "enableMarkup", type Property::BOOLEAN.
+ * @SINCE_1_0.0
+ * @note Default is false.
+ */
+ ENABLE_MARKUP,
+
+ /**
+ * @brief Starts or stops auto scrolling.
+ * @details Name "enableAutoScroll", type Property::BOOLEAN.
+ * @SINCE_1_1.35
+ * @note Default is false.
+ */
+ ENABLE_AUTO_SCROLL,
+
+ /**
+ * @brief Sets the speed of scrolling in pixels per second.
+ * @details Name "autoScrollSpeed", type Property::INT.
+ * @SINCE_1_1.35
+ * @note Default in style sheet.
+ */
+ AUTO_SCROLL_SPEED,
+
+ /**
+ * @brief Number of complete loops when scrolling enabled.
+ * @details Name "autoScrollLoopCount", type Property::INT.
+ * @SINCE_1_1.35
+ * @note Default in style sheet.
+ */
+ AUTO_SCROLL_LOOP_COUNT,
+
+ /**
+ * @brief Gap before scrolling wraps.
+ * @details Name "autoScrollGap", type Property::INT.
+ * @SINCE_1_1.35
+ * @note Default in style sheet but can be overridden to prevent same text being shown at start and end.
+ */
+ AUTO_SCROLL_GAP,