tizen_2.0_build
[apps/home/draglock.git] / res / edje / draglock-time.edc
old mode 100644 (file)
new mode 100755 (executable)
index 587852f..a3ed5d9
@@ -1,34 +1,22 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
-  * 
-  * 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.
-  */
-
+ * Copyright 2012  Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
 
 group {
        name: "draglock-time";
 
-       styles {
-               style {
-                       name: "style_time";
-                       base: "font=SLP:style=Medium font_size=140 color=#f9f9f9ff align=right valign=top";
-               }
-               style {
-                       name: "style_time_period";
-                       base: "font=HelveticaNeue:style=Medium font_size=38 color=#f9f9f9ff align=right";
-               }
-       }
-
        parts {
                part {
                        name: "bg";
@@ -116,6 +104,7 @@ group {
                                state: "default" 0.0;
                                text {
                                        font: "SLP:style=Medium";
+                                       text_class: "slp_medium";
                                        size: 34;
                                        min: 0 0;
                                        align: 1.0 0.5;
@@ -156,21 +145,26 @@ group {
 
                part {
                        name: "text.time";
-                       type: TEXTBLOCK;
+                       type: TEXT;
                        scale: 1;
 
                        description {
                                state: "default" 0.0;
-                               text {
-                                       style: "style_time";
-                               }
                                color: 249 249 249 255;
+
                                rel1 {
                                        to: "rect.time";
                                }
                                rel2 {
                                        to: "rect.time";
                                }
+                               text {
+                                       font: "SLP:style=Medium";
+                                       text_class: "slp_medium";
+                                       size: 140;
+                                       min: 0 0;
+                                       align: 1.0 0.5;
+                               }
                        }
                }
 
@@ -183,6 +177,7 @@ group {
                                state: "default" 0.0;
                                min: 314 13;
                                align: 1.0 1.0;
+                               fixed: 1.0 1.0;
 
                                rel1 {
                                        relative: 1.0 1.0;
@@ -205,17 +200,15 @@ group {
 
                part {
                        name: "text.time.period";
-                       type: TEXTBLOCK;
+                       type: TEXT;
                        scale: 1;
 
                        description {
                                state: "default" 0.0;
                                min: 0 38;
                                align: 1 1;
+                               color: 249 249 249 255;
 
-                               text {
-                                       style: "style_time_period";
-                               }
                                rel1 {
                                        relative: 0.0 0.0;
                                        to_x: "bg";
@@ -225,6 +218,13 @@ group {
                                        relative: 0.0 0.0;
                                        to: "rect.time.period";
                                }
+                               text {
+                                       font: "SLP:style=Medium";
+                                       text_class: "slp_medium";
+                                       size: 38;
+                                       min: 0 0;
+                                       align: 1.0 0.0;
+                               }
                        }
                }
        }