X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fvisuals%2Fvisual-properties.h;h=dd1447b0831a635d871a05d3a8e2a3589da43351;hb=610495b8647d1a25c98bf0773ccc0dd6d1996263;hp=5617198ef14fa481eda8860d088c880e891092c3;hpb=ca4209fb071e5c353a7e528098a2e497765118d8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/visuals/visual-properties.h b/dali-toolkit/public-api/visuals/visual-properties.h index 5617198..dd1447b 100644 --- a/dali-toolkit/public-api/visuals/visual-properties.h +++ b/dali-toolkit/public-api/visuals/visual-properties.h @@ -33,7 +33,7 @@ namespace Toolkit */ /** - * @brief All the visual types + * @brief All the visual types. * @SINCE_1_1.45 */ namespace Visual @@ -59,21 +59,21 @@ enum Type }; /** - * @brief Visual Property + * @brief Visual Property. * @SINCE_1_1.45 */ namespace Property { /** - * @brief Visual Property + * @brief Enumeration for the instance of properties belonging to the Visual Property. * @SINCE_1_1.45 */ enum { /** * @brief The index for the visual type. - * @details Name "visualType", type [Type](@ref Dali::Toolkit::Visual::Type) (Property::INTEGER) or Property::STRING. + * @details Name "visualType", type [Type](Dali::Toolkit::Visual::Type) (Property::INTEGER) or Property::STRING. * @SINCE_1_1.45 * @note Mandatory. * @see Type @@ -95,7 +95,7 @@ enum * @details Name "transform", type Property::MAP. * @SINCE_1_2.60 * @note Optional. - * @see DevelVisual::Transform::Property + * @see Toolkit::Visual::Transform::Property */ TRANSFORM, @@ -128,28 +128,43 @@ enum } // namespace Property +/** + * @brief Visual Transform for the offset or size. + * @SINCE_1_2.60 + */ namespace Transform { /** * @brief Policies used by the transform for the offset or size. * @SINCE_1_2.60 - * */ namespace Policy { +/** + * @brief Enumeration for the type of Transform Policy. + * @SINCE_1_2.60 + */ enum Type { - RELATIVE = 0, ///< Relative to the control (percentage [0.0f to 1.0f] of the control). - ABSOLUTE = 1 ///< Absolute value in world units. + RELATIVE = 0, ///< Relative to the control (percentage [0.0f to 1.0f] of the control). @SINCE_1_2.60 + ABSOLUTE = 1 ///< Absolute value in world units. @SINCE_1_2.60 }; } // namespace Policy +/** + * @brief Visual Transform Property. + * @SINCE_1_2.60 + */ namespace Property { +/** + * @brief Enumeration for the type of Transform Property. + * @SINCE_1_2.60 + */ enum Type { /** @@ -196,8 +211,8 @@ enum Type * control.SetProperty( ..., // Some visual based property * Property::Map().Add( ... ) // Properties to set up visual * .Add( Visual::Property::TRANSFORM, - * Property::Array().Add( DevelVisual::Transform::Property::OFFSET_POLICY, Vector2( Policy::ABSOLUTE, Policy::RELATIVE ) ) ) - * .Add( DevelVisual::Transform::Property::OFFSET, Vector2( 10, 1.0f ) ) ); + * Property::Array().Add( Toolkit::Visual::Transform::Property::OFFSET_POLICY, Vector2( Policy::ABSOLUTE, Policy::RELATIVE ) ) ) + * .Add( Toolkit::Visual::Transform::Property::OFFSET, Vector2( 10, 1.0f ) ) ); * @endcode * * JSON: @@ -237,21 +252,21 @@ enum Type } // namespace Transform /** - * @brief Shader for Visuals + * @brief Shader for Visuals. * @SINCE_1_1.45 */ namespace Shader { /** - * @brief Shader Property + * @brief Shader Property. * @SINCE_1_1.45 */ namespace Property { /** - * @brief The type of Shader + * @brief The type of Shader. * @SINCE_1_1.45 */ enum @@ -310,6 +325,18 @@ enum } // namespace Shader + +/** + * @brief Status of resource which is used for visual. + * @SINCE_1_3_5 + */ +enum class ResourceStatus +{ + PREPARING, /// Resource is prepared. @SINCE_1_3_5 + READY, /// Resource is ready. @SINCE_1_3_5 + FAILED /// Resource is fail to load @SINCE_1_3_5 +}; + } // namespace Visual /**