Merge "packaging: spec cleanup" into tizen
[apps/core/preloaded/settings.git] / resource / setting-theme.edc
index cc05940..8d158a8 100755 (executable)
@@ -1,34 +1,24 @@
 /*
-  * 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.
-  */
+ * setting
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://floralicense.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.
+ */
 
 #include "../setting-common/include/setting-common-data-edj-define.h"
-//#include "setting-genlist.edc"
-
-//Cnnot be fixed when select multiple resolution
-#define ITEM_X_DEN (480.0)
-#define ITEM_Y_DEN (90.0)
-#define ITEM_Y_DEN2 (60.0)
-#define MAIN_Y_DEN (800.0)
-
-//#define GROUP_LIST_BG_COLOR_INC 242 238 233 255
 
 images
 {
-       image: "00_input_bg_black.png" COMP;
-       image: "00_input_bg_white.png" COMP;
 }
 
 collections
@@ -38,7 +28,7 @@ collections
                style
                {
                        name: "textblock_style";
-                       base: "font=HelveN_Asia font_size=30 align=center color=#ffffff wrap=char";
+                       base: "font=HelveN_Asia font_size=30 align=left color=#ffffff wrap=char";
                        tag:  "br" "\n";
                        tag:  "hilight" "+ font=HelveN_Asia:style=Bold";
                        tag:  "b" "+ font=HelveN_Asia:style=Bold";
@@ -97,6 +87,7 @@ collections
                                       text
                                           {
                                                  font: "SLP:style=Regular";
+                                                 text_class:"slp_regular";
                                                  size: 32;
                                                  min: 0 0;
                                                  align: 0.5 0.5;
@@ -132,7 +123,7 @@ collections
                                        min: 0 ITEM_Y_DEN;
                                        fixed: 1 1;
                                        align: 0.0 0.0;
-                                       rel1 { relative: 0.0 10/MAIN_Y_DEN; offset: 0 0; to: "bg"; }
+                                       rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg"; }
                                        rel2 { relative: 1.0 0.0; offset: 0 0; to: "bg"; }
                                }
                        }
@@ -147,7 +138,7 @@ collections
                                        state: "default" 0.0;
                                        align: 0.0 0.0;
                                        //rel1 { relative: 0.0 1.0; offset: 0 0; to: "search_bar"; }
-                                       rel1 { relative: 0.0 ITEM_Y_DEN/MAIN_Y_DEN; offset: 0 1; to: "bg"; }
+                                       rel1 { relative: 0.0 1.0; offset: 0 1; to: "search_bar"; }
                                        rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg"; }
                                }
                        }
@@ -169,70 +160,6 @@ collections
                } // end of parts
        }
 
-       group {
-               name: "layout_with_title_datetime"; 
-               parts {
-                       part {
-                               name: "title";
-                               type: TEXT;
-                               scale: 1;
-
-                               description {
-                                       state: "default" 0.0;
-                                       //rel1 { relative: 0.0 0.0; offset: 0 -30;}    // 10 -30, -20, -15
-                                       rel1 { relative: 0.0 0.0; offset: 0 -20;}    // 10 -30, -20, -15
-                                       rel2 { relative: 1.0 0.6; }
-                                       color: 0 0 0 255;
-                                       
-                                       text {
-                                               font: "SLP:style=Roman";
-                                               size: 22;
-                                               align: 0.0 0.5;
-                                       }
-                               }
-                /*Support other theme display*/
-                description {
-                        state: "white" 0.0;
-                        inherit: "default" 0.0;
-                        color: 255 255 255 255;
-                }
-
-                       }
-
-                       part {
-                               name: "layout";
-                               type: SWALLOW;
-                               scale: 1;
-
-                               description {
-                                       state: "default" 0.0;
-                                       rel1 { relative: 0.0 0.3; }
-                                       rel2 { relative: 1.0 1.0; offset: 0 -15;} // -15
-                               }
-                       }
-                       part { name: "padding";
-                               type: SWALLOW;
-                               scale: 1;
-                               description { state: "default" 0.0;
-                                       rel1 { relative: 0.0 0.0;}
-                                       rel2 { relative: 1.0 1.0;}
-                                       color: 0 0 0 0;
-                               }
-                       }
-               }
-
-        /*Support other theme display*/
-        programs {
-                program {//black theme need white text
-                        name: "Change_non_white_theme";
-                        signal: "change,non-white,theme";
-                        source: "title";
-                        action: STATE_SET "white" 0.0;
-                        target: "title";
-                }
-        }
-       }
-
        group
        {
                name:"thumbnail_icon2";
@@ -286,10 +213,6 @@ collections
                        }
                }
        }
-#define TITLE_AREA_H 150
-#define BOTTOM_BAR_AREA_H 114
-#define HD_HEIGHT 1280
-#define WALLPAPER_LAYOUT_H ((HD_HEIGHT)-(TITLE_AREA_H)-(BOTTOM_BAR_AREA_H))
 
        group {
                name: "wallpaper_layout";
@@ -308,6 +231,20 @@ collections
                                }
                        }
                        part {
+                               name: "bg_swallow";
+                               type: SWALLOW;
+                               mouse_events: 0;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       align: 0.0 0.0;
+                                       rel1 { relative: 0.0 0.0; offset: 0 0;}
+                                       rel2 { relative: 1.0 1.0; offset: 0 0;}
+                                       //color: 0 0 0 0;
+                               }
+                       }
+
+                       part {
                                name: "left_swallow_bg";
                                type: RECT;
                                scale: 1;
@@ -350,6 +287,7 @@ collections
                               text
                                   {
                                          font: "SLP:style=Regular";
+                                         text_class:"slp_regular";
                                          size: FONT_SIZE;
                                          min: 0 0;
                                          align: 0.5 0.5;
@@ -405,6 +343,7 @@ collections
                               text
                                   {
                                          font: "SLP:style=Regular";
+                                         text_class:"slp_regular";
                                          size: FONT_SIZE;
                                          min: 0 0;
                                          align: 0.5 0.5;
@@ -429,7 +368,7 @@ collections
                                        rel2 { relative: 704/720 786/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
                                }
                        }
-/*
+
                        part {
                                name: "lock_btn";
                                type: SWALLOW;
@@ -442,7 +381,6 @@ collections
                                        rel2 { relative: 704/720 892/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
                                }
                        }
-*/
 
                } // end of parts
            programs {
@@ -475,6 +413,8 @@ collections
                     target: "left_text";
                     target: "right_text";
             }
+
+
                }
 
        }
@@ -545,3 +485,461 @@ collections
                 }
         }
        }
+
+       group { name: "popup_checkview";
+          parts{
+             part { name: "pad_t";
+                scale : 1;
+                mouse_events: 0;
+                repeat_events: 1;
+                description { state: "default" 0.0;
+                   align: 0.5 0.0;
+                   min: 0 22;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 0.0;to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;to_x: "pad_r";
+                   }
+                }
+             }
+             part { name: "pad_l";
+                scale: 1;
+                description { state: "default" 0.0;
+                   min : 16 0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 0.0 0.0;
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                scale: 1;
+                description { state: "default" 0.0;
+                   min : 16 0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 1.0 0.0;
+                   }
+                   rel2 {
+                      relative: 1.0 1.0;
+                   }
+                   align: 1.0 0.0;
+                }
+             }
+             part{ name:"elm.swallow.content";
+                type: SWALLOW;
+                scale : 1;
+                description { state: "default" 0.0;
+                   min: 380 0;
+                   align: 0.5 0.5;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 0.5 1.0;
+                      to: "pad_t";
+                   }
+                   rel2 {
+                      relative: 0.5 0.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+             part { name: "pad_b";
+                scale : 1;
+                mouse_events: 0;
+                description { state: "default" 0.0;
+                   align: 0.5 1.0;
+                   min: 0 66;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 1.0;to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;to_x: "pad_r";
+                   }
+                }
+             }
+             part { name: "elm.swallow.end";
+                type: SWALLOW;
+                scale : 1;
+                mouse_events: 1;
+                repeat_events: 1;
+                description { state: "default" 0.0;
+                   align: 0.0 0.5;
+                   rel1 {
+                      relative: 0.18 0.0;
+                      to: "pad_b";
+                   }
+                   rel2 {
+                      relative: 1.0 1.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+             part { name: "elm.text";
+                type: TEXT;
+                scale : 1;
+                description { state: "default" 0.0;
+                   text {
+                      font: "SLP:style=Medium";
+                      size: 24;
+                      min: 0 0;
+                      align: 0.5 0.5;
+                     }
+                   color: 0 0 0 255;
+                   align: 0.0 0.5;
+                   rel1 {
+                      relative: 0.0 0.0;
+                      to: "pad_b";
+                   }
+                   rel2 {
+                      relative: 1.0 1.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+          }
+       }
+
+       group { name: "popup_checkview_image";
+          parts {
+             part { name: "pad_t";
+                scale: 1;
+                mouse_events: 0;
+                repeat_events: 1;
+                description { state: "default" 0.0;
+                   align: 0.5 0.0;
+                   min: 0 2;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 0.0;to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 0.0;to_x: "pad_r";
+                   }
+                }
+             }
+             part { name: "pad_l";
+                scale: 1;
+                description { state: "default" 0.0;
+                   min : 2 0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 0.0 0.0;
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                   }
+                   align: 0.0 0.0;
+                }
+             }
+             part { name: "pad_r";
+                scale: 1;
+                description { state: "default" 0.0;
+                   min : 2 0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 1.0 0.0;
+                   }
+                   rel2 {
+                      relative: 1.0 1.0;
+                   }
+                   align: 1.0 0.0;
+                }
+             }
+             part { name:"elm.swallow.content";
+                type: SWALLOW;
+                scale : 1;
+                mouse_events: 1;
+                repeat_events: 1;
+                description { state: "default" 0.0;
+                   min: 0 350;
+                   align: 0.5 1.0;
+                   fixed: 1 0;
+                   rel1 {
+                      relative: 0.0 1.0;
+                      to: "pad_t";
+                   }
+                   rel2 {
+                      relative: 1.0 0.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+             part { name: "pad_b";
+                scale : 1;
+                mouse_events: 0;
+                type: RECT;
+                description { state: "default" 0.0;
+                   align: 0.5 1.0;
+                   min: 0 40;
+                   visible: 0;
+                   fixed: 0 1;
+                   rel1 {
+                      relative: 1.0 1.0;to_x: "pad_l";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;to_x: "pad_r";
+                   }
+                }
+             }
+             part { name: "elm.swallow.end";
+                type: SWALLOW;
+                scale : 1;
+                mouse_events: 1;
+                repeat_events: 1;
+                description { state: "default" 0.0;
+                   align: 0.0 0.5;
+                   min: 42 42;
+                   max: 42 42;
+                   fixed: 1 1;
+                   rel1 {
+                      relative: 0.0 0.0;
+                      to: "pad_b";
+                   }
+                   rel2 {
+                      relative: 0.0 1.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+             part { name: "elm.text";
+                type: TEXT;
+                scale : 1;
+                description { state: "default" 0.0;
+                   text {
+                      font: "SLP:style=Medium";
+                      size: 38;
+                      min: 0 0;
+                      align: 0.0 0.5;
+                   }
+                   color: 0 0 0 255;
+                   align: 0.0 0.5;
+                   rel1 {
+                      relative: 1.0 0.0;
+                      to_x:"elm.swallow.end"; to_y: "pad_b";
+                   }
+                   rel2 {
+                      relative: 1.0 1.0;
+                      to: "pad_b";
+                   }
+                }
+             }
+          }
+       }
+
+       group {
+               name: "screen_mode";
+
+               parts {
+                       part {
+                               name: "bg";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       rel1 { relative: 0.0 0.0; offset: 0 0;}
+                                       rel2 { relative: 1.0 1.0; offset: 0 0;}
+                                       color: 0 0 0 0;
+                               }
+                       }
+                       part {
+                               name: "elm.padding.top";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 0 16;
+                                       fixed: 0 1;
+                                       visible: 0;
+                                       rel2.relative: 1.0 0.0;
+                                       align: 0.0 0.0;
+                               }
+                       }
+                       part {
+                               name: "elm.padding.bottom";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 0 16;
+                                       fixed: 0 1;
+                                       visible: 0;
+                                       rel1.relative: 0.0 1.0;
+                                       align: 0.0 1.0;
+                               }
+                       }
+                       part {
+                               name: "elm.padding.left";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 16 0;
+                                       fixed: 1 0;
+                                       visible: 0;
+                                       rel2.relative: 0.0 1.0;
+                                       align: 0.0 0.0;
+                               }
+                       }
+                       part {
+                               name: "elm.padding.right";
+                               type: RECT;
+                               scale: 1;
+                               description { state: "default" 0.0;
+                                       min: 16 0;
+                                       fixed: 1 0;
+                                       visible: 0;
+                                       rel1.relative: 1.0  0.0;
+                                       align: 1.0 0.0;
+                               }
+                       }
+                       part {
+                               name: "content";
+                               type: SWALLOW;
+                               mouse_events: 1;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       align: 0.5 0.5;
+                                       rel1 {
+                                               relative: 1 1;
+                                               to_x: "elm.padding.left";
+                                               to_y: "elm.padding.top";
+                                       }
+                                       rel2 {
+                                               relative: 0 0;
+                                               to_x: "elm.padding.right";
+                                               to_y: "elm.padding.bottom";
+                                       }
+                               }
+                       }
+               }
+       }
+    group {
+               name: "custom_popup";
+                 parts{
+                       part {
+                               name: "left_padding";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       fixed: 1 0;
+                                       visible: 0;
+                                       align: 0.0 0.5;
+                                       min: 32 0;
+                                       rel1 {
+                                               relative: 0.0 0.0;
+                                       }
+                                       rel2 {
+                                               relative: 0.0 1.0;
+                                       }
+                               }
+                       }
+                       part{
+                               name:"content";
+                               type: SWALLOW;
+                               scale : 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 1 1;
+                                       align: 0.0 0.5;
+                                       fixed: 1 0;
+                                       rel1 {
+                                               relative: 1.0 0.0;
+                                               to_x: "left_padding";
+                                       }
+                                       rel2 {
+                                               relative: 0.0 1.0;
+                                               to_x: "right_padding";
+                                       }
+                               }
+                       }
+                       part{
+                               name:"content2";
+                               type: SWALLOW;
+                               scale : 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 1 1;
+                                       align: 0.0 0.0;
+                                       fixed: 1 0;
+                                       rel1 {
+                                               relative: 1.0 1.0;
+                                               to_x: "left_padding";
+                                               to_y: "content";
+                                       }
+                                       rel2 {
+                                               relative: 0.0 1.0;
+                                               to_x: "right_padding";
+                                               to_y: "content";
+                                       }
+                               }
+                       }
+                       part {
+                               name: "right_padding";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       fixed: 1 0;
+                                       visible: 0;
+                                       align: 1.0 0.5;
+                                       min: 32 0;
+                                       rel1 {
+                                               relative: 1.0 0.0;
+                                       }
+                                       rel2 {
+                                               relative: 1.0 1.0;
+                                       }
+                               }
+                       }
+               }
+       }
+
+       group {
+               name: "silder_text_layout";
+               parts {
+                       part {
+                               name: "padding1";
+                               type: RECT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 0 1;
+                                       fixed: 0 1;
+                                       align: 0.5 0.0;
+                                       rel1 { relative: 0 0; }
+                                       rel2 { relative: 1 0; }
+                                       color: 0 0 0 0;
+                               }
+                       }
+                       part {
+                               name: "text1";
+                               type: TEXT;
+                               scale: 1;
+                               description {
+                                       state: "default" 0.0;
+                                       min: 0 60;
+                                       fixed: 0 1;
+                                       align: 0.5 0.0;
+                                       rel1 { relative: 0 1; to: padding1; }
+                                       rel2 { relative: 1 1; to: padding1; }
+                                       color: 0 0 0 255;
+                                       text {
+                                               font: "SLP:style=Roman";
+                                               size: 36;
+                                               min:  1 0;
+                                               align: 0.0 0.5;
+                                       }
+                               }
+                       }
+               }
+       }
+}