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
Ensuring Control behaviour flags retain their original values
[platform/core/uifw/dali-toolkit.git]
/
docs
/
content
/
programming-guide
/
hello-world.h
diff --git
a/docs/content/programming-guide/hello-world.h
b/docs/content/programming-guide/hello-world.h
index
c7b5ddd
..
d0cabd7
100644
(file)
--- a/
docs/content/programming-guide/hello-world.h
+++ b/
docs/content/programming-guide/hello-world.h
@@
-1,6
+1,6
@@
/*! \page hello-world Hello World - explained
/*! \page hello-world Hello World - explained
-The following steps are required for displaying the sentence 'Hello World' with D
al
i:
+The following steps are required for displaying the sentence 'Hello World' with D
AL
i:
- initialize the DALi library
- create an Actor showing text
- initialize the DALi library
- create an Actor showing text
@@
-44,14
+44,14
@@
public:
Stage stage = Stage::GetCurrent();
mTextLabel = TextLabel::New( "Hello World" );
Stage stage = Stage::GetCurrent();
mTextLabel = TextLabel::New( "Hello World" );
- mTextLabel.Set
AnchorPoint(
AnchorPoint::TOP_LEFT );
+ mTextLabel.Set
Property( Actor::Property::ANCHOR_POINT,
AnchorPoint::TOP_LEFT );
stage.Add( mTextLabel );
// Respond to a click anywhere on the stage
stage.Add( mTextLabel );
// Respond to a click anywhere on the stage
- stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTouch );
+ stage.GetRootLayer().Touch
ed
Signal().Connect( this, &HelloWorldController::OnTouch );
}
}
- bool OnTouch( Actor actor, const Touch
Data
& touch )
+ bool OnTouch( Actor actor, const Touch
Event
& touch )
{
// quit the application
mApplication.Quit();
{
// quit the application
mApplication.Quit();