Rename property & function for background image of Control 72/37272/2
authorYoonsang Lee <ysang114.lee@samsung.com>
Tue, 24 Mar 2015 00:43:02 +0000 (09:43 +0900)
committerYoonsang Lee <ysang114.lee@samsung.com>
Wed, 25 Mar 2015 01:31:14 +0000 (10:31 +0900)
Update for following changes in dali-toolkit:
Control::Property::BACKGROUND -> Control::Property::BACKGROUND_IMAGE
Control::SetBackground()      -> Control::SetBackgroundImage()
"background"                  -> "background-image"

Change-Id: I4fd1f14509fd14112bfeb38d0f18128b0f61ab2b

resources/scripts/background-color.json

index d8d97b8..30be044 100644 (file)
@@ -41,7 +41,7 @@
       "parent-origin": "CENTER",
       "anchor-point": "TOP_CENTER",
       "size": [400, 150, 1],
-      "background": {
+      "background-image": {
         "image": {
           "filename": "{DALI_IMAGE_DIR}button-background.png"
         }
@@ -55,7 +55,7 @@
       "anchor-point": "BOTTOM_CENTER",
       "size": [400, 150, 1],
       "background-color": [0, 0, 1, 1],
-      "background": {
+      "background-image": {
         "image": {
           "filename": "{DALI_IMAGE_DIR}button-background.png"
         }