Add start and end property in PaddingType 53/148153/4
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 7 Sep 2017 02:56:55 +0000 (11:56 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 13 Sep 2017 09:34:23 +0000 (18:34 +0900)
- Deprecated Left and Right property in PaddingType
- Added Start and End property in PaddingType for multilingual UI framework
- Removed x, y, width, and height in PaddingType class

Change-Id: Ia1fa15bec7f0f983e3845ce23a6dfb8500cfe41b
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali-csharp-binder/src/dali_wrap.cpp

index da40d06..946ed1d 100755 (executable)
@@ -44181,8 +44181,8 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PaddingType__SWIG_1(float jarg1, f
 
   arg1 = (float)jarg1;
   arg2 = (float)jarg2;
-  arg3 = (float)jarg3;
-  arg4 = (float)jarg4;
+  arg3 = (float)jarg4;
+  arg4 = (float)jarg3;
   {
     try {
       result = (Dali::Rect< float > *)new Dali::Rect< float >(arg1,arg2,arg3,arg4);
@@ -44281,8 +44281,8 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_Set(void * jarg1, float jarg
   arg1 = (Dali::Rect< float > *)jarg1;
   arg2 = (float)jarg2;
   arg3 = (float)jarg3;
-  arg4 = (float)jarg4;
-  arg5 = (float)jarg5;
+  arg4 = (float)jarg5;
+  arg5 = (float)jarg4;
   {
     try {
       (arg1)->Set(arg2,arg3,arg4,arg5);
@@ -44303,28 +44303,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_Set(void * jarg1, float jarg
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_x_set(void * jarg1, float jarg2) {
-  Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
-  float arg2 ;
-
-  arg1 = (Dali::Rect< float > *)jarg1;
-  arg2 = (float)jarg2;
-  if (arg1) (arg1)->x = arg2;
-}
-
-
-SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_x_get(void * jarg1) {
-  float jresult ;
-  Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
-  float result;
-
-  arg1 = (Dali::Rect< float > *)jarg1;
-  result = (float) ((arg1)->x);
-  jresult = result;
-  return jresult;
-}
-
-
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_left_set(void * jarg1, float jarg2) {
   Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
   float arg2 ;
@@ -44347,23 +44325,23 @@ SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_left_get(void * jarg1) {
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_y_set(void * jarg1, float jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_start_set(void * jarg1, float jarg2) {
   Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
   float arg2 ;
 
   arg1 = (Dali::Rect< float > *)jarg1;
   arg2 = (float)jarg2;
-  if (arg1) (arg1)->y = arg2;
+  if (arg1) (arg1)->left = arg2;
 }
 
 
-SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_y_get(void * jarg1) {
+SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_start_get(void * jarg1) {
   float jresult ;
   Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
   float result;
 
   arg1 = (Dali::Rect< float > *)jarg1;
-  result = (float) ((arg1)->y);
+  result = (float) ((arg1)->left);
   jresult = result;
   return jresult;
 }
@@ -44391,23 +44369,23 @@ SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_right_get(void * jarg1) {
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_width_set(void * jarg1, float jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_end_set(void * jarg1, float jarg2) {
   Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
   float arg2 ;
 
   arg1 = (Dali::Rect< float > *)jarg1;
   arg2 = (float)jarg2;
-  if (arg1) (arg1)->width = arg2;
+  if (arg1) (arg1)->right = arg2;
 }
 
 
-SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_width_get(void * jarg1) {
+SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_end_get(void * jarg1) {
   float jresult ;
   Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
   float result;
 
   arg1 = (Dali::Rect< float > *)jarg1;
-  result = (float) ((arg1)->width);
+  result = (float) ((arg1)->right);
   jresult = result;
   return jresult;
 }
@@ -44435,28 +44413,6 @@ SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_bottom_get(void * jarg1) {
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_height_set(void * jarg1, float jarg2) {
-  Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
-  float arg2 ;
-
-  arg1 = (Dali::Rect< float > *)jarg1;
-  arg2 = (float)jarg2;
-  if (arg1) (arg1)->height = arg2;
-}
-
-
-SWIGEXPORT float SWIGSTDCALL CSharp_Dali_PaddingType_height_get(void * jarg1) {
-  float jresult ;
-  Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
-  float result;
-
-  arg1 = (Dali::Rect< float > *)jarg1;
-  result = (float) ((arg1)->height);
-  jresult = result;
-  return jresult;
-}
-
-
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PaddingType_top_set(void * jarg1, float jarg2) {
   Dali::Rect< float > *arg1 = (Dali::Rect< float > *) 0 ;
   float arg2 ;