apply FSL(Flora Software License)
[apps/home/gallery.git] / res / white_theme / edc / gl-selection-notification.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 //including selection info and notification of delete/move/remove/add...
18 #define SELINFO_PORT_W          720
19 #define SELINFO_LAND_W          1280
20 #define SELINFO_H               48
21 #define SELINFO_TOP_LINE_COLOR  215 225 232 255
22 #define SELINFO_COLOR  215 225 232 255
23 #define SELINFO_TEXT_COLOR  77 77 77 255
24 #define SELINFO_TOP_LINE_H              2
25 #define SELINFO_PAD_L           14
26 #define SELINFO_PAD_B           0
27
28         group
29         {
30             name: "elm/standard/selectioninfo/selectioninfo_viewer";
31             parts {
32                         part {
33                                 name: "bg";
34                                 type: RECT;
35                                 mouse_events: 1;
36                                 repeat_events: 1;
37                                 scale : 1;
38                                 description {//default, portrait
39                                         state: "default" 0.0;
40                                         min: SELINFO_PORT_W SELINFO_H;
41                                         fixed: 1 1;
42                                         align: 0.5 1.0;
43                                         rel1.relative: 0.5 1.0;
44                                         rel2.relative: 0.5 1.0;
45                                         color: 0 0 0 0;
46                                 }
47                         }
48                         part {
49                                 name: "base";
50                                 type: RECT;
51                                 mouse_events: 1;
52                                 scale : 1;
53                                 description {
54                                         state: "default" 0.0;
55                                         min: 0 SELINFO_H;
56                                         fixed: 0 1;
57                                         align: 0.5 0.0;
58                                         rel1 { relative: 0.0 0.0; to: "bg"; }
59                                         rel2 { relative: 1.0 0.258; to: "bg"; }
60                                         color: SELINFO_COLOR;
61                                 }
62                         }
63                         part { name: "top_line";
64                                 type: RECT;
65                                 scale : 1;
66                                 description {
67                                         state: "default" 0.0;
68                                         min: 0 SELINFO_TOP_LINE_H;
69                                         fixed: 1 0;
70                                         align: 0.5 0.0;
71                                         rel1 { relative: 0.0 0.0; to: "base"; }
72                                         rel2 { relative: 1.0 SELINFO_TOP_LINE_H/SELINFO_H; to: "base"; }
73                                         color: SELINFO_TOP_LINE_COLOR;
74                                 }
75                         }
76                         part { name: "left_padding";
77                                 type: RECT;
78                                 scale : 1;
79                                 description {
80                                         state: "default" 0.0;
81                                         min: SELINFO_PAD_L SELINFO_H;
82                                         fixed: 1 1;
83                                         align: 0.5 0.0;
84                                         rel1 { relative: 0.0 0.0; to: "base"; }
85                                         rel2 { relative: 0.0 1.0; to: "base"; }
86                                         color: 0 0 0 0;
87                                 }
88                         }
89                         part {
90                                 name: "elm.text";
91                                 type: TEXT;
92                                 mouse_events: 0;
93                                 scale: 1;
94                                 description {
95                                         state: "default" 0.0;
96                                         align: 0.0 0.5;
97                                         rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "base"; }
98                                         rel2 { relative: 1.0 1.0; to: "base"; }
99                                         color:SELINFO_TEXT_COLOR;
100                                         text {
101                                                 font: "SLP:style=Bold";
102                                                 text_class: "slp_bold";
103                                                 size: 32;
104                                                 text: "";
105                                                 align: 0.0 0.5;
106                                         }
107                                 }
108                         }
109             }
110
111                 programs {
112                     program {//default selection
113                     name: "selectioninfo_portrait";
114                     signal: "elm,selectioninfo,portrait";
115                     source: "elm";
116                     script {
117                         set_state(PART:"bg", "default", 0.0);
118                         set_state(PART:"base", "default", 0.0);
119                     }
120
121                     }
122             }
123         }
124