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
Fix strikethrough coloring for Textlabel
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
public-api
/
image-loader
/
image-url.cpp
diff --git
a/dali-toolkit/public-api/image-loader/image-url.cpp
b/dali-toolkit/public-api/image-loader/image-url.cpp
index
65b9601
..
f936fdc
100644
(file)
--- a/
dali-toolkit/public-api/image-loader/image-url.cpp
+++ b/
dali-toolkit/public-api/image-loader/image-url.cpp
@@
-38,6
+38,12
@@
ImageUrl ImageUrl::New(Texture& texture)
return ImageUrl(internal.Get());
}
return ImageUrl(internal.Get());
}
+ImageUrl ImageUrl::New(const EncodedImageBuffer& encodedImageBuffer)
+{
+ Toolkit::Internal::ImageUrlPtr internal = Toolkit::Internal::ImageUrl::New(encodedImageBuffer);
+ return ImageUrl(internal.Get());
+}
+
ImageUrl ImageUrl::DownCast(BaseHandle handle)
{
return ImageUrl(dynamic_cast<Toolkit::Internal::ImageUrl*>(handle.GetObjectPtr()));
ImageUrl ImageUrl::DownCast(BaseHandle handle)
{
return ImageUrl(dynamic_cast<Toolkit::Internal::ImageUrl*>(handle.GetObjectPtr()));