projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Image and NPatch visual GetProperty returns url
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
image
/
image-visual.cpp
diff --git
a/dali-toolkit/internal/visuals/image/image-visual.cpp
b/dali-toolkit/internal/visuals/image/image-visual.cpp
index
742f068
..
44d9810
100644
(file)
--- a/
dali-toolkit/internal/visuals/image/image-visual.cpp
+++ b/
dali-toolkit/internal/visuals/image/image-visual.cpp
@@
-700,13
+700,27
@@
void ImageVisual::DoCreatePropertyMap( Property::Map& map ) const
void ImageVisual::DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue )
{
void ImageVisual::DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue )
{
- // T
ODO
+ // T
his is where specific Properties can be set.
}
Dali::Property::Value ImageVisual::DoGetProperty( Dali::Property::Index index )
{
}
Dali::Property::Value ImageVisual::DoGetProperty( Dali::Property::Index index )
{
- // TODO
- return Dali::Property::Value();
+ Dali::Property::Value value;
+
+ switch( index )
+ {
+ case Toolkit::ImageVisual::Property::URL:
+ {
+ value = mImageUrl;
+ break;
+ }
+ default:
+ {
+ break;
+ }
+ }
+
+ return value;
}
void ImageVisual::OnSetTransform()
}
void ImageVisual::OnSetTransform()