From: Sung-Taek Hong Date: Wed, 8 Apr 2015 13:23:27 +0000 (+0900) Subject: [doc] modify edje resource path from /res/ to /edje/ X-Git-Tag: tizen_3.0/TD_SYNC/20161201~873 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3db339f0a9b37775b56aa34601905ebb27280df6;p=sdk%2Fonline-doc.git [doc] modify edje resource path from /res/ to /edje/ Signed-off-by: Sung-Taek Hong Change-Id: Ib22006de92b7f33ce2e36936ca514edd11313a4d --- diff --git a/org.tizen.guides/html/native/ui/edje_n.htm b/org.tizen.guides/html/native/ui/edje_n.htm index 24b4d26..0eba262 100644 --- a/org.tizen.guides/html/native/ui/edje_n.htm +++ b/org.tizen.guides/html/native/ui/edje_n.htm @@ -80,11 +80,11 @@ $ edje_cc -sd $SOUNDS_DIR -fd $FONTS_DIR -id $IMAGES_DIR
 Building file: ../res/edje/helloworld.edc
 Invoking: EDC Resource Compiler
-edje_cc -sd ../res/sounds -fd ../res/fonts -id ../res/images ../res/edje/helloworld.edc ../res/edje/helloworld.edj
+edje_cc -sd ../edje/sounds -fd ../edje/fonts -id ../edje/images ../res/edje/helloworld.edc ../res/edje/helloworld.edj
 
-

The Tizen SDK compilation log extract shows you that if your EDC file uses pictures, they must be copied to the ./res/images directory. fonts and sounds go to the ./res/fonts and ./res/sounds directory respectively. The SDK builds the helloworld.edj file in the ./res/edje/ folder.

+

The Tizen SDK compilation log extract shows you that if your EDC file uses pictures, they must be copied to the ./edje/images directory. fonts and sounds go to the ./edje/fonts and ./edje/sounds directory respectively. The SDK builds the helloworld.edj file in the ./res/edje/ folder.

Writing Simple EDC File

The code example below shows you the structure of an EDC file. It is a collection of groups that contain parts and programs.

@@ -766,4 +766,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.tutorials/html/native/ui/ecore_effects_tutorial_n.htm b/org.tizen.tutorials/html/native/ui/ecore_effects_tutorial_n.htm index e605b64..b971b28 100644 --- a/org.tizen.tutorials/html/native/ui/ecore_effects_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/ui/ecore_effects_tutorial_n.htm @@ -115,7 +115,7 @@ elm_win_resize_object_add(ad->win, ad->label); evas_object_show(ad->label); -

Next, we create the animation target, which is an Evas object of type Elm_Image. We store the image in the res/images folder of the application. We use the same Tizen logo as in the EDC animation example (res/images/tizen-logo.png).

+

Next, we create the animation target, which is an Evas object of type Elm_Image. We store the image, which is used in the source code, in the res/images folder of the application. On the contrary, we store the image, which is used in the edc file, in the edje/images folder.

// Animation target
 // Setting the image path
diff --git a/org.tizen.tutorials/html/native/ui/edje_effects_tutorial_n.htm b/org.tizen.tutorials/html/native/ui/edje_effects_tutorial_n.htm
index 1fe259f..d6003b6 100644
--- a/org.tizen.tutorials/html/native/ui/edje_effects_tutorial_n.htm
+++ b/org.tizen.tutorials/html/native/ui/edje_effects_tutorial_n.htm
@@ -69,7 +69,7 @@
 

The goal of this tutorial is to create an animation target and buttons to start animations, all this in an EDC (Edje Data Collection) file.

First create an application using Basic EDC UI Application. This model provides a simple application just like the one used in the previous chapter, but with one more element: an .edc file.

Animations can be run at application startup. By default the Basic EDC UI Application model produces an empty window with a title. In this example a Tizen logo is added to the window and the behavior of the window title is changed.

-

The images used by the Edje file are stored in the res/images directory of the application. Copy the Tizen logo available in shared/res/<yourapplicationname>.png into the Edje images directory res/images. Add then the image to the Edje images collection.

+

The images used by the Edje file are stored in the edje/images directory of the application. Copy the Tizen logo available in shared/res/<yourapplicationname>.png into the Edje images directory edje/images. Add then the image to the Edje images collection.

images 
 {
    image: "edceffects.png" COMP;