X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2Fexamples%2Fuser-alphafunction.cs;h=5b521b041976d8aedf3a84107910c9afe2eafcd2;hp=cd11e87a9ca5cc6ff28049c99ab861c3964cbb13;hb=refs%2Fchanges%2F15%2F112215%2F14;hpb=139f1932acd42bbc9ad3c89c86d4f500052e1ef1 diff --git a/plugins/dali-swig/examples/user-alphafunction.cs b/plugins/dali-swig/examples/user-alphafunction.cs index cd11e87..5b521b0 100755 --- 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; - stage.TouchEvent += OnStageTouched; - stage.TouchEvent += OnStageTouched2; + stage.Touch += OnStageTouched; + stage.Touch += OnStageTouched2; //stage.EventProcessingFinished += OnEventProcessingFinished; - stage.WheelEvent += OnStageWheelEvent; + stage.Wheel += OnStageWheelEvent; // 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 - if( e.TouchData.GetState(0) == PointStateType.DOWN ) + if( e.Touch.GetState(0) == PointStateType.DOWN ) { 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) { - Log("OnStageTouched2() is called!state="+ e.TouchData.GetState(0) ); + Log("OnStageTouched2() is called!state="+ e.Touch.GetState(0) ); } public void OnEventProcessingFinished(object source)