2 * Copyright (c) 2012 Samsung Electronics Co., Ltd
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
8 * http://floralicense.org/license/
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.
18 #define ALBUM_ITEM_W 358
20 #define ALBUM_ITEM_H 360
25 #define ALBUM_GAP_L 12
26 #define ALBUM_GAP_R 12
27 #define ALBUM_GAP_T 26
29 #define ALBUM_ICON_W 318
30 #define ALBUM_ICON_H 318
32 #define ALBUM_ICON_GAP_L 8
33 #define ALBUM_ICON_GAP_R 8
34 #define ALBUM_ICON_GAP_B 16
35 #define ALBUM_ICON_PAD 3
37 #define ALBUM_TEXT_AREA_W 207
38 #define ALBUM_TEXT_AREA_H 102
39 #define ALBUM_TEXT_GAP_L 4
40 #define ALBUM_TEXT_GAP_R 4
41 #define ALBUM_TEXT_SNS_X 60
42 #define ALBUM_TEXT_NAME_H 32
43 #define ALBUM_TEXT_DATE_H 25
44 #define ALBUM_PBAR_W 183
45 #define ALBUM_PBAR_H 10
46 #define ALBUM_PBAR_GAP_L 6
47 #define ALBUM_PBAR_GAP_T 8
49 #define ALBUM_SNS_ICON_W 32
50 #define ALBUM_SNS_ICON_H 32
52 #define ALBUM_RENAME_BTN_W 64
53 #define ALBUM_RENAME_BTN_H 64
55 #define ALBUM_CHECKBOX_W 42
56 #define ALBUM_CHECKBOX_H 42
57 #define ALBUM_CHECKBOX_GAP_L 1
58 #define ALBUM_CHECKBOX_GAP_T 8
59 #define ALBUM_ICON_BG_COLOR_INC 190 189 189 255
62 name: "elm/gengrid/item/albums_view/gallery_efl/default";
63 data.item: "texts" "elm.text.name elm.text.date elm.text.count";
64 data.item: "contents" "elm.swallow.onlyicon elm.swallow.check_bg label_bg";
66 image: GE_EDC_IMAGE_MAIN_FOLDER_BG COMP;
76 rel1 { relative: 0.0 0.0; }
77 rel2 { relative: 1.0 1.0; }
80 part { name: "icon_bg_img";
85 min : ALBUM_W ALBUM_H;
88 normal : GE_EDC_IMAGE_MAIN_FOLDER_BG;
90 rel1 { relative: ALBUM_GAP_L/ALBUM_ITEM_W ALBUM_GAP_T/ALBUM_ITEM_H; to:"bg"; }
91 rel2 { relative: (ALBUM_ITEM_W-ALBUM_GAP_R-1)/ALBUM_ITEM_W 1.0; to:"bg"; }
94 part { name: "icon_bg";
99 min : ALBUM_ICON_W ALBUM_ICON_H;
100 state: "default" 0.0;
101 color: ALBUM_ICON_BG_COLOR_INC;
102 rel1 { relative: ALBUM_ICON_GAP_L/ALBUM_ICON_W 0.0; to:"icon_bg_img"; }
103 rel2 { relative: (ALBUM_ICON_W-ALBUM_ICON_GAP_R+2)/ALBUM_ICON_W (ALBUM_ICON_H-ALBUM_ICON_GAP_B+2)/ALBUM_ICON_H; to:"icon_bg_img"; }
107 name: "elm.swallow.onlyicon";
112 state: "default" 0.0;
113 rel1 { relative: (ALBUM_ICON_PAD/ALBUM_ICON_W) (ALBUM_ICON_PAD/ALBUM_ICON_H); to: "icon_bg"; }
114 rel2 { relative: (ALBUM_ICON_W-ALBUM_ICON_PAD)/ALBUM_ICON_W (ALBUM_ICON_H-ALBUM_ICON_PAD)/ALBUM_ICON_H; to: "icon_bg"; }
123 state: "default" 0.0;
124 rel1 { relative: (ALBUM_ICON_PAD/ALBUM_ICON_W) (ALBUM_ICON_PAD/ALBUM_ICON_H); offset: 0 0; to: "icon_bg"; }
125 rel2 { relative: ((ALBUM_ICON_PAD+ALBUM_TEXT_AREA_W-1)/ALBUM_ICON_W) ((ALBUM_ICON_PAD+ALBUM_TEXT_AREA_H-1)/ALBUM_ICON_H); offset: 0 0; to: "icon_bg"; }
129 name: "elm.text.date";
135 state: "default" 0.0;
136 rel1 { relative: ALBUM_TEXT_GAP_L/ALBUM_TEXT_AREA_W ALBUM_TEXT_NAME_H/ALBUM_TEXT_AREA_H; to: "label_bg"; }
137 rel2 { relative: (ALBUM_TEXT_AREA_W-ALBUM_TEXT_GAP_L-1)/ALBUM_TEXT_AREA_W (ALBUM_TEXT_NAME_H+ALBUM_TEXT_DATE_H-1)/ALBUM_TEXT_AREA_H; to: "label_bg"; }
138 color: 190 190 190 255;
140 font: "SLP:style=Medium";
148 name: "elm.text.count";
154 state: "default" 0.0;
156 rel1 { relative: ((ALBUM_TEXT_GAP_L+ALBUM_SNS_ICON_W+1)/ALBUM_TEXT_AREA_W) ALBUM_TEXT_SNS_X/ALBUM_TEXT_AREA_H; to: "label_bg"; }
157 rel2 { relative: (ALBUM_TEXT_AREA_W-ALBUM_TEXT_GAP_L-1)/ALBUM_TEXT_AREA_W 1.0; to: "label_bg"; }
158 color: 255 255 255 255;
160 font: "SLP:style=Medium";
168 name: "elm.text.name";
174 state: "default" 0.0;
175 rel1 { relative: (ALBUM_TEXT_GAP_L/ALBUM_TEXT_AREA_W) 0.0; to: "label_bg"; }
176 rel2 { relative: (ALBUM_TEXT_AREA_W-ALBUM_TEXT_GAP_L-1)/ALBUM_TEXT_AREA_W (ALBUM_TEXT_NAME_H-1)/ALBUM_TEXT_AREA_H; to: "label_bg"; }
177 color: 255 255 255 255;
179 font: "SLP:style=Medium";