namespace Internal DALI_INTERNAL
{
- class LinearConstrainer;
+class LinearConstrainer;
}
/**
class DALI_CORE_API LinearConstrainer : public Handle
{
public:
-
/**
* @brief Enumeration for the instance of properties belonging to the LinearConstrainer class.
* @SINCE_1_0.0
*/
enum
{
- VALUE = DEFAULT_OBJECT_PROPERTY_START_INDEX, ///< name "value" type Array of float @SINCE_1_0.0
- PROGRESS, ///< name "progress" type Array of float @SINCE_1_0.0
+ VALUE = DEFAULT_OBJECT_PROPERTY_START_INDEX, ///< name "value" type Array of float @SINCE_1_0.0
+ PROGRESS, ///< name "progress" type Array of float @SINCE_1_0.0
};
};
* @param[in] handle Handle to an object
* @return Handle to a LinearConstrainer object or an uninitialized handle
*/
- static LinearConstrainer DownCast( BaseHandle handle );
+ static LinearConstrainer DownCast(BaseHandle handle);
/**
* @brief Creates an uninitialized LinearConstrainer handle.
* @SINCE_1_9.22
* @param[in] rhs A reference to the moved handle
*/
- LinearConstrainer( LinearConstrainer&& rhs );
+ LinearConstrainer(LinearConstrainer&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this
*/
- LinearConstrainer& operator=( LinearConstrainer&& rhs );
+ LinearConstrainer& operator=(LinearConstrainer&& rhs) noexcept;
/**
* @brief Applies the linear constraint to the target property.
* @param[in] range The range of values in the source property which will be mapped to [0,1]
* @param[in] wrap Wrapping domain. Source property will be wrapped in the domain [wrap.x,wrap.y] before mapping to [0,1]. See cfloat.h for FLT_MAX
*/
- void Apply( Dali::Property target, Dali::Property source, const Vector2& range, const Vector2& wrap = Vector2(-FLT_MAX, FLT_MAX) );
+ void Apply(Dali::Property target, Dali::Property source, const Vector2& range, const Vector2& wrap = Vector2(-FLT_MAX, FLT_MAX));
/**
* @brief Removes the linear constraint in the target object.
* @SINCE_1_0.0
* @param[in] target A handle to an object constrained by the LinearConstrainer
*/
- void Remove( Dali::Handle& target );
+ void Remove(Dali::Handle& target);
public: // Not intended for application developers
/// @cond internal