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=26f8991d48f2ef580cee3bfcfa3b9050fa424f08;hp=509c9763ede2847948de320eb2d24823ca8b0b98;hb=8c31a5ca493d17693e53f9909a4453b1fa058ab3;hpb=cc82bd9b187cda8fe2c8336b73fd1fa9376cfebd diff --git a/plugins/dali-script-v8/src/actors/actor-api.h b/plugins/dali-script-v8/src/actors/actor-api.h index 509c976..26f8991 100644 --- a/plugins/dali-script-v8/src/actors/actor-api.h +++ b/plugins/dali-script-v8/src/actors/actor-api.h @@ -64,15 +64,16 @@ namespace ActorApi void ScreenToLocal( const v8::FunctionCallbackInfo< v8::Value >& args ); void SetKeyboardFocusable( const v8::FunctionCallbackInfo< v8::Value >& args ); void IsKeyboardFocusable( const v8::FunctionCallbackInfo< v8::Value >& args ); + void GetNaturalSize( const v8::FunctionCallbackInfo< v8::Value >& args ); + void GetWidthForHeight( const v8::FunctionCallbackInfo& args ); + void GetHeightForWidth( const v8::FunctionCallbackInfo& args ); void TranslateBy( const v8::FunctionCallbackInfo< v8::Value >& args ); 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 ); + void AddRenderer( const v8::FunctionCallbackInfo< v8::Value >& args ); + void GetRendererCount( const v8::FunctionCallbackInfo< v8::Value >& args ); + void GetRendererAt( const v8::FunctionCallbackInfo< v8::Value >& args ); + void RemoveRenderer( 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