X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Factors%2Factor-api.h;h=509c9763ede2847948de320eb2d24823ca8b0b98;hp=8543f11d8b0ee2c9661f0b615f99d0accfc5a18d;hb=cc82bd9b187cda8fe2c8336b73fd1fa9376cfebd;hpb=77af5d8a3230bf16729573df1866be763938ca40 diff --git a/plugins/dali-script-v8/src/actors/actor-api.h b/plugins/dali-script-v8/src/actors/actor-api.h index 8543f11..509c976 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 );