[DALi][DOC-213] Update overall
authorYoonsang Lee <ysang114.lee@samsung.com>
Wed, 22 Jul 2015 07:46:36 +0000 (16:46 +0900)
committerYoonsang Lee <ysang114.lee@samsung.com>
Wed, 22 Jul 2015 07:46:52 +0000 (16:46 +0900)
Signed-off-by: Yoonsang Lee <ysang114.lee@samsung.com>
Change-Id: I5a56b49e84fc7bda9e9d0b1aba31f557e1075941

org.tizen.ui.guides/html/native/dali/animation_n.htm
org.tizen.ui.guides/html/native/dali/dali_overview_n.htm
org.tizen.ui.guides/html/native/dali/multi_threaded_n.htm
org.tizen.ui.guides/html/native/dali/properties_n.htm

index 1ccaba2..b704de8 100755 (executable)
@@ -47,7 +47,7 @@
 \r
 <p>Animation allows your objects to move around / change their properties for a specified duration.</p>\r
 \r
-<p>DALi provides a rich and easy to use animation framework which allows you to create visually rich applications. <span style="font-family: Courier New,Courier,monospace;">Dali::Animation</span> can be used to animate the animatable properties of any number of objects.</p>\r
+<p>DALi provides a rich and easy to use animation framework which allows you to create visually rich applications. <span style="font-family: Courier New,Courier,monospace;">Dali::Animation</span> can be used to animate the animatable properties of any number of objects (Please see <a href="properties_n.htm#attributes">Attributes of Properties</a> for more details).</p>\r
 \r
 <p>Animation components are shown in the following figure:</p>\r
 \r
index 969d0ed..2e555c4 100755 (executable)
@@ -185,7 +185,7 @@ int main( int argc, char **argv )
 <pre class="prettyprint">#include &lt;dali-toolkit/dali-toolkit.h&gt;</pre>\r
 \r
 <p>The <span style="font-family: Courier New,Courier,monospace;">Dali::Application</span> class (in <a href="../../../../org.tizen.native.mobile.apireference/classDali_1_1Application.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/classDali_1_1Application.html">wearable</a> applications) initializes and sets up DALi.</p>\r
-<p>Several signals can be connected to keep you informed when certain platform related activities occur and ensure that, upon system events, DALi is called in a thread-safe manner.</p>\r
+<p>Several signals can be connected to keep you informed when certain platform related activities occur and ensure that, upon system events, DALi is called in a thread-safe manner. To manage signal connection safely, DALi provides <span style="font-family: Courier New,Courier,monospace;">Dali::ConnectionTracker</span>. A typical way for starting DALi application is creating a class derived from <span style="font-family: Courier New,Courier,monospace;">Dali::ConnectionTracker</span> and using its member functions as callback functions for DALi signals (Please see <a href="event_handling_n.htm#automatic">Automatic Connection Management</a> for more information). This <span style="font-family: Courier New,Courier,monospace;">HelloWorldController</span> class will be used in other code samples in the remainder of this guide.</p>\r
 \r
 <p>Create a <span style="font-family: Courier New,Courier,monospace;">Dali::Application</span> instance:</p>\r
 \r
index 534438b..2972ebb 100755 (executable)
@@ -24,6 +24,7 @@
                <p class="toc-title">Content</p>\r
                <ul class="toc">\r
                        <li><a href="#animations">Animations with Multi-Threading</a></li>\r
+                       <li><a href="#resource">Resource Loading with Multi-Threading</a></li>\r
                </ul>\r
                <!--\r
                <p class="toc-title">Related Info</p>\r
@@ -109,7 +110,11 @@ std::cout &lt;&lt; &quot;Current position: &quot; &lt;&lt; current.x &lt;&lt; &q
 <li>Render frame</li>\r
 </ol>\r
 \r
+<h2 id="resource" name="resource">Resource Loading with Multi-Threading</h2>\r
 \r
+<p>DALi loads resources in seperate threads. Without using these resource threads, a large image file will cause block to process next operation in the main thread while reading data from file system or downloading from network.</p>\r
+\r
+<p>Currently, DALi creates one thread for loading local resources and another for loading remote resources if required.</p>\r
 \r
     \r
 <script type="text/javascript" src="../../scripts/jquery.zclip.min.js"></script>\r
index 766e586..5bd20dd 100755 (executable)
@@ -25,7 +25,7 @@
                <ul class="toc">\r
                        <li><a href="#access">Accessing to Property Values</a></li>\r
                        <li><a href="#usage">Usages of Properties</a></li>\r
-                       <li><a href="#index">Index, Type, and Name</a></li>\r
+                       <li><a href="#attributes">Attributes of Properties</a></li>\r
                </ul>\r
                <p class="toc-title">Related Info</p>\r
                <ul class="toc">\r
@@ -177,15 +177,23 @@ constraint.Apply();
 \r
 <p>Please see <a href="constraints_n.htm">Constraints</a> for more information.</p>\r
 \r
-<h2 id="index" name="index">Index, Type, and Name</h2>\r
+<h2 id="attributes" name="attributes">Attributes of Properties</h2>\r
 \r
-<p>A property has its own index, type, and name.</p>\r
+<p>A property has following attributes:\r
+<ul>\r
+       <li>Index: An enumeration number indicating the property. Property index is usually used to access properties.</li>\r
+       <li>Type: Type of the property. Retrieved by <span style="font-family: Courier New,Courier,monospace;">Dali::Handle::GetPropertyType()</span>.</li>\r
+       <li>Name: Name of the property. Retrieved by <span style="font-family: Courier New,Courier,monospace;">Dali::Handle::GetPropertyName()</span>.</li>\r
+       <li>Writable: If true, the property value can be written. Retrieved by <span style="font-family: Courier New,Courier,monospace;">Dali::Handle::IsPropertyWritable()</span>.</li>\r
+       <li>Animatable: If true, the property can be animated using <span style="font-family: Courier New,Courier,monospace;">Dali::Animation</span>. Retrieved by <span style="font-family: Courier New,Courier,monospace;">Dali::Handle::IsPropertyAnimatable()</span>.</li>\r
+       <li>Constraint-Input: If true, the property can be used as input of constraints. Retrieved by <span style="font-family: Courier New,Courier,monospace;">Dali::Handle::IsPropertyAConstraintInput()</span>.</li>\r
+</ul>\r
 \r
-<p>For example, predefined properties of <span style="font-family: Courier New,Courier,monospace;">Dali::Actor</span> has following indices, types, and names:</p>\r
+<p>For example, predefined properties of <span style="font-family: Courier New,Courier,monospace;">Dali::Actor</span> has following attributes:</p>\r
 \r
        <table>\r
                <caption>\r
-                       Table: Indices, Names, and Types of Properties of Dali::Actor\r
+                       Table: Attributes of Properties of Dali::Actor\r
                </caption>\r
                <tbody>\r
                <tr>\r
@@ -226,7 +234,7 @@ constraint.Apply();
                </tbody>\r
        </table>\r
 \r
-<p>Proper index and type will be only used and property name is currently only for internal use. You can see these information at API reference for property of each class. For example for <span style="font-family: Courier New,Courier,monospace;">Dali::Actor</span>, please see <span style="font-family: Courier New,Courier,monospace;">Dali::Actor::Property</span> (in <a href="../../../../org.tizen.native.mobile.apireference/classDali_1_1CameraActor.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/classDali_1_1CameraActor.html">wearable</a>).</p>\r
+<p>You can see these information at API reference for property of each class. For example for <span style="font-family: Courier New,Courier,monospace;">Dali::Actor</span>, please see <span style="font-family: Courier New,Courier,monospace;">Dali::Actor::Property</span> (in <a href="../../../../org.tizen.native.mobile.apireference/classDali_1_1CameraActor.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/classDali_1_1CameraActor.html">wearable</a>).</p>\r
 \r
 <p>To check all kinds of supported property types, please see <span style="font-family: Courier New,Courier,monospace;">Dali::Property::Type</span> (in <a href="../../../../org.tizen.native.mobile.apireference/classDali_1_1CameraActor.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/classDali_1_1CameraActor.html">wearable</a>) and <span style="font-family: Courier New,Courier,monospace;">Dali::PropertyTypes</span> (in <a href="../../../../org.tizen.native.mobile.apireference/classDali_1_1CameraActor.html">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/classDali_1_1CameraActor.html">wearable</a>).</p>\r
 \r