Merge "accroding to ACR-520's review, dali's related feature and dependency (openGL...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / styles / 720x1280 / dali-toolkit-default-theme.json
index 935744f..029dcbd 100644 (file)
@@ -1,24 +1,20 @@
 /*
-Copyright (c) 2000-2014 Samsung Electronics Co., Ltd All Rights Reserved
-
-This file is part of Dali Toolkit
-
-PROPRIETARY/CONFIDENTIAL
-
-This software is the confidential and proprietary information of
-SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-disclose such Confidential Information and shall use it only in
-accordance with the terms of the license agreement you entered
-into with SAMSUNG ELECTRONICS.
-
-SAMSUNG make no representations or warranties about the suitability
-of the software, either express or implied, including but not limited
-to the implied warranties of merchantability, fitness for a particular
-purpose, or non-infringement. SAMSUNG shall not be liable for any
-damages suffered by licensee as a result of using, modifying or
-distributing this software or its derivatives.
-*/
-
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ *
+ * This file is part of Dali Toolkit
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 
 //******************************************************************************
@@ -34,88 +30,119 @@ distributing this software or its derivatives.
   {
     "textlabel":
     {
-      "point-size":18
+      "pointSize":18,
+      "enableAutoScroll":false,
+      "autoScrollLoopCount":2,
+      "autoScrollGap":50,
+      "autoScrollSpeed":80
     },
 
-    "textlabel-font-size-0":
+    "textlabelFontSize0":
     {
-      "point-size":8
+      "pointSize":8
     },
-    "textlabel-font-size-1":
+    "textlabelFontSize1":
     {
-      "point-size":10
+      "pointSize":10
     },
-    "textlabel-font-size-2":
+    "textlabelFontSize2":
     {
-      "point-size":15
+      "pointSize":15
     },
-    "textlabel-font-size-3":
+    "textlabelFontSize3":
     {
-      "point-size":19
+      "pointSize":19
     },
-    "textlabel-font-size-4":
+    "textlabelFontSize4":
     {
-      "point-size":25
+      "pointSize":25
     },
 
     "textfield":
     {
-      "point-size":18,
-      "primary-cursor-color":[0.0,0.72,0.9,1.0],
-      "secondary-cursor-color":[0.0,0.72,0.9,1.0],
-      "cursor-width":3,
-      "selection-highlight-color":[0.75,0.96,1.0,1.0],
-      "grab-handle-image": { "filename":"{DALI_IMAGE_DIR}cursor_handler_center.png" },
-      "selection-handle-image-left" : {"filename":"{DALI_IMAGE_DIR}selection_handle_left.png" },
-      "selection-handle-image-right": {"filename":"{DALI_IMAGE_DIR}selection_handle_right.png" },
-      "selection-handle-marker-image-left":{ "filename":"{DALI_IMAGE_DIR}selection_marker_left.png" },
-      "selection-handle-marker-image-right":{ "filename":"{DALI_IMAGE_DIR}selection_marker_right.png" }
+      "pointSize":18,
+      "primaryCursorColor":[0.0,0.72,0.9,1.0],
+      "secondaryCursorColor":[0.0,0.72,0.9,1.0],
+      "cursorWidth":3,
+      "selectionHighlightColor":[0.75,0.96,1.0,1.0],
+      "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
+      "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
+      "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
     },
 
-    "textfield-font-size-0":
+    "textfieldFontSize0":
     {
-      "point-size":10
+      "pointSize":10
     },
-    "textfield-font-size-1":
+    "textfieldFontSize1":
     {
-      "point-size":10
+      "pointSize":10
     },
-    "textfield-font-size-2":
+    "textfieldFontSize2":
     {
-      "point-size":10
+      "pointSize":10
     },
-    "textfield-font-size-3":
+    "textfieldFontSize3":
     {
-      "point-size":10
+      "pointSize":10
     },
-    "textfield-font-size-4":
+    "textfieldFontSize4":
     {
-      "point-size":10
+      "pointSize":10
     },
     "textselectionpopup":
     {
-      "popup-max-size":[656,72],
-      "option-divider-size":[2,0],
-      "popup-divider-color":[0.23,0.72,0.8,0.11],
-      "popup-icon-color":[1.0,1.0,1.0,1.0],
-      "popup-pressed-color":[0.24,0.72,0.8,0.11],
-      "background-image": {
-        "filename": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
+      "popupMaxSize":[656,72],
+      "optionDividerSize":[2,0],
+      "popupDividerColor":[0.23,0.72,0.8,0.11],
+      "popupIconColor":[1.0,1.0,1.0,1.0],
+      "popupPressedColor":[0.24,0.72,0.8,0.11],
+      "background": {
+        "rendererType": "IMAGE",
+        "url": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
         },
-      "popup-fade-in-duration":0.25,
-      "popup-fade-out-duration":0.25
+      "popupFadeInDuration":0.25,
+      "popupFadeOutDuration":0.25
     },
     "textselectionpopupbutton":
     {
       "label":
       {
-        "point-size":8,
-        "font-style":"{\"weight\":\"light\"}"
+        "pointSize":8,
+        "fontStyle":"{\"weight\":\"light\"}"
+      }
+    },
+    "textselectiontoolbar":
+    {
+      "enableOvershoot":true,
+      "scrollView":
+      {
+        "overshootAnimationSpeed":360.0,
+        "overshootSize":[720.0,130.0]
       }
     },
     "scrollview":
     {
-      "overshoot-effect-color":"B018"
+      "overshootEffectColor":"B018",
+      "overshootAnimationSpeed":360.0,
+      "overshootSize":[720.0,130.0]
+    },
+    "itemview":
+    {
+      "overshootEffectColor":"B018",
+      "overshootAnimationSpeed":360.0,
+      "overshootSize":[720.0,130.0]
+    },
+    "texteditor":
+    {
+      "pointSize":18,
+      "primaryCursorColor":[0.0,0.72,0.9,1.0],
+      "secondaryCursorColor":[0.0,0.72,0.9,1.0],
+      "cursorWidth":3,
+      "selectionHighlightColor":[0.75,0.96,1.0,1.0],
+      "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
+      "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
+      "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
     }
   }
 }