diff options
Diffstat (limited to 'mailbox/theme/email-mailbox-theme.edc')
-rwxr-xr-x | mailbox/theme/email-mailbox-theme.edc | 2841 |
1 files changed, 2841 insertions, 0 deletions
diff --git a/mailbox/theme/email-mailbox-theme.edc b/mailbox/theme/email-mailbox-theme.edc new file mode 100755 index 0000000..66bf60c --- /dev/null +++ b/mailbox/theme/email-mailbox-theme.edc @@ -0,0 +1,2841 @@ +/* + * Copyright 2012 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.tizenopensource.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. + */ + +#include "email-mailbox-theme-macro.edc" + +collections +{ + group + { + name: "layout.email.mailbox.hd"; + parts + { + part { name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + } + + part + { + name: "searchbar.bg"; + type: RECT; + scale: 1; + + description + { + state: "default" 0.0; + min: 0 106; + fixed: 0 1; + align: 0.5 0.0; + visible: 1; + color: 255 255 255 0; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 1.0 0.0; to: "bg";} + } + description + { + state: "searchbar_hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + color: 255 255 255 0; + } + } + part { + name: "searchbar"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 0.0; } + } + } + + part + { + name: "list"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + visible: 1; + color: 255 255 255 0; + rel1 { relative: 0.0 1.0; to: "searchbar";} + rel2 { relative: 1.0 1.0; to: "bg";} + } + description + { + state: "list_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part + { + name: "noc"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + color: 255 255 255 0; + visible: 0; + rel1 { relative: 0.0 1.0; to: "searchbar";} + rel2 { relative: 1.0 1.0; to: "bg";} + } + description + { + state: "noc_show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //end parts + + programs { + program { + name: "searchbar_show"; + signal: "show_searchbar"; + source: "search"; + action: STATE_SET "default" 0.0; + target: "searchbar.bg"; + transition: LINEAR 0.1; + } + program { + name: "searchbar_hide"; + signal: "hide_searchbar"; + source: "search"; + action: STATE_SET "searchbar_hide" 0.0; + target: "searchbar.bg"; + transition: LINEAR 0.1; + } + + program { + name: "list_show"; + signal: "show_list"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "list"; + transition: LINEAR 0.1; + } + program { + name: "list_hide"; + signal: "hide_list"; + source: "elm"; + action: STATE_SET "list_hide" 0.0; + target: "list"; + transition: LINEAR 0.1; + } + program { + name: "noc_show"; + signal: "show_noc"; + source: "elm"; + action: STATE_SET "noc_show" 0.0; + target: "noc"; + transition: LINEAR 0.1; + } + program { + name: "noc_hide"; + signal: "hide_noc"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "noc"; + transition: LINEAR 0.1; + } + } + } //end group + + group { + name: "search"; + parts { + part { + name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0;} + rel2 { relative: 1.0 1.0;} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + part { + name: "searchbar_area_category_pad_left"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 16 0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 0.0 1.0; to: "bg";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + part { + name: "searchbar_area_category_top"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 80 16; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";} + rel2 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + part { + name: "searchbar_area_category_bottom"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 80 16; + fixed: 1 1; + align: 0.0 1.0; + rel1 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";} + rel2 { relative: 1.0 1.0; to: "searchbar_area_category_pad_left";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + part { + name: "searchbar_area_category"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 80 80; + max: 80 80; + fixed: 1 1; + align: 0.0 0.5; + rel1 { relative: 1.0 1.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_area_category_top";} + rel2 { relative: 1.0 0.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_area_category_bottom";} + } + } + part { + name: "searchbar_area_entry"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + min: 0 107; + rel1 { relative: 1.0 0.0; + to_x: "searchbar_area_category"; + to_y: "bg"; + } + rel2 { relative: 1.0 1.0; + to_x: "bg"; + to_y: "bg";} + } + } + } //end parts + } //end group + +group { name: "horizontal_bottom_64"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + scale : 1; + description { + state: "default" 0.0; + min: 0 SELECTION_INFO_VER_PADDING_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.32; to: "bg"; } + color: SELECTION_INFO_BACKGROUND_COLOR_INC; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.0; + rel1 { to: "base"; } + rel2 { to: "base"; } + color: SELECTION_INFO_TEXT_COLOR_INC; + text { + font: "SLP"; + size: SELECTION_INFO_TEXT_FONT_SIZE_INC; + text: ""; + text_class: "slp"; + } + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + group + { + name: "layout.email.mailbox"; + parts + { + part { name: "bg"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + } + + part + { + name: "searchbar.bg"; + type: RECT; + + description + { + state: "default" 0.0; + min: 0 69; + fixed: 1 1; + align: 0.0 0.0; + visible: 1; + color: 255 255 255 0; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 1.0 0.0; to: "bg";} + } + description + { + state: "searchbar_hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + color: 255 255 255 0; + } + } + + part { + name: "searchbar"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "searchbar.bg";} + rel2 { relative: 1.0 1.0; to: "searchbar.bg";} + } + } + + part + { + name: "list"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + visible: 1; + color: 255 255 255 0; + rel1 { relative: 0.0 1.0; to: "searchbar.bg";} + rel2 { relative: 1.0 1.0; to: "bg";} + } + description + { + state: "list_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part + { + name: "noc"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + color: 255 255 255 0; + visible: 1; + rel1 { relative: 0.0 1.0; to: "searchbar.bg";} + rel2 { relative: 1.0 1.0; to: "bg";} + } + description + { + state: "noc_hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } //end parts + + programs { + program { + name: "searchbar_show"; + signal: "show_searchbar"; + source: "search"; + action: STATE_SET "default" 0.0; + target: "searchbar.bg"; + transition: LINEAR 0.1; + } + program { + name: "searchbar_hide"; + signal: "hide_searchbar"; + source: "search"; + action: STATE_SET "searchbar_hide" 0.0; + target: "searchbar.bg"; + transition: LINEAR 0.1; + } + + program { + name: "list_show"; + signal: "show_list"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "list"; + transition: LINEAR 0.1; + } + program { + name: "list_hide"; + signal: "hide_list"; + source: "elm"; + action: STATE_SET "list_hide" 0.0; + target: "list"; + transition: LINEAR 0.1; + } + program { + name: "noc_show"; + signal: "show_noc"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "noc"; + transition: LINEAR 0.1; + } + program { + name: "noc_hide"; + signal: "hide_noc"; + source: "elm"; + action: STATE_SET "noc_hide" 0.0; + target: "noc"; + transition: LINEAR 0.1; + } + } + } //end group + + group { name: "title"; + images { + image: "00_winset_title_line.png" COMP; + image: "optionheader_arrow.png" COMP; + } + + script { + public more_show = 0; + } + + parts + { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 108; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 0 0 0 0; + align: 0.0 0.5; + } + } + + part { name: "top_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 11; + fixed: 0 1; + visible: 0; + rel1 { to: "bg"; relative: 0 0; } + rel2 { to: "bg"; relative: 1 0; } + align: 0.0 0.0; + } + } + + part { name: "bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 11; + fixed: 0 1; + visible: 0; + rel1 { to: "bg"; relative: 0 1; } + rel2 { to: "bg"; relative: 1 1; } + align: 0.0 1.0; + } + } + + part { name: "left_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 5 0; + fixed: 1 0; + visible: 0; + rel1 { to: "bg"; relative: 0 0; } + rel2 { to: "bg"; relative: 0 1; } + align: 0.0 0.0; + } + } + + part { name: "right_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 5 0; + fixed: 1 0; + visible: 0; + rel1 { to: "bg"; relative: 1 0; } + rel2 { to: "bg"; relative: 1 1; } + align: 1.0 0.0; + } + } + + part { + name: "title_area"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: (440/720) 0.0; + to_x: "bg"; + to_y: "bottom_padding"; + } + color: 0 0 0 10; + } + } + + part { + name: "txt_title"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: (16/440) 0.0; to: "title_area";} + rel2 { relative: (424/440) (52/88); to: "title_area";} + color : 249 249 249 255; + text { font: "SLP:style=Medium"; + size: 40; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + text_class: "slp"; + } + align: 0.0 0.0; + fixed: 1 1; + min: 0 48; + } + } + + part { name: "sub_left_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 21 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "txt_title"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + align: 0.0 0.0; + } + } + + part { + name: "sub_left_icon"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 32 32; + max: 32 32; + rel1 { + relative: 1.0 1.0; + to_x: "sub_left_padding"; + to_y: "txt_title"; + } + rel2 { + relative: 1.0 0.0; + to_x: "sub_left_padding"; + to_y: "bottom_padding"; + } + align: 0.0 0.5; + } + } + + part { name: "sub_mid_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 10 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to_x: "sub_left_icon"; + to_y: "txt_title"; + } + rel2 { + relative: 1.0 0.0; + to_x: "sub_left_icon"; + to_y: "bottom_padding"; + } + align: 0.0 0.0; + } + } + + part { + name: "sub_right_icon"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 32 32; + max: 32 32; + rel1 { + relative: 1.0 1.0; + to_x: "title_area"; + to_y: "txt_title"; + } + rel2 { + relative: 1.0 0.0; + to_x: "title_area"; + to_y: "bottom_padding"; + } + align: 1.0 0.0; + } + } + + part { + name: "txt_sub"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "sub_mid_padding"; + to_y: "txt_title"; + } + rel2 { + relative: 0.0 0.0; + to_x: "sub_right_icon"; + to_y: "bottom_padding"; + } + color : 249 249 249 255; + text { font: "SLP:style=Medium"; + size: 32; + min: 0 0; + max: 1 0; + align: 0.0 0.5; + text_class: "slp"; + } + align: 0.0 0.0; + fixed: 1 1; + min: 0 40; + } + } + + part { + name: "right_btn"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 0; + min: 120 78; + max: 120 78; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding"; + to_y: "bottom_padding"; + } + } + } + + part { + name: "seperator1"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 2 48; + max: 2 48; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "right_btn"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_btn"; + to_y: "bottom_padding"; + } + image.normal: "00_winset_title_line.png"; + } + } + + part { + name: "left_btn"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 0; + min: 120 78; + max: 120 78; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "seperator1"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "seperator1"; + to_y: "bottom_padding"; + } + } + } + + part { + name: "seperator2"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 2 48; + max: 2 48; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "left_btn"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "left_btn"; + to_y: "bottom_padding"; + } + image.normal: "00_winset_title_line.png"; + } + } + + part { + name: "event_area"; + ignore_flags: ON_HOLD; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { to: "title_area"; relative: 0 0; } + rel2 { to: "title_area"; relative: 1 1; } + } + } + + part { + name: "arrow"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: 28 24; + max: 28 24; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "title_area"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "title_area"; + to_y: "bottom_padding"; + } + image.normal: "optionheader_arrow.png"; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + + programs { + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "event_area"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + + program { + name: "more_show"; + signal: "elm,state,more,show"; + source: ""; + script { + set_int(more_show, 1); + set_state(PART:"arrow", "show", 0.0); + } + } + + program { + name: "more_hide"; + signal: "elm,state,more,hide"; + source: ""; + script { + set_int(more_show, 0); + set_state(PART:"arrow", "default", 0.0); + } + } + } + } + + group { name: "email/dim_area"; + images { + image: "M02_email_popup_bubble_tail_top.png" COMP; + } + + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 153; + min: 0 1127; //213; height(1280) - (indicator(50)+Navi(108)+frameview(909)+10) +5 + max: 9999 213; + fixed: 1 1; + visible: 1; + align: 0.0 1.0; + } + } + part { name: "bubble_tail"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + min: 26 21; + max: 26 21; + align: 0.5 1.0; + + rel1 { relative: (56/720) (10/1122); to: "block_events";} + rel2 { relative: (82/720) (10/1122); to: "block_events";} + image.normal: "M02_email_popup_bubble_tail_top.png"; + } + } + } + programs { + program { + name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events"; + action: SIGNAL_EMIT "action,click" ""; + } + } + } + + group { name: "elm/genlist/item/email.4text.8icon/default"; + alias: "elm/genlist/item_odd/email.4text.8icon/default"; + alias: "elm/genlist/item_compress/email.4text.8icon/default"; + alias: "elm/genlist/item_compress_odd/email.4text.8icon/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.subject elm.text.name elm.text.date elm.text.preview elm.text.num"; + data.item: "contents" "elm.icon.important elm.icon.important.touch elm.icon.num elm.icon.attach elm.icon.colorbar elm.swallow.outbox.progress elm.icon.checkbox elm.icon.checkbox.touch elm.icon.priority elm.icon.lastverb elm.icon.appointment"; + data.item: "flips" "elm.flip.content"; + images { + image: "00_list_bar_press_1x80.png" COMP; + image: "M02_button_06_normal.png" COMP; + } + + parts { + GENLIST_PART_BASE( GENLIST_SIZE_160_INC ) + GENLIST_PART_BG + GENLIST_PART_BG_IMAGE + GENLIST_PART_BOTTOM_LINE + GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC ) + GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC ) + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + part { name: "elm.icon.colorbar"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC; + fixed: 1 1; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + } + } + + part { name: "elm.icon.checkbox.touch"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + max: GENLIST_PADDING_74_INC GENLIST_SIZE_160_INC; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + align: 0.0 0.5; + } + } + part { name: "elm.icon.checkbox"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + max: GENLIST_SIZE_42_INC 0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + align: 0.0 0.5; + } + } + part { name: "elm.padding.icon.checkbox.right"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.icon.checkbox"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "elm.icon.checkbox"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.0; + visible: 0; + } + } + + part { name: "elm.icon.important"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_56_INC GENLIST_SIZE_SLIDE_60_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + align: 1.0 0.0; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.icon.important.touch"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_56_INC GENLIST_SIZE_SLIDE_60_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + align: 1.0 0.0; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.padding.icon.important.left"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + fixed: 1 0; + rel1{ + relative: 0.0 1.0; + to_x: "elm.icon.important"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.important"; + } + align: 1.0 0.0; + visible: 0; + } + } + + part { name: "elm.icon.num"; + clip_to: "disclip"; + type: IMAGE; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + max: 0 GENLIST_SIZE_SLIDE_60_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: 0 GENLIST_SIZE_8_INC; + to_x: "elm.padding.icon.important.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 GENLIST_SIZE_8_INC; + to_x: "elm.padding.icon.important.left"; + to_y: "elm.padding.top"; + } + align: 1.0 0.0; + image.normal: "M02_button_06_normal.png"; + image.border: 5 5 5 5; + } + description { state: "num_enable" 0.0; + inherit: "default" 0.0; + max: GENLIST_HEIGHT_62_INC GENLIST_SIZE_SLIDE_60_INC; + min: GENLIST_SIZE_46_INC GENLIST_SIZE_44_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.text.num"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + max: 0 GENLIST_SIZE_SLIDE_60_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: 0 GENLIST_SIZE_8_INC; + to_x: "elm.padding.icon.important.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 GENLIST_SIZE_8_INC; + to_x: "elm.padding.icon.important.left"; + to_y: "elm.padding.top"; + } + align: 1.0 0.0; + } + description { state: "num_enable" 0.0; + inherit: "default" 0.0; + max: GENLIST_HEIGHT_62_INC GENLIST_SIZE_SLIDE_60_INC; + min: GENLIST_SIZE_46_INC GENLIST_SIZE_44_INC; + text { + font: "SLP:style=Medium"; + size: GENLIST_FONT_32_INC; + min: 1 1; + align: 0.5 0.5; + text_class: "slp_medium"; + } + color: GENLIST_PART_FONT_CONVERTOR_STYLE_COLOR_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.icon.attach"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_SLIDE_60_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_x: "elm.icon.num"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.num"; + to_y: "elm.padding.top"; + } + align: 1.0 0.0; + } + description { state: "attach_enable" 0.0; + inherit: "default" 0.0; + min: GENLIST_SIZE_48_INC GENLIST_SIZE_SLIDE_60_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.text.subject"; + clip_to: "disclip"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_SLIDE_60_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.padding.top"; + } + rel2{ + relative: 0.0 1.0; + to_x: "elm.icon.attach"; + to_y: "elm.padding.top"; + } + align: 0.0 0.0; + text { + style: "genlist_email_textblock_unread_style"; + min: 0 1; + max: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_selected_style"; + } + description { state: "read" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_read_style"; + } + description { state: "unread" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_unread_style"; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.padding.intermediate"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_PADDING_4_INC; + fixed: 0 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.icon.attach"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.icon.attach"; + } + align: 1.0 0.0; + visible: 0; + } + } + + part { name: "elm.icon.priority"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_40_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.padding.intermediate"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.padding.intermediate"; + } + align: 0.0 0.0; + } + description { state: "priority_enable" 0.0; + inherit: "default" 0.0; + min: GENLIST_SIZE_48_INC GENLIST_SIZE_40_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.icon.lastverb"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_40_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.icon.priority"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.padding.icon.checkbox.right"; + to_y: "elm.icon.priority"; + } + align: 0.0 0.0; + } + description { state: "lastverb_enable" 0.0; + inherit: "default" 0.0; + min: GENLIST_SIZE_48_INC GENLIST_SIZE_40_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.text.date"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_154_INC GENLIST_SIZE_40_INC; + fixed: 1 1; + rel1 { + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + align: 1.0 1.0; + color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: GENLIST_FONT_32_INC; + min: 0 1; + align: 1.0 0.5; + text_class: "slp_medium"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_PRESS_COLOR_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + + part { name: "elm.icon.appointment"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_40_INC; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.intermediate"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.intermediate"; + } + align: 1.0 0.0; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.text.name"; + clip_to: "disclip"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_40_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.icon.priority"; + to_y: "elm.padding.intermediate"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.appointment"; + to_y: "elm.padding.intermediate"; + } + align: 0.0 0.0; + text { + style: "genlist_email_textblock2_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock2_selected_style"; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.text.preview"; + clip_to: "disclip"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_40_INC; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x: "elm.icon.lastverb"; + to_y: "elm.padding.bottom"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text.date"; + to_y: "elm.padding.bottom"; + } + align: 0.0 1.0; + color: GENLIST_PART_FONT_CONTENTS_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: GENLIST_FONT_30_INC; + min: 0 1; + align: 0.0 0.5; + text_class: "slp_medium"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_PRESS_COLOR_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.swallow.outbox.progress"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { state: "default" 0.0; + min: GENLIST_SIZE_168_INC 0; + fixed: 1 1; + color: 0 0 0 0; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + } + } + GENLIST_PART_FLIP + GENLIST_PART_DISCLIP + } + + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + target: "elm.text.subject"; + target: "elm.text.name"; + target: "elm.text.date"; + target: "elm.text.preview"; + //GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + target: "elm.text.subject"; + target: "elm.text.name"; + target: "elm.text.date"; + target: "elm.text.preview"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "go_read"; + signal: "elm,state,read"; + source: "elm"; + action: STATE_SET "read" 0.0; + target: "elm.text.subject"; + } + program { name: "go_unread"; + signal: "elm,state,unread"; + source: "elm"; + action: STATE_SET "unread" 0.0; + target: "elm.text.subject"; + } + program { name: "go_attach"; + signal: "elm,state,attach"; + source: "elm"; + action: STATE_SET "attach_enable" 0.0; + target: "elm.icon.attach"; + } + program { name: "go_priority"; + signal: "elm,state,priority"; + source: "elm"; + action: STATE_SET "priority_enable" 0.0; + target: "elm.icon.priority"; + } + program { name: "go_lastverb"; + signal: "elm,state,lastverb"; + source: "elm"; + action: STATE_SET "lastverb_enable" 0.0; + target: "elm.icon.lastverb"; + } + program { name: "go_num"; + signal: "elm,state,num"; + source: "elm"; + action: STATE_SET "num_enable" 0.0; + target: "elm.icon.num"; + target: "elm.text.num"; + } + program { name: "click"; + signal: "mouse,up,1"; + source: "elm.icon.checkbox.touch"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + //GENLIST_PROGRAM_PLAY_BUTTON_PRESS + } + } + + /* NOTE: This style is a temporary style for email application. Otherwise do not use this. */ + group { name: "elm/genlist/item/email.3text.6icon/default"; + alias: "elm/genlist/item_odd/email.3text.6icon/default"; + alias: "elm/genlist/item_compress/email.3text.6icon/default"; + alias: "elm/genlist/item_compress_odd/email.3text.6icon/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.swallow.colorbar elm.swallow.outbox.progress"; + data.item: "flips" "elm.flip.content"; + images { + image: "00_list_bar_press_1x80.png" COMP; + } + parts { + GENLIST_PART_BASE( GENLIST_HEIGHT_129_INC ) + GENLIST_PART_BG + GENLIST_PART_BG_IMAGE + GENLIST_PART_BOTTOM_LINE + GENLIST_PART_PADDING_TOP( GENLIST_PADDING_10_INC ) + GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_10_INC ) + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + part { name: "elm.swallow.colorbar"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + } + } + part { name: "elm.text.3"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_154_INC GENLIST_SIZE_61_INC; + rel1 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + align: 1.0 1.0; + color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: GENLIST_FONT_32_INC; + min: 0 1; + align: 1.0 0.5; + text_class: "slp_medium"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_PRESS_COLOR_INC; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.icon.1"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.text.3"; + } + align: 1.0 0.0; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.padding.icon1.left"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + rel1.to_x: "elm.icon.1"; + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.1"; + } + align: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.text1.rect"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_61_INC; + rel1 { + relative: 1.0 1.0; + to_x: "elm.swallow.colorbar"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.icon1.left"; + to_y: "elm.padding.top"; + } + align: 0.0 0.0; + visible: 0; + } + } + part { name: "elm.text.1"; + clip_to: "disclip"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text1.rect"; + rel2.to: "elm.text1.rect"; + align: 0.0 0.0; + text { + style: "genlist_email_textblock_unread_style"; + min: 0 1; + max: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_selected_style"; + } + description { state: "read" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_read_style"; + } + description { state: "unread" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_unread_style"; + } + description { state: "urgency_read" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_urgency_read_style"; + } + description { state: "urgency_unread" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock_urgency_unread_style"; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.text.2"; + clip_to: "disclip"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.left"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.icon2.left"; + to_y: "elm.padding.bottom"; + } + align: 0.0 0.5; + text { + style: "genlist_email_textblock2_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text.style: "genlist_email_textblock2_selected_style"; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.padding.icon2.left"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.icon.2"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.icon.2"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.icon.2"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_32_INC GENLIST_SIZE_32_INC; + max: GENLIST_SIZE_32_INC GENLIST_SIZE_32_INC; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.icon3.left"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.icon3.left"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.5; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.padding.icon3.left"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.icon.3"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.icon.3"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.icon.3"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_32_INC GENLIST_SIZE_32_INC; + max: GENLIST_SIZE_32_INC GENLIST_SIZE_32_INC; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.icon4.left"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.icon4.left"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.5; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.padding.icon4.left"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.icon.4"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.icon.4"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.icon.4"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_32_INC GENLIST_SIZE_32_INC; + max: GENLIST_SIZE_32_INC GENLIST_SIZE_32_INC; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text.3"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text.3"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.5; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.swallow.outbox.progress"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { state: "default" 0.0; + min: GENLIST_SIZE_168_INC 0; + color: 0 0 0 0; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + } + } + GENLIST_PART_FLIP + GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + target: "elm.text.1"; + target: "elm.text.2"; + target: "elm.text.3"; + //GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + target: "elm.text.1"; + target: "elm.text.2"; + target: "elm.text.3"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + GENLIST_PROGRAM_FLIP_3TEXT_2ICON + program { name: "go_read"; + signal: "elm,state,read"; + source: "elm"; + action: STATE_SET "read" 0.0; + target: "elm.text.1"; + } + program { name: "go_unread"; + signal: "elm,state,unread"; + source: "elm"; + action: STATE_SET "unread" 0.0; + target: "elm.text.1"; + } + program { name: "go_urgeny_unread"; + signal: "elm,state,urgency_unread"; + source: "elm"; + action: STATE_SET "urgency_unread" 0.0; + target: "elm.text.1"; + } + program { name: "go_urgency_read"; + signal: "elm,state,urgency_read"; + source: "elm"; + action: STATE_SET "urgency_read" 0.0; + target: "elm.text.1"; + } + //GENLIST_PROGRAM_PLAY_BUTTON_PRESS + } + } + + + group { name: "elm/genlist/item/email.grouptitle/default"; + alias: "elm/genlist/item_odd/email.grouptitle/default"; + alias: "elm/genlist/item_compress/email.grouptitle/default"; + alias: "elm/genlist/item_compress_odd/email.grouptitle/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "treesize" "GENLIST_TREESIZE_32_INC"; + + images { + image: "00_index_list_bg.png" COMP; + } + parts { + GENLIST_PART_INDEX_LIST_BASE_EVENT_INC + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + part { name: "rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_49_INC; + color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC; + } + description { state: "alpha_off" 0.0; + min: 0 GENLIST_SIZE_48_INC; + color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC; + } + } + GENLIST_PART_INDEX_LIST_BASE_IMAGE_INC + + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.left"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "elm.padding.right"; + } + color: GENLIST_PART_FONT_INDEX_LIST_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: GENLIST_FONT_32_INC; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + } + } + program { + name: "enable_alpha"; + signal: "elm,state,alpha,enable"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "rect"; + } + program { + name: "disable_alpha"; + signal: "elm,state,alpha,disable"; + source: "elm"; + action: STATE_SET "alpha_off" 0.0; + target: "rect"; + } + program { + name: "selected"; + source: "rect"; + signal: "mouse,clicked,1"; + action: SIGNAL_EMIT "elm,title_action,item,click" "elm"; + } + } + + group { name: "elm/genlist/item/dialogue/email.1text.1icon.2/default"; + alias: "elm/genlist/item_odd/dialogue/email.1text.1icon.2/default"; + alias: "elm/genlist/item_compress/dialogue/email.1text.1icon.2/default"; + alias: "elm/genlist/item_compress_odd/dialogue/email.1text.1icon.2/default"; + alias: "elm/layout/dialogue/email.1text.1icon.2"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + data.item: "flips" "elm.flip.content"; + parts { + GENLIST_PART_BASE( GENLIST_HEIGHT_113_INC ) + GENLIST_PART_BG_IMAGE + GENLIST_PART_BOTTOM_LINE + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_32_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + GENLIST_PART_DIALOGUE_ITEM + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC GENLIST_SIZE_64_INC; + max: GENLIST_SIZE_64_INC GENLIST_SIZE_64_INC; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.left"; + } + rel2 { + relative: 1.0 1.0; + to_x: "elm.padding.left"; + } + align: 0.0 0.5; + } + GENLIST_DESCRIPTION_FLIP_ENABLED + } + part { name: "elm.padding.icon.right"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.icon"; + } + rel2.to_x: "elm.icon"; + align: 0.0 0.0; + visible: 0; + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.icon.right"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + } + align: 0.0 0.0; + color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC; + text { + font: "SLP:style=Roman"; + size: GENLIST_FONT_44_INC; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_PRESS_COLOR_INC; + } + GENLIST_DESCRIPTION_INVISIBLE_SELECTED + GENLIST_DESCRIPTION_FLIP_ENABLED + } + GENLIST_PART_FLIP + GENLIST_PART_DISCLIP + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT + //GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + GENLIST_PROGRAM_FLIP_1TEXT_1ICON + //GENLIST_PROGRAM_PLAY_BUTTON_PRESS + } + } + + group { name: "elm/genlist/item/email.edit_default/default"; + alias: "elm/genlist/item_odd/email.edit_default/default"; + alias: "elm/genlist/item_compress/email.edit_default/default"; + alias: "elm/genlist/item_compress_odd/email.edit_default/default"; + alias: "elm/genlist/tree/email.edit_default/default"; + alias: "elm/genlist/tree_odd/email.edit_default/default"; + alias: "elm/genlist/tree_compress/email.edit_default/default"; + alias: "elm/genlist/tree_compress_odd/email.edit_default/default"; + data.item: "stacking" "above"; + data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2"; + + images { + image: "01_list_reorder_bg_above.png" COMP; + image: "01_list_reorder_bg_below.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + GENLIST_PART_PADDING_TOP( 0 ) + GENLIST_PART_PADDING_BOTTOM( 0 ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + + part { name: "elm.padding.reorder"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + visible: 0; + rel2.relative: 0.0 1.0; + align: 1.0 0.0; + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "elm.decorate_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.reorder"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 1.0 0.0; + to_y: "elm.padding.bottom"; + } + color: GENLIST_PART_BG_COLOR_INC; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: GENLIST_PART_LIST_PRESS_COLOR_INC; + } + } + + part { name: "elm.padding.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.reorder"; + } + rel2.to_x: "elm.padding.reorder"; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + } + } + + part { name: "elm.edit.icon.1"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 1.0 0.0; + offset: 0 0; + to_x: "elm.padding.left"; + to_y: "elm.padding.bottom"; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + } + } + + part { name: "elm.padding.icon1.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.edit.icon.1"; + } + rel2.to_x: "elm.edit.icon.1"; + align: 0.0 0.0; + } + } + + part { name: "elm.swallow.decorate.content"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon1.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.2 0.0; + to_x: "elm.edit.icon.2"; + to_y: "elm.padding.bottom"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flipped" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 1.3 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + } + } + part { name: "elm.padding.icon2.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.swallow.decorate.content"; + } + rel2.to_x: "elm.swallow.decorate.content"; + align: 0.0 0.0; + } + } + + part { name: "elm.edit.icon.2"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + visible: 1; + rel1 { + relative: 1.0 0.0; + offset: -GENLIST_SIZE_16_INC GENLIST_SIZE_6_INC; + } + rel2 { + relative: 1.0 1.0; + offset: -GENLIST_SIZE_16_INC -GENLIST_SIZE_8_INC; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + } + } + + part { name: "bottom_line"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + min: 0 0; + fixed: 0 1; + visible: 1; + color: GENLIST_PART_LIST_LINE_COLOR_INC; + rel1 { + relative: 0.0 1.0; + to_x: "elm.decorate_bg"; + offset: 0 -1; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + min: 0 GENLIST_SIZE_8_INC; + fixed: 0 1; + } + } + part { name: "reorder_glow_above"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 -0.3; + rel2.relative: 1.0 0.0; + image { + normal: "01_list_reorder_bg_above.png"; + } + fill.smooth: 0; + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "reorder_glow_below"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.3; + image { + normal: "01_list_reorder_bg_below.png"; + } + fill.smooth: 0; + } + description { state: "reorder" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + GENLIST_PART_DISCLIP + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.decorate_bg"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "elm.decorate_bg"; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + // decorate mode enable signal + program { name: "decorate_mode_enabled_effect"; + signal: "elm,state,decorate,enabled,effect"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: DECELERATE 0.7; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + target: "bottom_line"; + } + program { name: "decorate_mode_disabled_effect"; + signal: "elm,state,decorate,disabled,effect"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.7; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + target: "bottom_line"; + } + program { name: "decorate_mode_enabled"; + signal: "elm,state,decorate,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + target: "bottom_line"; + } + program { name: "decorate_mode_disabled"; + signal: "elm,state,decorate,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + target: "bottom_line"; + } + + // reorder signal + program { name: "reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "reorder" 0.0; + target: "elm.padding.reorder"; + } + program { name: "reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.padding.reorder"; + } + + program { name: "reorder_enabled_effect"; + signal: "elm,state,reorder_enabled_effect"; + source: "elm"; + action: STATE_SET "reorder" 0.0; + transition: DECELERATE 0.7; + target: "elm.padding.reorder"; + } + program { name: "reorder_disabled_effect"; + signal: "elm,state,reorder_disabled_effect"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.7; + target: "elm.padding.reorder"; + } + // reorder glow + program { + name: "show_reorder_glow"; + signal: "elm,action,item,reorder_start"; + source: "elm"; + action: STATE_SET "reorder" 0.0; + target: "reorder_glow_above"; + target: "reorder_glow_below"; + } + program { + name: "hide_reorder_glow"; + signal: "elm,action,item,reorder_end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_glow_above"; + target: "reorder_glow_below"; + } + // flip + program { + name: "enable_flip_mode"; + signal: "elm,state,flip,enabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.edit.icon.2"; + after: "enable_flip_mode_next"; + } + program { + name: "enable_flip_mode_next"; + action: STATE_SET "flipped" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.decorate.content"; + } + program { + name: "disable_flip_mode"; + signal: "elm,state,flip,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.decorate.content"; + target: "elm.edit.icon.2"; + } + } + } + + + group { name: "elm/bg/base/email_default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 239 239 239 255; + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } + } + + group { name, "dialoguegroup/email_datetime"; + parts { + part { name, "base"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 0 100; + color, 0 0 0 0; + } + } + part { name, "left_padding"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 30 0; + fixed, 1 0; + rel1.to, "base"; + rel2 { + relative: 0.0 1.0; + to: "base"; + } + align, 0.0 0.0; + color, 0 0 0 0; + } + } + part { name, "right_padding"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 30 0; + fixed, 1 0; + rel1 { + relative: 1.0 0.0; + to: "base"; + } + rel2.to, "base"; + align, 1.0 0.0; + color, 0 0 0 0; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 50 20; + fixed: 1 1; + visible: 1; + rel1 { + relative: 0.0 0.1; + to_x: "left_padding"; + } + rel2 { + relative: 1.0 0.1; + to_y: "left_padding"; + } + align: 0.0 0.2; + color: 165 165 165 255; + text { + font: "SLP:style=Roman"; + size: 33; + min: 0 1; + align: 0.0 0.5; + } + } + } + part { name: "elm.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "left_padding"; + to_y: "elm.text"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "right_padding"; + to_y: "base"; + } + } + } + } + } + group { name: "email/popup_smartstay1_internal"; + parts { + part { name: "elm.swallow.content1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.content.bg"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 0 443; + visible: 0; + align: 0.0 0.0; + rel1 { + relative: 0.0 1.0; + to: "elm.swallow.content1"; + } + rel2.to: "elm.swallow.content1"; + } + } + part { name: "elm.swallow.content2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 390 390; + max: 390 390; + fixed: 1 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1.to: "elm.content.bg"; + rel2.to: "elm.content.bg"; + } + } + part { name: "elm.swallow.content3"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "elm.content.bg"; + } + } + } + } + } + group { name: "email/popup_smartstay1"; + parts { + part { name: "pad_t"; + scale: 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 5; + fixed: 0 1; + rel1 { + relative: 1.0 0.0;to_x: "pad_l"; + } + rel2 { + relative: 0.0 0.0;to_x: "pad_r"; + } + } + } + part { name: "pad_l"; + scale: 1; + description { state: "default" 0.0; + min : 32 0; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + align: 0.0 0.0; + } + } + part { name: "pad_r"; + scale: 1; + description { state: "default" 0.0; + min : 32 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + align: 1.0 0.0; + } + } + part { name:"elm.swallow.layout"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + min: 0 600; + align: 0.5 1.0; + fixed: 1 0; + rel1 { + relative: 0.0 1.0; + to: "pad_t"; + } + rel2 { + relative: 1.0 0.0; + to: "pad_b"; + } + } + } + part { name: "pad_b"; + scale : 1; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 66; + visible: 0; + fixed: 0 1; + rel1 { + relative: 1.0 1.0;to_x: "pad_l"; + } + rel2 { + relative: 0.0 1.0;to_x: "pad_r"; + } + } + } + part { name: "elm.swallow.check"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: 42 42; + max: 42 42; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to: "pad_b"; + } + rel2 { + relative: 0.0 1.0; + to: "pad_b"; + } + } + } + part { name: "elm.text"; + type: TEXT; + scale : 1; + description { state: "default" 0.0; + text { + font: "SLP:style=Medium"; + size: 38; + min: 0 0; + align: 0.0 0.5; + } + color: 0 0 0 255; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x:"elm.swallow.check"; to_y: "pad_b"; + } + rel2 { + relative: 1.0 1.0; + to: "pad_b"; + } + } + } + } + } +} + |