X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Factor-event.i;h=fbf5a8e6e7cfd6e13f0379cc13b1d5bc9fce2882;hp=a2fa54eadd7414dcf9f11221605c7685ed7ed2e5;hb=6eaaeda7321c0c06f561687350a7494d3895290e;hpb=dfebb1e3da197e21bd7f4424ab65884b98f42fea diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index a2fa54e..fbf5a8e 100755 --- a/plugins/dali-swig/SWIG/events/actor-event.i +++ b/plugins/dali-swig/SWIG/events/actor-event.i @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,16 +83,40 @@ } } - public bool StateFocusEnable + public Vector2 ScreenPosition { + get + { + Vector2 temp = new Vector2( 0.0f, 0.0f ); + GetProperty( Actor.Property.SCREEN_POSITION ).Get( temp ); + return temp; + } + } + + protected bool PositionUsesAnchorPoint + { + get + { + bool temp = false; + GetProperty( Actor.Property.POSITION_USES_ANCHOR_POINT ).Get( ref temp ); + return temp; + } set { - SetKeyboardFocusable(value); + SetProperty( Actor.Property.POSITION_USES_ANCHOR_POINT, new Dali.Property.Value( value ) ); } + } + + public bool StateFocusEnable + { get { return IsKeyboardFocusable(); } + set + { + SetKeyboardFocusable(value); + } } public bool IsOnStage