Programming Guide Updates 92/40092/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 28 May 2015 11:23:27 +0000 (12:23 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 29 May 2015 17:09:15 +0000 (18:09 +0100)
Change-Id: Id1640f5adbc5b9bfcfd2359480a5489322de6865

31 files changed:
build/tizen/docs-internal/dali_internal.doxy
build/tizen/docs/dali.doxy.in
docs/content/main.md
docs/content/programming-guide/animation-multi-threading-notes.h
docs/content/programming-guide/dali-application.h
docs/content/programming-guide/event-system.h
docs/content/programming-guide/handle-body-idiom.h
docs/content/programming-guide/hello-world.h
docs/content/programming-guide/image-actor.h
docs/content/programming-guide/properties.h
docs/content/shared-javascript-and-cpp-documentation/dali-introduction.md
docs/content/shared-javascript-and-cpp-documentation/documentation-guide.md
docs/content/shared-javascript-and-cpp-documentation/fundamentals.md
docs/content/shared-javascript-and-cpp-documentation/high-level-design.md
docs/content/shared-javascript-and-cpp-documentation/javascript-wrapping-guide.md
docs/content/shared-javascript-and-cpp-documentation/multi-touch-guide.md
docs/content/shared-javascript-and-cpp-documentation/performance-profiling.md
docs/content/shared-javascript-and-cpp-documentation/performance-tips.md
docs/content/shared-javascript-and-cpp-documentation/programming-languages.md
docs/content/shared-javascript-and-cpp-documentation/resource-image-scaling.md
docs/content/shared-javascript-and-cpp-documentation/resource-tracking.md
docs/content/shared-javascript-and-cpp-documentation/scene-graph.md [deleted file]
docs/content/shared-javascript-and-cpp-documentation/script-hello.md
docs/content/shared-javascript-and-cpp-documentation/script-json-specification.md
docs/content/shared-javascript-and-cpp-documentation/script-overview.md
docs/content/shared-javascript-and-cpp-documentation/stage-hand.md
docs/content/shared-javascript-and-cpp-documentation/text-field.md
docs/content/shared-javascript-and-cpp-documentation/text-label.md
docs/content/shared-javascript-and-cpp-documentation/texture-atlas.md
docs/content/shared-javascript-and-cpp-documentation/texture-compression.md
docs/generated-internal/README.md

index b6cf664d844c40f2bc71b6284f8083533f3159d2..c5d6aa2ce9175335c7f5b97c37233c4b79d21ca2 100644 (file)
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING      = UTF-8
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = "Dali Internal Documentation"
+PROJECT_NAME           = "DALi Internal Documentation"
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
 # This could be handy for archiving the generated documentation or
index d7c78f90a6cf19f119d0c4118510e3cb8f49a963..438d79db07d9dc0cf7ca9e965b4f94a1a6847cd6 100644 (file)
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING      = UTF-8
 # title of most generated pages and in a few other places.
 # The default value is: My Project.
 
-PROJECT_NAME           = Dali
+PROJECT_NAME           = DALi
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
 # could be handy for archiving the generated documentation or if some version
index 38cd6c4bed8cf1edbe33a03eba4be3aa783c479c..96b8507fdbbdab1035286cf83b526ae131d16e6b 100644 (file)
@@ -9,7 +9,7 @@
  + [DALi Fundamentals](@ref fundamentals)
   + [Actors & Stage](@ref actors-and-stage)
   + [Coordinate System](@ref coordinate-system)
-  + Units & the Default Camera (default unit 1 is 1 pixel with default camera)
+  + [Scene Graph](@ref scene-graph)
   + [Handle / Body Idiom](@ref handle-body-idiom)
   + Signals
   + [Properties](@ref properties)
index 5955eb1f2297b11678c049a547a575e11ca34239..4c0645087cdd69497688347d0034d893b30c8288 100644 (file)
@@ -3,9 +3,9 @@
 
 <h2 class="pg">Multi-threaded Architecture</h2>
 
-Dali animations and rendering occur in a dedicated rendering thread.  This allows animations to run smoothly, regardless of the time taken to process inputs events etc. in application code.
+DALi animations and rendering occur in a dedicated rendering thread.  This allows animations to run smoothly, regardless of the time taken to process inputs events etc. in application code.
 
-Internally Dali contains a scene-graph, which mirrors the Actor hierachy.  The scene-graph objects perform the actual animation & rendering, whilst Actors provide thread-safe access.
+Internally DALi contains a scene-graph, which mirrors the Actor hierachy.  The scene-graph objects perform the actual animation & rendering, whilst Actors provide thread-safe access.
 
 An example actor hierachy is shown below, in which one of the actors is being animated.  The objects in green are created by the application code, whilst the private objects in blue are used in the dedicated rendering thread.
 
index 392128463ac93180fdca13ed037b66900eff2612..3ca80c2a061001d33c92592f21ae7f3318694eee 100644 (file)
@@ -2,7 +2,7 @@
  *
 <h2 class="pg">Creating an Application</h2>
 
-The Adaptor framework provides provides a Dali::Application class which initialises and sets up Dali appropriately so that the application writer does not have to.
+The Adaptor framework provides provides a Dali::Application class which initialises and sets up DALi appropriately so that the application writer does not have to.
 This provides many platform related services.
 
 Several signals can be connected to so that the application writer is informed when certain platform related activities occur.
@@ -13,7 +13,7 @@ The following example shows how to create a Dali::Application instance and conne
 @code
 void CreateProgram(Application& app)
 {
-  // Create Dali components...
+  // Create DALi components...
   Dali::Actor actor = Actor::New();
   ...
 }
index ee9899f6af8b6b066e3ffd9e567676d6394cab32..f3609473225af59c39bf48ab745d32658ab514fb 100644 (file)
@@ -1,10 +1,10 @@
 /*! \page event-system Event Handling
 
-Dali emits several signals to an application to inform it of user actions.
+DALi emits several signals to an application to inform it of user actions.
 
 <h2 class="pg">Touch Events</h2>
 
-An application can be notified when a user interacts with the touch screen on the device by connecting to the touch signal provided by Dali::Actor.  This signal will be emitted by Dali whenever the touch occurs within the connected actor's bounds.
+An application can be notified when a user interacts with the touch screen on the device by connecting to the touch signal provided by Dali::Actor.  This signal will be emitted by DALi whenever the touch occurs within the connected actor's bounds.
 
 Each point on the screen that is currently being touched or where touch has stopped is represented by a Dali::TouchPoint.  This object stores information about the state of the touch point (down, up, motion etc.) and the co-ordinates of the touch.
 
index 89b0f8c979f52a76515dc32719adde939d83f70f..6bd8a9b6ad559c74c97a2233eedcb0272a42f39a 100644 (file)
@@ -1,7 +1,7 @@
 /*! \page handle-body-idiom Handle – body
 <h2 class="pg">What is the Handle/Body (Pimpl) pattern?</h2>
 It is a technique for hiding implementation details in the header file.
-Dali achieves it by using "handles" in the public API. These handles internally contain a reference counted pointer to the concrete implementation.
+DALi achieves it by using "handles" in the public API. These handles internally contain a reference counted pointer to the concrete implementation.
 
 <h2 class="pg">Why does Dali::Object use the Handle/Body (Pimpl) pattern?</h2>
 It provides:
@@ -13,15 +13,15 @@ Implementation details are hidden, only the required API is visible for the appl
 This way the danger of API/ABI breaks is also reduced since the implementation of a class can change without modifying the public API.
 
 \par Easier memory management
-Dali objects have implicit smart-pointer semantics.
-Each Dali::Object contains a single reference counted object which can be intitialized with the static "New" methods in the Dali API.
+DALi objects have implicit smart-pointer semantics.
+Each Dali::Object contains a single reference counted object which can be intitialized with the static "New" methods in the DALi API.
 This means that C++ new/delete operators do not have to be used (or paired) in the user code (RAII idiom).
 Of course there's no way of stopping users from allocating heap memory, but calls to the new operator can be minimised.
 
 <h2 class="pg">What does 'implicit smart-pointer semantics' mean in the case of Dali?</h2>
 
-Since Dali objects are just handles, they can be copied by value. When a Dali object is copied, both the copy and original will point to the same Dali resource.
-The internal Dali resources are reference counted; copying a Dali object will increase the reference count. A resource will not be deleted until all its Dali::Object handles are destroyed, or reset.
+Since DALi objects are just handles, they can be copied by value. When a DALi object is copied, both the copy and original will point to the same DALi resource.
+The internal DALi resources are reference counted; copying a DALi object will increase the reference count. A resource will not be deleted until all its Dali::Object handles are destroyed, or reset.
 
 \code
 class AnimationTest
index 2065659e451e5b6a750f0e0db0fc4426050977fa..9c4383f7311dc4cfe39993fc22e7578e62f3b8b6 100644 (file)
@@ -2,11 +2,11 @@
 
 The following steps are required for displaying the sentence 'Hello World' with Dali:
 
-- initialize the Dali library
+- initialize the DALi library
 - create an Actor showing text
 - add it to the Stage
 
-To understand the basic building blocks of the UI make sure to read the chapter on \link fundamentals Dali Fundamentals\endlink first.
+To understand the basic building blocks of the UI make sure to read the chapter on \link fundamentals DALi Fundamentals\endlink first.
 
 Let's take a look at the code for this test application.
 
@@ -85,8 +85,8 @@ int main( int argc, char **argv )
 
  There are a couple of steps which are very important to understand.
 
- <h2 class="pg"> Initializing Dali </h2>
- The application should not use the Dali library until it has sent the init complete signal!
+ <h2 class="pg"> Initializing DALi </h2>
+ The application should not use the DALi library until it has sent the init complete signal!
  That's why we connect our ExampleApp::Create callback to Dali::Application's SignalInit signal:
  \code
    ...
@@ -96,7 +96,7 @@ int main( int argc, char **argv )
 
  <h2 class="pg"> Reference counting </h2>
  The application should store Actors' and resources' handles.
- Dali objects are reference counted, which makes sure they exist only as long as they are needed.
+ DALi objects are reference counted, which makes sure they exist only as long as they are needed.
  That's why we store the Actor's handle:
  \code
    ...
index 73a1adaeabfb4bae1292cdc1cc2695ce7e47405f..99a42cdb375d8e0541c0cbddf7da6e91b4d3303e 100644 (file)
@@ -23,7 +23,7 @@
  * <h3 class="pg">Resizing at Load Time</h3>
  * An application loading images from an external source will often want to
  * display those images at a lower resolution than their native ones.
- * To support this, %Dali can resize an image at load time so that its
+ * To support this, DALi can resize an image at load time so that its
  * in-memory copy uses less space and its visual quality benefits from being
  * prefiltered.
  * There are four algorithms which can be used to fit an image to a desired
index 0a85d5180f025795546376a6f2796c889d6c9b7b..bde81c2f97ea7199635587ab6ccb1738008e5288 100644 (file)
@@ -3,7 +3,7 @@
 @section what-is-a-property What is a property?
 
 A property is a value used by an object that can be modified or read externally to that object.
-This could be from within Dali or externally by an application.
+This could be from within DALi or externally by an application.
 
 <h2 class="pg">What is a property used for?</h2>
 
index 50262f921cf441eedd48c39173e8cd514d9de194..67ec0a640dc8dd69e2c6a35d0680d548a99a9fd5 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
 # DALi 3D ( Dynamic Animation Library ) {#dali-introduction}
 
 DALi is a quick and easy way of allowing developers to create Rich UI Applications like:
index a1200e650963dd0a44a750930e41890714c8a4e7..42c4d25ae5de3c1d039e1531a39b01e090e9e4ef 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # Writing documentation for the DALi programing guide  {#documentationguide}
 
index 8a243ccc81f100544c651bc5a060de8bf62cb722..8ea1257e8028115e69940dcf4f8874fe55aeb73e 100644 (file)
@@ -1,10 +1,11 @@
-/**
- *
-# Dali Fundamentals  {#fundamentals}
+<!--
+/**-->
+
+# DALi Fundamentals  {#fundamentals}
 
 ## Actors and the Stage {#actors-and-stage}
 
-A Dali application uses a hierachy of Dali::Actor objects to position visible content.  An actor inherits a position relative to its parent, and can be moved relative to this point.  UI controls can be built by combining multiple actors.
+A DALi application uses a hierachy of Dali::Actor objects to position visible content.  An actor inherits a position relative to its parent, and can be moved relative to this point.  UI controls can be built by combining multiple actors.
   
 To display the contents of an actor, it must be connected to the Dali::Stage.  This provides an invisible root (top-level) actor, to which all other actors are added.  A direct or indirect child of the root actor is considered "on-stage".  Multi-touch events are received through signals emitted by on-stage actors.
   
@@ -22,12 +23,14 @@ dali.stage.add( actor );
 
 ## The Coordinate System {#coordinate-system}
 
-The Stage has a 2D size, which matches the size of the application window.  The default coordinate system in Dali has the origin at the top-left corner, with positive X to right, and position Y going
-downwards.  This is intended to be convenient when laying-out 2D views.
+The Stage has a 2D size, which matches the size of the application window.
+The default **unit 1 is 1 pixel with default camera and** the default coordinate system in DALi has the **origin at the top-left corner, with positive X to right, and position Y going
+downwards**.  This is intended to be convenient when laying-out 2D views.
 
 ![ ](../assets/img/coordinate-system-and-stage.png)
 ![ ](coordinate-system-and-stage.png)
 
+
 ## Positioning Actors {#positioning-actors}
 
 An actor inherits its parent's position.  The relative position between the actor & parent is determined by 3 properties:
@@ -36,14 +39,14 @@ An actor inherits its parent's position.  The relative position between the acto
 ![ ](../assets/img/parent-origin.png)
 ![ ](parent-origin.png)
 
-The default is "top-left", which can be visualized in 2D as (0, 0), but is actually Vector3(0, 0, 0.5) in the 3D Dali world.  The actor's position is relative to this point.
+The default is "top-left", which can be visualized in 2D as (0, 0), but is actually Vector3(0, 0, 0.5) in the 3D DALi world.  The actor's position is relative to this point.
 
 2) AnchorPoint.  This Vector3 property defines a point within the child actor's area.
 
 ![ ](../assets/img/anchor-point.png)
 ![ ](anchor-point.png)
 
-The default is "center", which can be visualized in 2D as (0.5, 0.5), but is actually Vector3(0.5, 0.5, 0.5) in the 3D Dali world.  The actor's position is also relative to this point.
+The default is "center", which can be visualized in 2D as (0.5, 0.5), but is actually Vector3(0.5, 0.5, 0.5) in the 3D DALi world.  The actor's position is also relative to this point.
 
 3) Position.  This is the position vector between the parent-origin and anchor-point.
 
@@ -54,7 +57,28 @@ Therefore by default, an actors position is the distance between its center and
 
 An actor added directly to the stage with position (X = stageWidth*0.5, Y = stageHeight*0.5), would appear in the center of the screen.  Likewise an actor with position (X = actorWidth*0.5, Y = actorWidth*0.5), would appear at the top-left of the screen.
 
-Note that since Dali is a 3D toolkit, this behaviour is the result of a default perspective camera setup.
+Note that since DALi is a 3D toolkit, this behaviour is the result of a default perspective camera setup.
+
+## Scene Graph {#scene-graph}
+
+From wikipedia...
+  
+A scene graph is a collection of nodes in a graph or tree structure.
+A node may have many children but often only a single parent,
+with the effect of a parent applied to all its child nodes;
+an operation performed on a group automatically propagates
+its effect to all of its members. In many programs, associating
+a geometrical transformation matrix (see also transformation and matrix)
+at each group level and concatenating such matrices together is an
+efficient and natural way to process such operations. A common feature,
+for instance, is the ability to group related shapes/objects into a
+compound object that can then be moved, transformed, selected,
+etc. as easily as a single object.
+
+### How does this relate to the DALi public API?
+
+Actors are effectively nodes that receive input (touch events) and act as a
+container for draw-able elements (which are also nodes) and other actors.
 
 @class _Guide_DALi_Fundamentals
 
index 81f487759dfa30bc638b3b86d24dc237a0404bd0..eaa18a3c43e1d136a3a54f1873138f6c8f77092e 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # High Level Design {#dali-hld}
 
@@ -10,6 +10,7 @@
  + **DALi Platform Abstraction:** Resource loading & decoding in multiple threads (part of dali-adaptor)
  + **DALi Toolkit:** Reusable UI Controls, Effects & Scripting Support
 
+![ ](../assets/img/architecture.png)
 ![ ](architecture.png)
 
 ## Main, Update & Render Threads {#dali-threads}
@@ -21,6 +22,7 @@ DALi uses a multithreaded architecture in order to provide the best performance
  + **Render Thread:** OpenGL drawing, texture and geometry uploading etc.
  + **Resource Threads:** Loads images and decodes into bitmaps etc.
 
+![ ](../assets/img/dali-threads.png)
 ![ ](dali-threads.png)
 
 */
index 287c8cfc673ddaa6a9a6c0fb7ad802a7933d64b9..b235b612ca3cbdb0482ac5b3db42090d78b6dabd 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
 # JavaScript wrapping guide  {#javascriptwrapping}
 
 This guide outlines what files to modify when the DALi C++ public API changes.
@@ -104,10 +105,11 @@ v8 will detect myActor is a wrapped object, and call getId() on that wrapped obj
 The wrapped object, then forwards the command to the real DALi object.
   
 Whenever we want to access functions / properties of that wrapped object, we unwrap it
-to get access to the Dali object.
+to get access to the DALi object.
   
-Each wrapped object registers with Dali garbage collector so they can be deleted
-when Dali shuts down
+Each wrapped object registers with DALi garbage collector so they can be deleted
+when DALi shuts down
 
 @class _Guide_JavaScript_Wrapping
+
 */
\ No newline at end of file
index ba1fc6d415b10b67f37ceee504252c8b57df5877..f3a1df21602ef37a2d1e9fe3325de4e445b78525 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 Multi-Touch Events
 ==================
@@ -144,5 +144,5 @@ Hit Priority of above Actor tree (all overlays): 1 - Lowest. 6 - Highest.
      touch signals are also emitted from the touch-down actor with an "Interrupted" state.
 
 @class MultiTouch
-*
+
 */
index 1fb8f06f46f937b05ddee0036e8539de859fe583..60a44350c9264bf122e5c5fa4bff6f1cad15ee0f 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # Performance Profiling  {#performanceprofiling}
 
@@ -8,7 +8,7 @@ DALi has many mechanisms for analysing performance including kernel, system and
 
 
 ## Background
-The Dali rendering pipeline has 2 stages.
+The DALi rendering pipeline has 2 stages.
 
 Each stage is typically run once per frame.
 
@@ -42,7 +42,7 @@ To run at a solid 60 FPS (16 milliseconds per frame), it is recommended to stay
 This will leave enough time for the output to be composited (if the system uses a compositor) and to avoid using
 too much CPU power.
   
-The main Dali application thread which deals with event processing is independent of the update / render threads.
+The main DALi application thread which deals with event processing is independent of the update / render threads.
 This means animations won't stop if the main thread decides to do a long operation like downloading a file from the internet.
   
 
@@ -93,13 +93,13 @@ INFO: DALI: 1134155.533672 (seconds), V_SYNC
 
 | Marker | Description
 |--------|-------------
-| V_SYNC.| The heart beat which represents Dali should start creating a new frame if anything has changed. Runs at display refresh rate, typically 60Hz |
-| UPDATE_START | Dali update task has started |
-| UPDATE_START | Dali update task has finished |
-| RENDER_START | Dali render task has started |
-| RENDER_END | Dali render task has finished |
-| PROCESS_EVENT_START | Dali main thread processing events (e.g. in response to a touch event or a timer) |
-| PROCESS_EVENT_START | Dali main thread processing events finished |
+| V_SYNC.| The heart beat which represents DALi should start creating a new frame if anything has changed. Runs at display refresh rate, typically 60Hz |
+| UPDATE_START | DALi update task has started |
+| UPDATE_START | DALi update task has finished |
+| RENDER_START | DALi render task has started |
+| RENDER_END | DALi render task has finished |
+| PROCESS_EVENT_START | DALi main thread processing events (e.g. in response to a touch event or a timer) |
+| PROCESS_EVENT_START | DALi main thread processing events finished |
 | SWAP_START | glSwapBuffers started (todo) |
 | SWAP_END | glSwapBuffers end  (todo) |
 | PAUSE  | Application paused |
@@ -120,7 +120,7 @@ logger.AddMarker(PerformanceLogger::END_EVENT);
 
 ## Statistics logging
 
-Statistics logging uses Dali log output which on Tizen is dlog, but this can also be used on desktop by redirecting stderr to a file.
+Statistics logging uses DALi log output which on Tizen is dlog, but this can also be used on desktop by redirecting stderr to a file.
 
 Setting DALI_LOG_PERFORMANCE_STATS environment variable will enable time stamps.
 
@@ -144,7 +144,7 @@ $ dali-demo
  TableViewInit, min 76.55 ms, max 76.55 ms, total (0.1 secs), avg 76.55 ms, std dev 0.00 ms
 ~~~
 
-If nothing is animating Dali will enter a paused state to save power. At this
+If nothing is animating DALi will enter a paused state to save power. At this
 point nothing will be logged.
 
 ### Custom statistics for application developers
@@ -162,7 +162,7 @@ logger.AddMarker(PerformanceLogger::END_EVENT);
 
 ## Application profiling
 
- The main application thread in Dali is used to process and respond to events such as touch, key, mouse, gestures and timers.
+ The main application thread in DALi is used to process and respond to events such as touch, key, mouse, gestures and timers.
 
 Example:
 ~~~
@@ -193,10 +193,10 @@ DALI_PERFORMANCE_TIMESTAMP_OUTPUT=2 dali-demo
 ~~~
 
 Ftrace is a kernel tracer designed to help developers find out what is going on inside the kernel.
-It can be used for analysing how long Dali takes to perform different tasks and
-what Dali is doing in relation to other system processes / interrupts.
+It can be used for analysing how long DALi takes to perform different tasks and
+what DALi is doing in relation to other system processes / interrupts.
   
-On Tizen if the kernel has been built with ftrace enabled, then Dali can log out to ftrace.
+On Tizen if the kernel has been built with ftrace enabled, then DALi can log out to ftrace.
 This gives exact time stamps of the main events in Dali.
 Current markers that are logged:
 
@@ -226,7 +226,7 @@ $ cat trace
 If the message did not get added to the trace, then check the write permissions on trace_marker file. E.g.
 $ chmod ugoa+w trace_marker
 ~~~
-To view Dali markers in trace file
+To view DALi markers in trace file
 
 ~~~
 $ export DALI_LOG_PERFORMANCE=2
index c8662aa0f98d9d15da35f4a60b069448de5da4f4..7831c7b961d682e2f4bf73723340baf7b17f5d8f 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # Performance Tips {#performancetips}
 
index 545d6c2db9092d544afe6b9bd3924b3048348962..85393d6f5e585add0515d2abfb4e5beba5057cca 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
 # Programming Languages {#programming-languages}
 
 DALi applications can be written in several different programming languages.
index 08519a11349f88b2e24097f1273794593670f9f3..cc21bc04e66dc2200a738532b179ecfa3cf09347 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
 [TOC]
 
 # Resource Image Scaling {#resourceimagescaling}
index 92c1850482ee161b7045cedb3b6c40c164681f2b..9387b4ccf7f10d11b55c1b15227f148e81124a41 100644 (file)
@@ -1,17 +1,18 @@
-/**
- *
+<!--
+/**-->
+
 # Resource Tracking {#resourcetracking}
 
 ## Enable Logging
 
-Setting DALI_ENABLE_LOG environment variable to RESOURCE_LOG will enable resource usage logging in Dali applications.
+Setting DALI_ENABLE_LOG environment variable to RESOURCE_LOG will enable resource usage logging in DALi applications.
 On target resource logging utilizes dlog, but this can also be used on desktop by redirecting stderr to a file.
 The generated information includes any image files that are loaded with their dimensions,
 GPU memory consumption, CPU RAM used and details of texture atlases created.
 
 ## Viewing Resource Logs
 
-dalireslog.sh is installed as part of the dali-adaptor package and can be found in the adaptors/tizen/scripts folder.
+dalireslog.sh is installed as part of the DALi Adaptor package and can be found in the adaptors/tizen/scripts folder.
 The script shows a summary of memory used by resources.
 USAGE:
 ./dalireslog.sh [FILE]
diff --git a/docs/content/shared-javascript-and-cpp-documentation/scene-graph.md b/docs/content/shared-javascript-and-cpp-documentation/scene-graph.md
deleted file mode 100644 (file)
index 3092fa2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# Scene Graph
-## What is a scene graph?
-From wikipedia...
-  
-A scene graph is a collection of nodes in a graph or tree structure.
-A node may have many children but often only a single parent,
-with the effect of a parent applied to all its child nodes;
-an operation performed on a group automatically propagates
-its effect to all of its members. In many programs, associating
-a geometrical transformation matrix (see also transformation and matrix)
-at each group level and concatenating such matrices together is an
-efficient and natural way to process such operations. A common feature,
-for instance, is the ability to group related shapes/objects into a
-compound object that can then be moved, transformed, selected,
-etc. as easily as a single object.
-
- ### How does this relate to the Dali public API?
-
- Actors are effectively nodes that receive input (touch events) and act as a
- container for draw-able elements (which are also nodes) and other actors.
\ No newline at end of file
index 488cb8b6bf3f25e706979be7ef4cc34972e9c6d0..2edd73b62a51c77907a9e6c28c001e7e9407725d 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
  # Hello World - JSON layout{#script-hello}
 
  The following JSON code is the minimum required to put the sentence "Hello World" on the screen.
 ~~~
  ## Hello World - Javascript
 
- The Dali script application is needed to run the Javascript which provides a Javascript runtime and an interface to Dali.
+ The DALi script application is needed to run the Javascript which provides a Javascript runtime and an interface to Dali.
 
 ~~~
  scripting.example hello-world.js
 ~~~
 
- The TextLabel control to display Hello World can be constructed using Javascript dot notation accessing Dali Actor Properties.
+ The TextLabel control to display Hello World can be constructed using Javascript dot notation accessing DALi Actor Properties.
 
 ~~~{.js}
 // JavaScript
@@ -64,4 +65,5 @@
 ~~~
 
 @class _Guide_Script_Hello_World
- */
\ No newline at end of file
+
+*/
\ No newline at end of file
index 002eac7943f13266a9b93764fb88d1f2778eb917..881bdd33a245684a80250ecf90eb88877f50707c 100644 (file)
@@ -1,12 +1,13 @@
-/**
- *
+<!--
+/**-->
+
 [TOC]
 
 # DALi JSON Specification  {#script-json-specification}
 
 ## Overview {#overview}
 
-This document describes the Dali JSON specification.
+This document describes the DALi JSON specification.
 The format is not yet formally versioned within the JSON.
 
 # General format {#format}
@@ -26,10 +27,10 @@ The JSON format supports
 
 
 Concrete Actors and Controls can be created from types registered in the
-Dali Type Registry.
+DALi Type Registry.
 
 Template, style and scene sections all configure Actors and Controls via
-the Dali property system.
+the DALi property system.
 
 The JSON format deviates from the formal JSON specification and allows C style comments.
 
@@ -70,7 +71,7 @@ The JSON format deviates from the formal JSON specification and allows C style c
       "stage":                               // Stage section
       [                                      //
        {                                     // Actors|Controls to create on JSON file load
-       "type": "basic-text",                 // A Dali Control or a template name
+       "type": "basic-text",                 // A DALi Control or a template name
        "styles":["base-theme","light-theme"] // Style list to apply to this instance
        }                                     //
       ]                                      //
@@ -120,7 +121,7 @@ The constants section supports sub-string and full property replacement.
     },                                  //
     ...                                 //
     {                                   //
-      "type":"ImageActor"               // An Dali type or a template name
+      "type":"ImageActor"               // An DALi type or a template name
       "image":                          //
       {                                 //
         "filename":"{IMAGES}b.jpg"      // Image filename substring replacement
@@ -170,7 +171,7 @@ an optional actor sub hierarchy.
    {                                    //
    "basic-text":                        //  The template name
    {                                    //
-     "type":"ImageActor",               //  Concrete Dali Type/Class to create
+     "type":"ImageActor",               //  Concrete DALi Type/Class to create
      "styles":["base-style"],           //  Style list to apply
      "name":"image",                    //  }
      "image":                           //  } property name : value
@@ -193,7 +194,7 @@ an optional actor sub hierarchy.
 ~~~
 
 A template has a special 'type' property which must contain a concrete
-Dali Actor or Control type name.
+DALi Actor or Control type name.
 
 A template has a special 'styles' property which contains a list of
 styles to apply when creating using the template.
@@ -256,7 +257,7 @@ Builder.AnimateTo("light-theme", myActor, TimePeriod(0, 10));
 When applied to an actor tree the actors are referenced by name. Names
 are not unique in Dali.
 
-When a style is applied in code Dali will perform a depth first search
+When a style is applied in code DALi will perform a depth first search
 stopping with the first matching name.
 
 Typically an application developer will apply the style to the template
@@ -493,7 +494,7 @@ builder.addActors( dali.stage.getRootLayer() );
      {
      "type": "TextView",
                                          \\  The Type to create; this can be a
-     ...                                 \\ concrete Dali type (actor/control)
+     ...                                 \\ concrete DALi type (actor/control)
                                          \\ or a template name.
      "styles": ["base-style"]
                                          \\  A list of styles to apply to the
index 311ad9f9a0a9e95a1736df8891598e5855e0aef2..d8eab237e876efe936ceba1c63a121d8336fe9ff 100644 (file)
@@ -1,8 +1,9 @@
-/**
- *
+<!--
+/**-->
+
 # Scripting Overview  {#scriptoverview}
 
-Dali has:
+DALi has:
 - JSON to support:
  - layouting
  - theme / styling
@@ -17,7 +18,7 @@ Dali has:
 
 JSON support is built in to DALi.
 
-JavaScript support is via a plugin held in dali-toolkit, which builds automatically if Google's V8 engine is installed. 
+JavaScript support is via a plugin held in DALi Toolkit, which builds automatically if Google's V8 engine is installed. 
 The V8 version required by DALi can be built and installed using dali-core/scripts/dali_env script.
 
 Files can be loaded inside any DALi application, or from command line using the launcher ( part of dali-demo).
index ea16ab6a294344d4775e4adce225b1c10760371d..d1283e0206c7c71713f39671b01e6c46a4ec09e7 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
 # Stagehand Visual Debugger for DALi {#stagehand}
 
 ![ ](../assets/img/stage-hand/blocks.png)
index 3706bfcfbe12cd37f97b00adfe7582df4b162ec0..79e20edc40c0acaf1b9bfd0d54fd93a717db4a25 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # Text Field {#text-field}
 
index b6719eda3751ef43ec594079f91859aed3fb7667..c08af6ddc70e65aeb8fab376fe81dd87eb7bbabe 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # Text Label {#text-label}
 
index 94c0141a8349cb5a6d7969cabc33aaee874e13b7..36d96f89dcea79f0267ea1f1e65a0f7763336c28 100644 (file)
@@ -1,5 +1,6 @@
-/**
- *
+<!--
+/**-->
+
 # Texture Atlases {#textureatlases}
 
 ## Example demo application
@@ -245,5 +246,4 @@ Alternatively Texture packer has the option to split atlases ( search help for M
 
 @class _Guide_TextureAtlases
 
-*
 */
\ No newline at end of file
index 7da51c6ea3fc9cfe7c0c8c45bdb0fa257d6b4f02..a89212eed9fbb2b504138028530b27b4a68134c7 100644 (file)
@@ -1,5 +1,5 @@
-/**
- *
+<!--
+/**-->
 
 # Texture Compression {#texturecompression}
 
index c79ec248953a36bc9fc63a131295134de1d3bef0..f8acdfb248dac6605233f0a27529d3da1b989c8d 100644 (file)
@@ -1,4 +1,4 @@
-Deep internal documentation for Dali Toolkit.
+Deep internal documentation for DALi Toolkit.
 
 Generate the documentation here as follows:
 
@@ -7,7 +7,7 @@ Generate the documentation here as follows:
     # Start doxygen:
     ./build.sh
 
-Note, the doxfile assumes you have your Dali repositories checked-out
+Note, the doxfile assumes you have your DALi repositories checked-out
 side by side with the following structure:
 
     .