apply FSL(Flora Software License)
[apps/home/gallery.git] / res / edc / gl-nocontents.edc
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
4   * Licensed under the Flora License, Version 1.0 (the "License");
5   * you may not use this file except in compliance with the License.
6   * You may obtain a copy of the License at
7   *
8   *     http://www.tizenopensource.org/license
9   *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16
17 #define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 32
18 #define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 173 170 165 255
19
20    group {
21       name: "elm/layout/nocontents/gallery";
22       styles{
23          style { name: "nocontent_style";
24             base: "font=Helvetica Neue:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=word";
25             tag:  "br" "\n";
26             tag:  "hilight" "+ font=Helvetica Neue:style=Bold";
27             tag:  "b" "+ font=Helvetica Neue:style=Bold";
28             tag:  "tab" "\t";
29          }
30       }
31       images {
32          image: GALLERY_EDC_IMAGE_NOCONTENTS_PIC COMP;
33       }
34       parts {
35          part { name: "bg";
36             scale: 1;
37             type: RECT;
38             description { state: "default" 0.0;
39                visible: 1;
40                rel1 { relative: 0.0 0.0;}
41                rel2 { relative: 1.0 1.0;}
42                color: 0 0 0 0;
43             }
44          }
45          part { name: "nocontents.image";
46             description { state: "default" 0.0;
47                visible: 1;
48                align: 0.5 0.0;
49                rel1 { relative: 203/720 296/1016; to: "bg";}
50                rel2 { relative: (203+314)/720 (296+310)/1016; to: "bg";}
51                image {
52                   normal: GALLERY_EDC_IMAGE_NOCONTENTS_PIC;
53                   border: 1 1 1 1;
54                   border_scale: 1;
55                }
56                aspect: 1.0 1.0;
57                aspect_preference: BOTH;
58             }
59          }
60          part { name: "middle.padding";
61             scale: 1;
62             type: RECT;
63             description { state: "default" 0.0;
64                visible: 0;
65                align: 0.5 0.0;
66                rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
67                rel2 { relative: 1.0 (296+310+54)/1016; to: "bg";}
68             }
69          }
70          part { name: "elm.text";
71             type: TEXTBLOCK;
72             description { state: "default" 0.0;
73                fixed: 0 1;
74                align: 0.5 0.0;
75                visible: 1;
76                rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "middle.padding";}
77                rel2 { relative: 1.0 1.0; to: "bg";}
78                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
79                text {
80                   style: "nocontent_style";
81                   align: 0.5 0.5;
82                   min: 0 0;
83                   max: 0 1;
84                }
85             }
86          }
87       }
88    }