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=6db75343f7ffa3d4bf03bfd62983793a4a72ff7f;hp=38bc95a2aa88444b32d2b7ebc12ecc4fe07099a7;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=e8efa9549ccedae5b8377c9eb331aa8392895879 diff --git a/plugins/dali-script-v8/src/actors/actor-api.h b/plugins/dali-script-v8/src/actors/actor-api.h index 38bc95a..6db7534 100644 --- a/plugins/dali-script-v8/src/actors/actor-api.h +++ b/plugins/dali-script-v8/src/actors/actor-api.h @@ -1,8 +1,8 @@ -#ifndef __DALI_V8PLUGIN_ACTOR_API_H__ -#define __DALI_V8PLUGIN_ACTOR_API_H__ +#ifndef DALI_V8PLUGIN_ACTOR_API_H +#define DALI_V8PLUGIN_ACTOR_API_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -28,14 +28,6 @@ namespace Dali namespace V8Plugin { -namespace TextViewApi -{ - /** - * Temporary TextView constructor - */ - Actor New( const v8::FunctionCallbackInfo< v8::Value >& args ); -} - namespace ActorApi { @@ -58,28 +50,32 @@ namespace ActorApi void Unparent( const v8::FunctionCallbackInfo< v8::Value >& args); void GetChildAt( const v8::FunctionCallbackInfo< v8::Value >& args); void FindChildByName( const v8::FunctionCallbackInfo< v8::Value >& args); - void FindChildByAlias( const v8::FunctionCallbackInfo< v8::Value >& args); void FindChildById( const v8::FunctionCallbackInfo< v8::Value >& args); void GetParent( const v8::FunctionCallbackInfo< v8::Value >& args ); void GetChildCount( const v8::FunctionCallbackInfo< v8::Value >& args ); 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 MoveBy( const v8::FunctionCallbackInfo< v8::Value >& args ); + void GetNaturalSize( const v8::FunctionCallbackInfo< v8::Value >& args ); + void GetRelayoutSize( 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 ); - void OpacityBy( const v8::FunctionCallbackInfo< v8::Value >& args ); - void ColorBy( 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 void GetActorType( const v8::FunctionCallbackInfo< v8::Value >& args ); - }; // namespace ActorApi } // namespace V8Plugin } // namespace Dali -#endif // header __DALI_V8PLUGIN_ACTOR_API_H__ +#endif // DALI_V8PLUGIN_ACTOR_API_H