/* * 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. */ /* 14 + 334 + 10 */ #define ALBUM_ITEM_W 358 /* 26 + 334 */ #define ALBUM_ITEM_H 360 #define ALBUM_W 334 #define ALBUM_H 334 #define ALBUM_GAP_L 12 #define ALBUM_GAP_R 12 #define ALBUM_GAP_T 26 #define ALBUM_ICON_W 318 #define ALBUM_ICON_H 318 #define ALBUM_ICON_GAP_L 8 #define ALBUM_ICON_GAP_R 8 #define ALBUM_ICON_GAP_B 16 #define ALBUM_ICON_PAD 3 #define ALBUM_TEXT_AREA_W 207 #define ALBUM_TEXT_AREA_H 102 #define ALBUM_TEXT_GAP_L 4 #define ALBUM_TEXT_GAP_R 4 #define ALBUM_TEXT_SNS_X 60 #define ALBUM_TEXT_NAME_H 32 #define ALBUM_TEXT_DATE_H 25 #define ALBUM_PBAR_W 183 #define ALBUM_PBAR_H 10 #define ALBUM_PBAR_GAP_L 6 #define ALBUM_PBAR_GAP_T 8 #define ALBUM_SNS_ICON_W 32 #define ALBUM_SNS_ICON_H 32 #define ALBUM_RENAME_BTN_W 64 #define ALBUM_RENAME_BTN_H 64 #define ALBUM_CHECKBOX_W 42 #define ALBUM_CHECKBOX_H 42 #define ALBUM_CHECKBOX_GAP_L 1 #define ALBUM_CHECKBOX_GAP_T 8 #define ALBUM_ICON_BG_COLOR_INC 190 189 189 255 group { name: "elm/gengrid/item/albums_view/gallery_efl/default"; data.item: "texts" "elm.text.name elm.text.date elm.text.count"; data.item: "contents" "elm.swallow.onlyicon elm.swallow.check_bg label_bg"; images { image: GE_EDC_IMAGE_MAIN_FOLDER_BG COMP; } parts { part { name: "bg"; type: RECT; description { state: "default" 0.0; color: 255 0 0 0; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 1.0; } } } part { name: "icon_bg_img"; type: IMAGE; mouse_events: 1; scale : 1; description { min : ALBUM_W ALBUM_H; state: "default" 0.0; image { normal : GE_EDC_IMAGE_MAIN_FOLDER_BG; } rel1 { relative: ALBUM_GAP_L/ALBUM_ITEM_W ALBUM_GAP_T/ALBUM_ITEM_H; to:"bg"; } rel2 { relative: (ALBUM_ITEM_W-ALBUM_GAP_R-1)/ALBUM_ITEM_W 1.0; to:"bg"; } } } part { name: "icon_bg"; type: RECT; mouse_events: 1; scale : 1; description { min : ALBUM_ICON_W ALBUM_ICON_H; state: "default" 0.0; color: ALBUM_ICON_BG_COLOR_INC; rel1 { relative: ALBUM_ICON_GAP_L/ALBUM_ICON_W 0.0; to:"icon_bg_img"; } 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"; } } } part { name: "elm.swallow.onlyicon"; type: SWALLOW; mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; rel1 { relative: (ALBUM_ICON_PAD/ALBUM_ICON_W) (ALBUM_ICON_PAD/ALBUM_ICON_H); to: "icon_bg"; } rel2 { relative: (ALBUM_ICON_W-ALBUM_ICON_PAD)/ALBUM_ICON_W (ALBUM_ICON_H-ALBUM_ICON_PAD)/ALBUM_ICON_H; to: "icon_bg"; } } } part { name: "label_bg"; type: SWALLOW; mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; rel1 { relative: (ALBUM_ICON_PAD/ALBUM_ICON_W) (ALBUM_ICON_PAD/ALBUM_ICON_H); offset: 0 0; to: "icon_bg"; } 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"; } } } part { name: "elm.text.date"; type: TEXT; mouse_events: 1; repeat_events: 1; scale: 1; description { state: "default" 0.0; rel1 { relative: ALBUM_TEXT_GAP_L/ALBUM_TEXT_AREA_W ALBUM_TEXT_NAME_H/ALBUM_TEXT_AREA_H; to: "label_bg"; } 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"; } color: 190 190 190 255; text { font: "SLP:style=Medium"; text_class: "slp"; size: 22; align: 0.0 0.5; } } } part { name: "elm.text.count"; type: TEXT; mouse_events: 1; repeat_events: 1; scale: 1; description { state: "default" 0.0; visible: 1; 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"; } rel2 { relative: (ALBUM_TEXT_AREA_W-ALBUM_TEXT_GAP_L-1)/ALBUM_TEXT_AREA_W 1.0; to: "label_bg"; } color: 255 255 255 255; text { font: "SLP:style=Medium"; text_class: "slp"; size: 38; align: 1.0 0.5; } } } part { name: "elm.text.name"; type: TEXT; mouse_events: 1; repeat_events: 1; scale: 1; description { state: "default" 0.0; rel1 { relative: (ALBUM_TEXT_GAP_L/ALBUM_TEXT_AREA_W) 0.0; to: "label_bg"; } 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"; } color: 255 255 255 255; text { font: "SLP:style=Medium"; text_class: "slp"; size: 28; align: 0.0 0.5; } } } } }