X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fvisuals%2Fvisual-properties.h;h=94b504b9980070a3d3c6045a485ca2fbdf0c81ce;hb=8b4413e8a39862d8ecb8c60b5c5d3354b48555e3;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..94b504b 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,14 +59,14 @@ 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 @@ -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 Transfrom 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 Transfrom 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