X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fcontrol-devel.h;h=817efd03bd93958b6ca65fea5dba15ad5a633d61;hb=2cdc15bcda53ce7feff32cd2358cc1f4d943cbfa;hp=f6fd3a4f6c2b9227749e20488392b160c176dd56;hpb=d234b59deebc2c0629b70447003199d51ef17054;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/control-devel.h b/dali-toolkit/devel-api/controls/control-devel.h index f6fd3a4..817efd0 100644 --- a/dali-toolkit/devel-api/controls/control-devel.h +++ b/dali-toolkit/devel-api/controls/control-devel.h @@ -20,6 +20,7 @@ // INTERNAL INCLUDES #include +#include namespace Dali { @@ -214,6 +215,15 @@ DALI_IMPORT_API void EnableVisual( Internal::Control& control, Dali::Property::I DALI_IMPORT_API bool IsVisualEnabled( const Internal::Control& control, Dali::Property::Index index ); /** + * @brief Get the loading state of the visual resource. + * + * @param[in] control The control + * @param[in] index The Property index of the visual + * @return Return the loading status (PREPARING, READY and FAILED) of visual resource + */ +DALI_IMPORT_API Toolkit::Visual::ResourceStatus GetVisualResourceStatus( const Internal::Control& control, Dali::Property::Index index ); + +/** * @brief Create a transition effect on the control. * * Only generates an animation if the properties described in the transition