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
(Touch) Updated programming guide, Automated Tests & KeyboardFocusManager to use...
[platform/core/uifw/dali-toolkit.git]
/
docs
/
content
/
programming-guide
/
handle-body-idiom.h
diff --git
a/docs/content/programming-guide/handle-body-idiom.h
b/docs/content/programming-guide/handle-body-idiom.h
index
6bd8a9b
..
05be5f1
100644
(file)
--- a/
docs/content/programming-guide/handle-body-idiom.h
+++ b/
docs/content/programming-guide/handle-body-idiom.h
@@
-51,9
+51,8
@@
A common example is when an actor is added to a container with Dali::Actor::Add(
// At this point we own a Dali::Actor named "container"
// Enter a code block
{
// At this point we own a Dali::Actor named "container"
// Enter a code block
{
- // Create an image actor
- Image img = Image::New(SomeImageFile);
- Actor actor = ImageActor::New(img);
+ // Create an image view
+ Actor actor = Toolkit::ImageView::New(SomeImageFile);
// Add the image actor to a container
container.Add(actor);
// Add the image actor to a container
container.Add(actor);