JavaScript binding for new mesh APIs
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / actors / actor-api.h
index 38bc95a..26f8991 100644 (file)
@@ -28,7 +28,7 @@ namespace Dali
 namespace V8Plugin
 {
 
-namespace TextViewApi
+namespace TextLabelApi
 {
   /**
    * Temporary TextView constructor
@@ -58,18 +58,22 @@ 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 GetWidthForHeight( const v8::FunctionCallbackInfo<v8::Value>& args );
+  void GetHeightForWidth( const v8::FunctionCallbackInfo<v8::Value>& 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