apply FSL(Flora Software License)
[apps/home/gallery.git] / libug / libug-gallery-efl / res / edc / gallery-efl-selection-info.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 SELINFO_PORT_W          720
18 #define SELINFO_H               48
19 #define SELINFO_TOP_LINE_COLOR  56 56 56 255
20 #define SELINFO_TOP_LINE_H              2
21 #define SELINFO_PAD_L           14
22
23 #define GE_EDC_COLOR_THEME_GRAY  91 91 91 255
24
25 group
26 {
27     name: "elm/standard/selectioninfo/ug_selectioninfo_viewer";
28
29
30     parts {
31         part {
32             name: "bg";
33             type: RECT;
34                         mouse_events: 1;
35             repeat_events: 1;
36             scale : 1;
37             description {
38                   state: "default" 0.0;
39                   min: SELINFO_PORT_W SELINFO_H;
40                   fixed: 1 1;
41                   align: 0.5 1.0;
42                   rel1.relative: 0.5 1.0;
43                   rel2.relative: 0.5 1.0;
44                   color: GE_EDC_COLOR_THEME_GRAY;
45
46             }
47         }
48         part { name: "top_line";
49                                 type: RECT;
50                                 scale : 1;
51                                 description {
52                                         state: "default" 0.0;
53                                         min: 0 SELINFO_TOP_LINE_H;
54                                         fixed: 1 0;
55                                         align: 0.5 0.0;
56                                         rel1 { relative: 0.0 0.0; to: "bg"; }
57                                         rel2 { relative: 1.0 SELINFO_TOP_LINE_H/SELINFO_H; to: "bg"; }
58                                         color: SELINFO_TOP_LINE_COLOR;
59                                 }
60                 }
61                 part { name: "left_padding";
62                         type: RECT;
63                         scale : 1;
64                         description {
65                                 state: "default" 0.0;
66                                 min: SELINFO_PAD_L SELINFO_H;
67                                 fixed: 1 1;
68                                 align: 0.5 0.0;
69                                 rel1 { relative: 0.0 0.0; to: "bg"; }
70                                 rel2 { relative: 0.0 1.0; to: "bg"; }
71                                 color: 0 0 0 0;
72                         }
73                 }
74                 part {
75                         name: "elm.text";
76                         type: TEXT;
77                         mouse_events: 0;
78                         scale: 1;
79                         description {
80                                 state: "default" 0.0;
81                                 align: 0.0 0.5;
82                                 rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg"; }
83                                 rel2 { relative: 1.0 1.0; to: "bg"; }
84                                 color: 255 255 255 255;
85                                 text {
86                                         font: "Helvetica Neue:style=Medium";
87                                         size: 32;
88                                         text: "";
89                                         align: 0.5 0.5;
90                                 }
91                         }
92                 }
93         }
94
95         programs {
96             program {//default selection
97             name: "selectioninfo_portrait";
98             signal: "elm,selectioninfo,ug_portrait";
99             source: "elm";
100             script {
101                 set_state(PART:"bg", "default", 0.0);
102             }
103
104             }
105         }
106 }
107