X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Factors%2Factor-api.h;h=b1dfd4b58c45c7c38799b6db2110dc9e18d7e920;hb=8a45a421cfad72bfb791f1a98950cb1b9f52f650;hp=9d1bb166b9910b879cfe4bfd7a87ae09884ffa94;hpb=d011049f576aaf534d52180829398b917e08de04;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-script-v8/src/actors/actor-api.h b/plugins/dali-script-v8/src/actors/actor-api.h index 9d1bb16..b1dfd4b 100644 --- a/plugins/dali-script-v8/src/actors/actor-api.h +++ b/plugins/dali-script-v8/src/actors/actor-api.h @@ -68,6 +68,12 @@ namespace ActorApi void RotateBy( const v8::FunctionCallbackInfo< v8::Value >& args ); void ScaleBy( const v8::FunctionCallbackInfo< v8::Value >& args ); + // new function just for JavaScript API, to apply a PathConstraint to an actor + void ApplyPathConstraint( const v8::FunctionCallbackInfo< v8::Value >& args ); + + // new function just for JavaScript API, to remove a PathConstraint from an actor + void RemovePathConstraint( const v8::FunctionCallbackInfo< v8::Value >& args ); + // new function just for JavaScript API, to help developers know what type of actor // they're dealing with, returns actor name as a string void GetActorType( const v8::FunctionCallbackInfo< v8::Value >& args );