X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fshared-javascript-and-cpp-documentation%2Fscript-overview.md;h=f02f5577639c81506ceb7a4ac6358ef93511273e;hb=fe706c2b9e0a2ce31c91317dd6749faecef6d92e;hp=6837b334f6cd205daed2f6645e289db61971a238;hpb=a073ebfd862b49692c8e6d7dff2b128e62a4f6df;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/shared-javascript-and-cpp-documentation/script-overview.md b/docs/content/shared-javascript-and-cpp-documentation/script-overview.md index 6837b33..f02f557 100644 --- a/docs/content/shared-javascript-and-cpp-documentation/script-overview.md +++ b/docs/content/shared-javascript-and-cpp-documentation/script-overview.md @@ -14,7 +14,7 @@ DALi has: - JavaScript to support: - Rapid Application Development - Hybrid C++/JavaScript applications - - Leaverage third party JavaScript modules (backbone.js etc) + - Leverage third party JavaScript modules (backbone.js etc) JSON support is built in to DALi. @@ -38,7 +38,7 @@ JSON file contains different sections: - **Templates** actor & control tree creation - **Styles** used to style actor & control trees - **Animations** -- **Instances** of objects for path, shaderEffects, renderTasks, frameBuffers +- **Instances** of objects for path, renderTasks, frameBuffers - **Stage**. A list of actors / controls that can be added to the stage - **Constants** (e.g. positions / colors, that can be references by other parts of the JSON file); - **Actions** @@ -61,21 +61,21 @@ JSON file contains different sections: [ { "name":"usersBackground", - "type":"ImageActor", + "type":"ImageView", "parentOrigin":"CENTER", "anchorPoint":"CENTER", "size":"{DEFAULT_MENU_USER_SIZE}", "colorMode":"USE_OWN_COLOR", - "image":{ "filename":"{IMAGE_PATH}white-pixel.png" }, + "image":{ "url":"{IMAGE_PATH}white-pixel.png" }, "color":"{DEFAULT_MENU_BACKGROUND_COLOR}" }, { "name":"icon", - "type":"ImageActor", + "type":"ImageView", "parentOrigin":"TOP_CENTER", "anchorPoint":"TOP_CENTER", "position":[0,41,1], - "image":{ "filename":"{IMAGE_PATH}ico_man_nor.png" } + "image":{ "url":"{IMAGE_PATH}ico_man_nor.png" } }, ] }, @@ -222,9 +222,9 @@ Animation anim = builder.createAnimation( "animate-show", propertyMap ); }, "actors": [{ "name":"gallery-1", - "type":"ImageActor", + "type":"ImageView", "image": { - "filename": "{DALI_IMAGE_DIR}gallery-large-1.jpg" + "url": "{DALI_IMAGE_DIR}gallery-large-1.jpg" }, "customProperties": { // properties registered dynamically "cellIndices": [0,0],// property to specify the top-left cell this child occupies @@ -262,4 +262,4 @@ script.ExecuteFile( scriptFileName ); @class _Guide_JSON_and_JavaScript_overview -*/ \ No newline at end of file +*/