X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fbuilder%2Fstyle.h;h=441f568fb0045e30657d29e969f2e6488561bbd7;hb=18b2fbead069731d9deb5a634cf98c433d172bbe;hp=bd26a6dc33c9db856df86649fc2a7d172dfd799c;hpb=1e86d6f1a754a11410f1d5b89a4520757cb53ff5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/builder/style.h b/dali-toolkit/internal/builder/style.h index bd26a6d..441f568 100644 --- a/dali-toolkit/internal/builder/style.h +++ b/dali-toolkit/internal/builder/style.h @@ -55,16 +55,41 @@ public: * through sub-states. * * @param[in] handle The handle to apply the visuals to + * @param[in] instancedProperties The maps from which to get instanced properties */ - void ApplyVisualsAndPropertiesRecursively( Handle handle ) const; + void ApplyVisualsAndPropertiesRecursively( Handle handle, + const Dictionary& instancedProperties ) const; /** * Apply the visuals of the style to the control pointed at by * handle. * * @param[in] handle The handle to apply the visuals to + * @param[in] instancedProperties The maps from which to get instanced properties */ - void ApplyVisuals( Handle handle ) const; + void ApplyVisuals( Handle handle, + const Dictionary& instancedProperties ) const; + + /** + * Apply the properties from the visualMaps and the instancedProperties + * to the control pointed at by handle. + * + * @param[in] handle The handle to apply the properties to + * @param[in] visualMaps The visual maps from which to get the styled properties + * @param[in] instancedProperties The maps from which to get instanced properties + */ + static void ApplyVisuals( Handle handle, + const Dictionary& visualMaps, + const Dictionary& instancedProperties ); + + /** + * Apply the properties from the visualMap and optional instancedProperties + * to the control pointed at by handle. + */ + static void ApplyVisual( Handle handle, + const std::string& visualName, + const Property::Map& visualMap, + const Property::Map* instancedProperties ); /** * Apply the properties of the style to the control pointed at by