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 the Styling issue with Custom View.
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-swig
/
examples
/
user-alphafunction.cs
diff --git
a/plugins/dali-swig/examples/user-alphafunction.cs
b/plugins/dali-swig/examples/user-alphafunction.cs
index
cd11e87
..
5b521b0
100755
(executable)
--- a/
plugins/dali-swig/examples/user-alphafunction.cs
+++ b/
plugins/dali-swig/examples/user-alphafunction.cs
@@
-51,10
+51,10
@@
namespace MyCSharpExample
Log("Initialize() is called!");
Stage stage = Stage.GetCurrent();
stage.BackgroundColor = Color.White;
Log("Initialize() is called!");
Stage stage = Stage.GetCurrent();
stage.BackgroundColor = Color.White;
- stage.Touch
Event
+= OnStageTouched;
- stage.Touch
Event
+= OnStageTouched2;
+ stage.Touch += OnStageTouched;
+ stage.Touch += OnStageTouched2;
//stage.EventProcessingFinished += OnEventProcessingFinished;
//stage.EventProcessingFinished += OnEventProcessingFinished;
- stage.Wheel
Event
+= OnStageWheelEvent;
+ stage.Wheel += OnStageWheelEvent;
// Add a _text label to the stage
_text = new TextLabel("Hello Mono World");
// Add a _text label to the stage
_text = new TextLabel("Hello Mono World");
@@
-142,7
+142,7
@@
namespace MyCSharpExample
public void OnStageTouched(object source, Stage.TouchEventArgs e)
{
// Only animate the _text label when touch down happens
public void OnStageTouched(object source, Stage.TouchEventArgs e)
{
// Only animate the _text label when touch down happens
- if( e.Touch
Data
.GetState(0) == PointStateType.DOWN )
+ if( e.Touch.GetState(0) == PointStateType.DOWN )
{
Log("OnStageTouched() is called! PointStateType.DOWN came!");
myCount++;
{
Log("OnStageTouched() is called! PointStateType.DOWN came!");
myCount++;
@@
-157,7
+157,7
@@
namespace MyCSharpExample
// Callback for stage touched signal handling
public void OnStageTouched2(object source, Stage.TouchEventArgs e)
{
// Callback for stage touched signal handling
public void OnStageTouched2(object source, Stage.TouchEventArgs e)
{
- Log("OnStageTouched2() is called!state="+ e.Touch
Data
.GetState(0) );
+ Log("OnStageTouched2() is called!state="+ e.Touch.GetState(0) );
}
public void OnEventProcessingFinished(object source)
}
public void OnEventProcessingFinished(object source)