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
Fixed for infinity loop mode
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
public-api
/
controls
/
text-controls
/
text-label.cpp
diff --git
a/dali-toolkit/public-api/controls/text-controls/text-label.cpp
b/dali-toolkit/public-api/controls/text-controls/text-label.cpp
index
97e8485
..
7a61615
100644
(file)
--- a/
dali-toolkit/public-api/controls/text-controls/text-label.cpp
+++ b/
dali-toolkit/public-api/controls/text-controls/text-label.cpp
@@
-32,6
+32,14
@@
TextLabel TextLabel::New()
return Internal::TextLabel::New();
}
+TextLabel TextLabel::New( const std::string& text )
+{
+ TextLabel label = Internal::TextLabel::New();
+ label.SetProperty( TextLabel::Property::TEXT, text );
+
+ return label;
+}
+
TextLabel::TextLabel()
{
}