X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Factor-event.i;h=0947698f11f3d3fc0d652490ebcd66052d22a90e;hb=1730389b12a4a189b54c04ce357a7dba026dd7b8;hp=fbf5a8e6e7cfd6e13f0379cc13b1d5bc9fce2882;hpb=6eaaeda7321c0c06f561687350a7494d3895290e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index fbf5a8e..0947698 100755 --- a/plugins/dali-swig/SWIG/events/actor-event.i +++ b/plugins/dali-swig/SWIG/events/actor-event.i @@ -34,7 +34,7 @@ public IntPtr GetPtrfrom ## ClassName () { - return (IntPtr)swigCPtr; + return (IntPtr)swigCPtr; } public Position CurrentPosition @@ -45,7 +45,21 @@ } } - public Size3D CurrentSize + public Size2D Size2D + { + get + { + Size temp = new Size(0.0f,0.0f,0.0f); + GetProperty( Actor.Property.SIZE).Get( temp ); + return new Size2D(temp); + } + set + { + SetProperty( Actor.Property.SIZE, new Dali.Property.Value( new Size(value) ) ); + } + } + + public Size CurrentSize { get { @@ -61,13 +75,13 @@ } } - public bool Visibility - { + public bool Visibility + { get { return IsVisible(); } - } + } public float Opacity { @@ -83,6 +97,20 @@ } } + public Position2D Position2D + { + get + { + Position temp = new Position(0.0f,0.0f,0.0f); + GetProperty( Actor.Property.POSITION).Get( temp ); + return new Position2D(temp); + } + set + { + SetProperty( Actor.Property.POSITION, new Dali.Property.Value( new Position(value) ) ); + } + } + public Vector2 ScreenPosition { get