X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2Fexamples%2Fhello-world.cs;h=314c9a8d6eb6af77118d7970284bbdd86ea4efea;hp=324d5ddd8f90497d339ec53ebf73af53b8bb26e4;hb=2a7e2358bd82572eb9c4024655dc0050cc25d0b0;hpb=139f1932acd42bbc9ad3c89c86d4f500052e1ef1 diff --git a/plugins/dali-swig/examples/hello-world.cs b/plugins/dali-swig/examples/hello-world.cs index 324d5dd..314c9a8 100755 --- a/plugins/dali-swig/examples/hello-world.cs +++ b/plugins/dali-swig/examples/hello-world.cs @@ -39,7 +39,7 @@ namespace MyCSharpExample Console.WriteLine("Customized Application Initialize event handler"); Stage stage = Stage.Instance; stage.BackgroundColor = Color.White; - stage.TouchEvent += OnStageTouched; + stage.Touch += OnStageTouched; // Add a _text label to the stage _text = new TextLabel("Hello Mono World"); @@ -66,7 +66,7 @@ namespace MyCSharpExample public void OnStageTouched(object sender, 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 ) { Console.WriteLine("Customized Stage Touch event handler"); // Create a new _animation