X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fdocs%2Fcontent%2Fdali.js;h=e03a9d22dc2c657538e3586118ae732a487191ec;hp=578f6ae8dd49b06baa778fc5978db57517731770;hb=b9f461d2ec1241a63cd866524aaf422b94f057ae;hpb=e8efa9549ccedae5b8377c9eb331aa8392895879 diff --git a/plugins/dali-script-v8/docs/content/dali.js b/plugins/dali-script-v8/docs/content/dali.js index 578f6ae..e03a9d2 100644 --- a/plugins/dali-script-v8/docs/content/dali.js +++ b/plugins/dali-script-v8/docs/content/dali.js @@ -25,8 +25,7 @@ the OpenGL API from developers and provides a clean cross-platform JavaScript fr + Runs all animations in a seperate thread. This helps maintain 60 FPS even if JavaScript is performing a long operation ( e.g. Garbage Collection ). + Provides keyboard / touch / mouse handling - - +![Screen shots](../assets/img/screen-shot.png) ## Running JavaScript from DALi C++ API ``` @@ -39,7 +38,7 @@ mScript.ExecuteFile( mScriptFileName); 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. +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 "onStage". Multi-touch events are received through signals emitted by on-stage actors. The following example shows how to connect a new actor to the stage: ``` @@ -52,7 +51,7 @@ The following example shows how to connect a new actor to the stage: 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. - +![Screen shots](../assets/img/coordinate-system-and-stage.png) * @module DALi