diff options
Diffstat (limited to 'lib/edc')
-rwxr-xr-x | lib/edc/contact_button.edc | 91 | ||||
-rwxr-xr-x | lib/edc/contacts.edc | 19 | ||||
-rw-r--r-- | lib/edc/detail_theme.edc | 1732 | ||||
-rwxr-xr-x | lib/edc/dialer.edc | 1744 | ||||
-rwxr-xr-x | lib/edc/dialer_btn.edc | 113 | ||||
-rwxr-xr-x | lib/edc/dialer_theme.edc | 387 | ||||
-rwxr-xr-x | lib/edc/favorites_theme.edc | 570 | ||||
-rwxr-xr-x | lib/edc/group_theme.edc | 962 | ||||
-rwxr-xr-x | lib/edc/image_layout.edc | 115 | ||||
-rwxr-xr-x | lib/edc/input_theme.edc | 767 | ||||
-rwxr-xr-x | lib/edc/list.edc | 170 | ||||
-rwxr-xr-x | lib/edc/list_theme.edc | 766 | ||||
-rw-r--r-- | lib/edc/log_item_icon.edc | 75 | ||||
-rwxr-xr-x | lib/edc/logdetail_theme.edc | 1485 | ||||
-rwxr-xr-x | lib/edc/nocontent_layout.edc | 109 | ||||
-rwxr-xr-x | lib/edc/progress.edc | 191 | ||||
-rwxr-xr-x | lib/edc/selectioninfo.edc | 81 | ||||
-rwxr-xr-x | lib/edc/speeddial_theme.edc | 157 |
18 files changed, 0 insertions, 9534 deletions
diff --git a/lib/edc/contact_button.edc b/lib/edc/contact_button.edc deleted file mode 100755 index 7d7e9aa..0000000 --- a/lib/edc/contact_button.edc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 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. - */ -styles { - style { - name: "baseinfo_defaultnumber_textblock_style"; - base: "font=Tizen:style=Bold text_class=tizen color=#FFFFFF ellipsis=0.0 font_size=30 wrap=char"; - } -} -collections { - group { - name: "elm/button/base/transparency"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - } - } - part { - name: "icon"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - } - } - } - } - group { - name: "quick.munu"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "icon"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - rel1 { relative: 0.0 0.0; to: "bg";} - rel2 { relative: 1.0 0.5; to: "bg";} - } - } - part { - name: "elm.text.quick"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.5; to: "bg"; } - rel2 { relative: 1.0 1.0; to: "bg"; } - text { style: "baseinfo_defaultnumber_textblock_style";} - } - } - } - } -} - diff --git a/lib/edc/contacts.edc b/lib/edc/contacts.edc deleted file mode 100755 index 93f8dfb..0000000 --- a/lib/edc/contacts.edc +++ /dev/null @@ -1,19 +0,0 @@ -/* -* Copyright 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. -*/ - - -#include "list.edc" -#include "input_theme.edc" diff --git a/lib/edc/detail_theme.edc b/lib/edc/detail_theme.edc deleted file mode 100644 index 1b44c8c..0000000 --- a/lib/edc/detail_theme.edc +++ /dev/null @@ -1,1732 +0,0 @@ -/* -* Copyright 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. -*/ - -#define GENLIST_PART_BG_COLOR_INC 248 246 239 255 -#define GENLIST_PART_LIST_LINE_COLOR_INC 169 169 169 255 -#define GENLIST_DIALOGUE_FONT_SUB_TITLE_COLOR_INC 102 102 102 255 -#define GENLIST_PART_LIST_TEXT_DEFAULT 0 0 0 255 - -#define IMAGE_PATH "../images/contact_images/" -#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 138 138 -#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 138 138 - -#define GENLIST_BASEINFO_PART_BASE(height) \ -part { \ - name: "base"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 height; \ - color: GENLIST_PART_BG_COLOR_INC; \ - } \ -} - -#define GENLIST_PART_BASE( param_item_height ) \ -part { \ - name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 param_item_height; \ - color: GENLIST_PART_BG_COLOR_INC; \ - } \ -} -#define GENLIST_PART_BOTTOM_LINE \ -part { \ - name: "bottom_line"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - min: 0 1; \ - fixed: 0 1; \ - visible: 1; \ - color: GENLIST_PART_LIST_LINE_COLOR_INC; \ - rel1 { \ - relative: 0.0 1.0; \ - offset: 0 -1; \ - } \ - } \ -} - -#define GENLIST_PART_PADDING_TOP( param_padding_size ) \ -part { \ - name: "elm.padding.top"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 param_padding_size; \ - fixed: 0 1; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \ -part { \ - name: "elm.padding.bottom"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 param_padding_size; \ - fixed: 0 1; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - align: 0.0 1.0; \ - } \ -} - -#define GENLIST_PART_PADDING_LEFT( param_padding_size ) \ -part { \ - name: "elm.padding.left"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel2.relative: 0.0 1.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_PADDING_RIGHT( param_padding_size ) \ -part { \ - name: "elm.padding.right"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel1.relative: 1.0 0.0; \ - align: 1.0 0.0; \ - } \ -} - -styles { - style { - name: "baseinfo_defaultnumber_textblock_style"; - base: "font=Tizen:style=Bold text_class=tizen color=#000000 ellipsis=0.0 font_size=44 wrap=char"; - } - style { - name: "baseinfo_name_textblock_style"; - base: "font=Tizen:style=Bold text_class=tizen color=#3B73B6 ellipsis=1.0 font_size=56"; - } - style { - name: "baseinfo_subname_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen color=#000000 ellipsis=1.0 font_size=32"; - } - style { - name: "activity_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen color=#000000 ellipsis=0.0 font_size=32 wrap=char"; - } - style { - name: "detail_fieldtitle_textblock_style"; - base: "font=Tizen:style=Bold text_class=tizen color=#3B73B6 ellipsis=1.0 font_size=32"; - } - style { - name: "detail_field_textblock_style"; - base: "font=Tizen:style=Regular text_class=tizen color=#000000 ellipsis=1.0 font_size=44"; - } - style { - name: "detail_fieldtype_textblock_style"; - base: "font=Tizen:style=Bold text_class=tizen color=#808080 ellipsis=1.0 font_size=32"; - } -} -collections -{ - group { - name: "elm/genlist/item/baseinfo.1text/default"; - alias: "elm/genlist/item_odd/baseinfo.1text/default"; - alias: "elm/genlist/item_compress/baseinfo.1text/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.1text/default"; - alias: "elm/genlist/tree/baseinfo.1text/default"; - alias: "elm/genlist/tree_odd/baseinfo.1text/default"; - alias: "elm/genlist/tree_compress/baseinfo.1text/default"; - alias: "elm/genlist/tree_compress_odd/baseinfo.1text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - - parts { - GENLIST_BASEINFO_PART_BASE(50) - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 1.0; offset: -26 0 ; to: "base"; } - text { style: "baseinfo_defaultnumber_textblock_style";} - } - } - } - } - group { - name: "elm/genlist/item/detail.fieldtitle.1text/default"; - alias: "elm/genlist/item_odd/detail.fieldtitle.1text/default"; - alias: "elm/genlist/item_compress/detail.fieldtitle.1text/default"; - alias: "elm/genlist/item_compress_odd/detail.fieldtitle.1text/default"; - alias: "elm/genlist/tree/detail.fieldtitle.1text/default"; - alias: "elm/genlist/tree_odd/detail.fieldtitle.1text/default"; - alias: "elm/genlist/tree_compress/detail.fieldtitle.1text/default"; - alias: "elm/genlist/tree_compress_odd/detail.fieldtitle.1text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - - parts { - GENLIST_BASEINFO_PART_BASE(32) - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 1.0; offset: -26 0 ; to: "base"; } - text { style: "detail_fieldtitle_textblock_style";} - } - } - } - } - group { - name: "elm/genlist/item/detail.field.2text/default"; - alias: "elm/genlist/item_odd/detail.field.2text/default"; - alias: "elm/genlist/item_compress/detail.field.2text/default"; - alias: "elm/genlist/item_compress_odd/detail.field.2text/default"; - alias: "elm/genlist/tree/detail.field.2text/default"; - alias: "elm/genlist/tree_odd/detail.field.2text/default"; - alias: "elm/genlist/tree_compress/detail.field.2text/default"; - alias: "elm/genlist/tree_compress_odd/detail.field.2text/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.1 elm.text.2"; - - parts { - GENLIST_BASEINFO_PART_BASE(113) - part { - name: "elm.text.2"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 1.0 0.0; offset: -176 0; to: "base"; } - rel2 { relative: 1.0 1.0; offset: -26 0 ; to: "base"; } - text { - style: "detail_fieldtype_textblock_style"; - } - } - } - part { - name: "elm.text.1"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 1.0; offset: -26 0; to: "elm.text.2"; } - text { - style: "detail_field_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.1text.1icon/default"; - alias: "elm/genlist/item_odd/baseinfo.1text.1icon/default"; - alias: "elm/genlist/item_compress/baseinfo.1text.1icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.1text.1icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name"; - data.item: "contents" "elm.icon.favorite elm.icon.block"; - parts { - GENLIST_BASEINFO_PART_BASE(110) - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 55.0/110.0; offset: -76 0; to: "base"; } - rel2 { relative: 1.0 105.0/110.0; offset: -26 0; to: "base"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.icon.block.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 1.0; - color: 0 0 0 0; - rel2 { relative: 0.0 1.0; offset:-1 0; to: "elm.icon.favorite"; } - } - } - part { - name: "elm.icon.block"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.block.rect"; - rel2.to: "elm.icon.block.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 42.0/110.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 110.0/110.0; offset: -16 0 ; to: "elm.icon.block"; } - text { - style: "baseinfo_name_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.1text.2icon/default"; - alias: "elm/genlist/item_odd/baseinfo.1text.2icon/default"; - alias: "elm/genlist/item_compress/baseinfo.1text.2icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.1text.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name"; - data.item: "contents" "elm.icon.image elm.icon.favorite elm.icon.block"; - parts { - GENLIST_BASEINFO_PART_BASE(520) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 180 0; - max: 360 360; - fixed: 1 0; - align: 0.5 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; offset: 0 50; to: "base"; } - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 465.0/520.0; offset: -76 0; to: "base"; } - rel2 { relative: 1.0 515.0/520.0; offset: -26 0; to: "base"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.icon.block.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 1.0; - color: 0 0 0 0; - rel2 { relative: 0.0 1.0; offset:-1 0; to: "elm.icon.favorite"; } - } - } - part { - name: "elm.icon.block"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.block.rect"; - rel2.to: "elm.icon.block.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 452.0/520.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 1.0; offset: -16 0 ; to: "elm.icon.block"; } - text { - style: "baseinfo_name_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.2text.1icon/default"; - alias: "elm/genlist/item_odd/baseinfo.2text.1icon/default"; - alias: "elm/genlist/item_compress/baseinfo.2text.1icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.2text.1icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname"; - data.item: "contents" "elm.icon.favorite elm.icon.block"; - parts { - GENLIST_BASEINFO_PART_BASE(160) - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 55.0/160.0; offset: -76 0; to: "base"; } - rel2 { relative: 1.0 105.0/160.0; offset: -26 0; to: "base"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.icon.block.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 1.0; - color: 0 0 0 0; - rel2 { relative: 0.0 1.0; offset:-1 0; to: "elm.icon.favorite"; } - } - } - part { - name: "elm.icon.block"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.block.rect"; - rel2.to: "elm.icon.block.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 42.0/160.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 1.0; offset: -16 0 ; to: "elm.icon.block"; } - text { - style: "baseinfo_name_textblock_style"; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 120.0/160.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 160.0/160.0; offset: -26 0; to: "base"; } - text { - style: "baseinfo_subname_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.2text.2icon/default"; - alias: "elm/genlist/item_odd/baseinfo.2text.2icon/default"; - alias: "elm/genlist/item_compress/baseinfo.2text.2icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.2text.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname"; - data.item: "contents" "elm.icon.image elm.icon.favorite elm.icon.block"; - parts { - GENLIST_BASEINFO_PART_BASE(570) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 180 0; - max: 360 360; - fixed: 1 0; - align: 0.5 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; offset: 0 50; to: "base"; } - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 465.0/570.0; offset: -76 0; to: "base"; } - rel2 { relative: 1.0 515.0/570.0; offset: -26 0; to: "base"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.icon.block.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 1.0; - color: 0 0 0 0; - rel2 { relative: 0.0 1.0; offset:-1 0; to: "elm.icon.favorite"; } - } - } - part { - name: "elm.icon.block"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.block.rect"; - rel2.to: "elm.icon.block.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 452.0/570.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 1.0; offset: -16 0 ; to: "elm.icon.block"; } - text { - style: "baseinfo_name_textblock_style"; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 530.0/570.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 570.0/570.0; offset: -26 0; to: "base"; } - text { - style: "baseinfo_subname_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.3text.1icon/default"; - alias: "elm/genlist/item_odd/baseinfo.3text.1icon/default"; - alias: "elm/genlist/item_compress/baseinfo.3text.1icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.3text.1icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname elm.text.subname2"; - data.item: "contents" "elm.icon.favorite elm.icon.block"; - parts { - GENLIST_BASEINFO_PART_BASE(210) - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 55.0/210.0; offset: -76 0; to: "base"; } - rel2 { relative: 1.0 105.0/210.0; offset: -26 0; to: "base"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.icon.block.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 1.0; - color: 0 0 0 0; - rel2 { relative: 0.0 1.0; offset:-1 0; to: "elm.icon.favorite"; } - } - } - part { - name: "elm.icon.block"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.block.rect"; - rel2.to: "elm.icon.block.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 42.0/210.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 1.0; offset: -16 0 ; to: "elm.icon.block"; } - text { - style: "baseinfo_name_textblock_style"; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 120.0/210.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 160.0/210.0; offset: -26 0; to: "base"; } - text { - style: "baseinfo_subname_textblock_style"; - } - } - } - part { - name: "elm.text.subname2"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 160.0/210.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 210.0/210.0; offset: -26 0; to: "base"; } - text { - style: "baseinfo_subname_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.3text.2icon/default"; - alias: "elm/genlist/item_odd/baseinfo.3text.2icon/default"; - alias: "elm/genlist/item_compress/baseinfo.3text.2icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.3text.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname elm.text.subname2"; - data.item: "contents" "elm.icon.image elm.icon.favorite elm.icon.block"; - parts { - GENLIST_BASEINFO_PART_BASE(620) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 180 0; - max: 360 360; - fixed: 1 0; - align: 0.5 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; offset: 0 50; to: "base"; } - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 465.0/620.0; offset: -76 0; to: "base"; } - rel2 { relative: 1.0 515.0/620.0; offset: -26 0; to: "base"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.icon.block.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: 50 50 ; - fixed: 1 0; - align: 1.0 1.0; - color: 0 0 0 0; - rel2 { relative: 0.0 1.0; offset:-1 0; to: "elm.icon.favorite"; } - } - } - part { - name: "elm.icon.block"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 50 50; - fixed: 1 1; - align: 0.0 0.0; - rel1.to: "elm.icon.block.rect"; - rel2.to: "elm.icon.block.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 452.0/620.0; offset: 26 0; to: "base"; } - rel2 { relative: 0.0 1.0; offset: -16 0 ; to: "elm.icon.block"; } - text { - style: "baseinfo_name_textblock_style"; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 530.0/620.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 570.0/620.0; offset: -26 0; to: "base"; } - text { - style: "baseinfo_subname_textblock_style"; - } - } - } - part { - name: "elm.text.subname2"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 570.0/620.0; offset: 26 0; to: "base"; } - rel2 { relative: 1.0 620.0/620.0; offset: -26 0; to: "base"; } - text { - style: "baseinfo_subname_textblock_style"; - } - } - } - } - } - group { - name: "elm/genlist/item/detail.title/default"; - alias: "elm/genlist/item_odd/detail.title/default"; - alias: "elm/genlist/item_compress/detail.title/default"; - alias: "elm/genlist/item_compress_odd/detail.title/default"; - data.item: "stacking" "above"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - parts { - GENLIST_BASEINFO_PART_BASE(77); - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_DIALOGUE_FONT_SUB_TITLE_COLOR_INC; - text { - font: "Tizen:style=Medium"; - text_class: "tizen"; - size: 28; - min: 0 1; - align: 0.0 1.0; - } - rel1 { offset: 10 0; } - rel2 { offset: -10 -10; } - } - } - } - } - - group { - name: "elm/genlist/item/detail.3icon/default"; - alias: "elm/genlist/item_odd/detail.3icon/default"; - alias: "elm/genlist/item_compress/detail.3icon/default"; - alias: "elm/genlist/item_compress_odd/detail.3icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon.1.bg elm.icon.2.bg elm.icon.3.bg elm.icon.1 elm.icon.2 elm.icon.3"; - parts { - GENLIST_BASEINFO_PART_BASE(222); - part { - name: "elm.icon.1.bg"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:0 0; - max:138 138; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; offset: 38 0; to: "base"; } - } - } - part { - name: "elm.icon.2.bg"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 69 0; - max:138 138; - fixed: 1 0; - align: 0.5 0.5; - rel1 { relative: 0.0 0.0; offset: 0 0; to: "base"; } - } - } - part { - type: SWALLOW; - name: "elm.icon.3.bg"; - scale:1 ; - description { - state: "default" 0.0; - max: 138 138; - fixed:1 0; - align: 1.0 0.0; - rel1 { relative: 1.0 42.0/222.0; offset: -176 0; to: "base"; } - rel2 { relative: 1.0 180.0/222.0; offset: -38 0; to: "base"; } - } - } - part { - name: "elm.icon.1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:138 138; - max:138 138; - fixed: 1 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0;to: "elm.icon.1.bg"; } - rel2 { relative: 1.0 1.0;to: "elm.icon.1.bg"; } - } - } - part { - name: "elm.icon.2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:138 138; - max:138 138; - fixed: 1 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0;to: "elm.icon.2.bg"; } - rel2 { relative: 1.0 1.0;to: "elm.icon.2.bg"; } - } - } - part { - type: SWALLOW; - name: "elm.icon.3"; - scale:1 ; - description { - state: "default" 0.0; - min:138 138; - max:138 138; - fixed: 1 1; - align: 0.5 1.0; - rel1 { relative: 0.0 1.0;to: "elm.icon.3.bg"; } - rel2 { relative: 1.0 1.0;to: "elm.icon.3.bg"; } - } - } - } - } - - group { - name: "elm/genlist/item/history_list/default"; - alias: "elm/genlist/item_odd/history_list/default"; - alias: "elm/genlist/item_compress/history_list/default"; - alias: "elm/genlist/item_compress_odd/history_list/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"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BASE(128) - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP(10) - GENLIST_PART_PADDING_BOTTOM(10) - GENLIST_PART_PADDING_LEFT(16) - GENLIST_PART_PADDING_RIGHT(16) - part { - name: "elm.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.text.1"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - align: 0.0 0.5; - } - } - part { - name: "elm.padding.icon1.right"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.icon.2"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - 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.text.1"; - } - align: 1.0 0.5; - } - } - part { - name: "elm.padding.icon2.left"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 0.0 0.0; - to_x: "elm.icon.2"; - } - rel2.to_x: "elm.icon.2"; - align: 1.0 0.0; - visible: 0; - } - } - part { - name: "elm.text.1"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 60; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon2.left"; - to_y: "elm.padding.top"; - } - align: 0.0 0.0; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - font: "Tizen:style=Roman"; - size: 44; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - } - part { - name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.8 0.0; - to_x: "elm.text.1"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 0.5; - text_class: "tizen"; - } - } - } - part { - name: "elm.text.3"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.text.2"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - offset: 5 0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 1.0 0.5; - text_class: "tizen"; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - group { - name: "elm/genlist/item/activity_list/default"; - alias: "elm/genlist/item_odd/activity_list/default"; - alias: "elm/genlist/item_compress/activity_list/default"; - alias: "elm/genlist/item_compress_odd/activity_list/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP(10) - GENLIST_PART_PADDING_BOTTOM(10) - GENLIST_PART_PADDING_LEFT(16) - GENLIST_PART_PADDING_RIGHT(16) - part { - name: "elm.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - align: 0.0 1.0; - } - } - part { - name: "elm.padding.icon1.right"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.padding.icon1.top"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 16; - fixed: 0 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - } - rel2.to_y: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.icon.2"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 321 321; - max: 321 321; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - align: 0.0 0.0; - } - } - part { - name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 1.0; - text_class: "tizen"; - } - } - } - part { - name: "elm.text.1"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.icon.2"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - to_y: "elm.icon.2"; - } - align: 0.0 0.0; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - style: "activity_textblock_style"; - min: 0 1; - align: 0.0 1.0; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - group { - name: "elm/genlist/item/activity_list_no_img/default"; - alias: "elm/genlist/item_odd/activity_list_no_img/default"; - alias: "elm/genlist/item_compress/activity_list_no_img/default"; - alias: "elm/genlist/item_compress_odd/activity_list_no_img/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP(10) - GENLIST_PART_PADDING_BOTTOM(10) - GENLIST_PART_PADDING_LEFT(16) - GENLIST_PART_PADDING_RIGHT(16) - part { - name: "elm.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - align: 0.0 1.0; - } - } - part { - name: "elm.padding.icon1.right"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 1.0; - text_class: "tizen"; - } - } - } - part { - name: "elm.text.1"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.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.icon.1"; - } - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - style: "activity_textblock_style"; - min: 0 1; - align: 0.0 1.0; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - group { - name: "elm/genlist/item/detail.5icon/default"; - alias: "elm/genlist/item_odd/detail.5icon/default"; - alias: "elm/genlist/item_compress/detail.5icon/default"; - alias: "elm/genlist/item_compress_odd/detail.5icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5"; - - parts { - part { - name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { - state: "default" 0.0; - min: 0 112; - } - } - part { - name: "elm.icon.1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:0 74; - fixed: 0 1; - rel1.relative: 0.021 0.5; - rel2.relative: 0.196 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.218 0.5; - rel2.relative: 0.392 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.3"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.414 0.5; - rel2.relative: 0.588 0.5; - align: 0.5 0.5; - } - } - part { - name: "elm.icon.4"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.61 0.5; - rel2.relative: 0.783 0.5; - align: 0.5 0.5; - } - } - part { - name: "elm.icon.5"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.806 0.5; - rel2.relative: 0.979 0.5; - align: 0.5 0.5; - } - } - } - } - group { name: "elm/button/base/detail.circle/empty"; - alias: "elm/button/base/detail.circle/empty"; - images { - image: IMAGE_PATH"C02_circle_button.png" COMP; - image: IMAGE_PATH"C02_circle_button_press.png" COMP; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - fixed: 1 1; - image.normal: IMAGE_PATH"C02_circle_button.png"; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C02_circle_button_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C02_circle_button.png"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "icon_clipper"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; - fixed: 1 1; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "visible" 0.0; - } - } - part { name: "icon_clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - } - description { state: "visible" 0.0; - } - description { state: "disabled" 0.0; - } - } - part { name: "over1"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over2"; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over1"; -// action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick2; - } - program { name: "button_unclick2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - } - } -} diff --git a/lib/edc/dialer.edc b/lib/edc/dialer.edc deleted file mode 100755 index a6ed9fa..0000000 --- a/lib/edc/dialer.edc +++ /dev/null @@ -1,1744 +0,0 @@ -/* -* Copyright 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. -*/ - -#define MAIN_H (1280) -#define MAIN_W (720) - -#define INDICATOR_H (50) -#define TABBAR_H (121) -#define MAIN_H_PURE (MAIN_H-INDICATOR_H-TABBAR_H) - -#define KEYPAD_H (785) -#define KEYPAD_START (MAIN_H_PURE-KEYPAD_H) - -#define TEXT_AREA_H (KEYPAD_START) -#define TEXT_AREA_W (630) -#define TEXT_ENTRY_H (156) - -#define PSEARCH_ITEM_H (140) - -#define BUTTON_W (218) -#define BUTTON_W_PAD (19) -#define BUTTON_H (130) -#define BUTTON_H_PRESSED (150) -#define BUTTON_H_PAD (24) -#define BTN_1_COL_X (10) -#define BTN_2_COL_X (BTN_1_COL_X+BUTTON_W+BUTTON_W_PAD) -#define BTN_3_COL_X (BTN_1_COL_X+(BUTTON_W*2)+(BUTTON_W_PAD*2)) -#define BTN_1_ROW_Y (43) -#define BTN_2_ROW_Y (BTN_1_ROW_Y+BUTTON_H+BUTTON_H_PAD) -#define BTN_3_ROW_Y (BTN_2_ROW_Y+BUTTON_H+BUTTON_H_PAD) -#define BTN_4_ROW_Y (BTN_3_ROW_Y+BUTTON_H+BUTTON_H_PAD) -#define BTN_5_ROW_Y (BTN_4_ROW_Y+BUTTON_H+23) -#define KEYPAD_TOP_ICON_W (218) -#define KEYPAD_TOP_ICON_H (90) -#define KEYPAD_BTM_ICON_W (50) -#define KEYPAD_BTM_ICON_H (40) -#define SOFTKEY_ICON_W (64) -#define SOFTKEY_ICON_H (64) -#define SOFTKEY_BTN_H (104) -#define SOFTKEY_BTN_PAD (24) -#define SOFTKEY_BTN1_X (36) -#define SOFTKEY_BTN1_W (180) -#define SOFTKEY_BTN_W (160) -#define SOFTKEY_BTN_OFFSET (10) -#define SOFTKEY_BTN2_X (SOFTKEY_BTN1_X+SOFTKEY_BTN1_W+SOFTKEY_BTN_PAD+KEYPAD_BTM_ICON_H) -#define SOFTKEY_BTN2_W (240) -#define SOFTKEY_BTN3_X (SOFTKEY_BTN1_X+SOFTKEY_BTN1_W+SOFTKEY_BTN_PAD+SOFTKEY_BTN2_W+SOFTKEY_BTN_PAD) -#define SOFTKEY_BTN3_W (SOFTKEY_BTN1_W) - -#define SUGGESTION_PART_NORMAL_BG_COLOR 249 249 249 255 -#define SUGGESTION_PART_PRESSED_BG_COLOR 42 137 194 255 -#define SUGGESTION_PART_PRIMARY_COLOR 0 0 64 255 -#define SUGGESTION_PART_SECONDARY_COLOR 96 96 96 255 - -#define IMAGE_PATH "../images/dialer_images/" -#define IMAGES "../images/phoneug_images/" -#define KEYPAD_ANI_TIME 0.03 - -#define _DBG_OPA (30) - -images { -//NUMBER KEY BUTTON - image: IMAGE_PATH"keypad/C01-3_keypad_number_00.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_01.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_02.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_03.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_04.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_05.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_06.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_07.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_08.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_09.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_asterisk.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_auto_answer.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_mute.png" COMP; - image: IMAGE_PATH"keypad/C01-3_keypad_number_sharp.png" COMP; - image: IMAGE_PATH"C01-3_keypad_bg.png" COMP; - image: IMAGE_PATH"C01-3_keypad_press.png" COMP; - image: IMAGE_PATH"C01-3_keypad_bg_reduction.png" COMP; - -//SOFT KEY BUTTON - image: IMAGE_PATH"C01-3_button_01.png" COMP; - image: IMAGE_PATH"C01-3_button_01_dim.png" COMP; - image: IMAGE_PATH"C01-3_button_02.png" COMP; - image: IMAGE_PATH"C01-3_button_02_dim.png" COMP; - image: IMAGE_PATH"C01-3_dialer_button_01_press.png" COMP; - image: IMAGE_PATH"C01-3_icon_call.png" COMP; - image: IMAGE_PATH"C01-3_icon_call_dim.png" COMP; - image: IMAGE_PATH"C01-3_icon_call_press.png" COMP; - image: IMAGE_PATH"C01-3_icon_delete.png" COMP; - image: IMAGE_PATH"C01-3_icon_expand_01.png" COMP; - image: IMAGE_PATH"C01-3_icon_expand_02.png" COMP; - image: IMAGE_PATH"C01-3_icon_message.png" COMP; - image: IMAGE_PATH"C01-3_icon_message_dim.png" COMP; - image: IMAGE_PATH"C01-3_icon_message_press.png" COMP; - image: IMAGE_PATH"C01-3_icon_video_call.png" COMP; - image: IMAGE_PATH"C01-3_icon_video_call_dim.png" COMP; - image: IMAGE_PATH"C01-3_icon_video_call_press.png" COMP; - -//SEARCH BAR - image: IMAGE_PATH"C01-3_search_bg_01.png" COMP; - image: IMAGE_PATH"C01-3_search_bg_02.png" COMP; - image: IMAGE_PATH"C01-3_search_field.png" COMP; - image: IMAGE_PATH"C01-3_search_icon.png" COMP; - -// image: IMAGE_PATH"C01-3_thumbnail_bg.png" COMP; //CONTACT SEARCH LIST -// image: IMAGE_PATH"C01-3_title_divider.png" COMP; //TABBAR DIVIDER - -//SUGGESTION BOX - image: IMAGE_PATH"C01-3_icon_expand_01.png" COMP; - image: IMAGES"caller_ID_default_70x70_man.png" COMP; - image: IMAGE_PATH"C01-3_title_divider.png" COMP; -} - -color_classes { - color_class { - name: "color/textblock/bg"; - color: 177 164 150 255; - } -} - -collections { - #include "dialer_btn.edc" - /***************************************************************************** - * dialer main edc group - *****************************************************************************/ - group { - name: "dialer/main"; - styles { - style - { - name: "chapter_text_style"; - base: "style=Regular font="Tizen" linesize=40 font_size=32 color=#81796D valign=top wrap=word"; - tag: "mark" "+ font_weight=Bold color=#0000ff"; - } - } - - parts { - /***************************************************************************** - * Main background - *****************************************************************************/ - part { - name: "background"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - color_class: "color/textblock/bg"; //right below input_field to the end - } - } - - /***************************************************************************** - * Entry area - *****************************************************************************/ - part { - name: "entry/bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "background";} - rel2 { relative: 1.0 KEYPAD_START/MAIN_H_PURE; to: "background";} - } - } - part { - name: "entry/bg/image"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "entry/bg";} - rel2 { relative: 1.0 1.0; to: "entry/bg";} - image.normal: IMAGE_PATH"C01-3_search_bg_01.png"; - } - } - - /***************************************************************************** - * Number Keypad bg - *****************************************************************************/ - part { - name: "keypad/bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 KEYPAD_START/MAIN_H_PURE; to: "background";} - rel2 { relative: 1.0 1.0; to: "background";} - } - } - part { - name: "keypad/bg/image"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "keypad/bg";} - rel2 { relative: 1.0 1.0; to: "keypad/bg";} - image.normal: IMAGE_PATH"C01-3_keypad_bg.png"; - } - } - //Number Keypad swallow - part { - name: "keypad/swallow"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "keypad/bg"; } - rel2 { relative: 1.0 1.0; to: "keypad/bg"; } - } - } - - - /***************************************************************************** - * Softkey button - *****************************************************************************/ -/***************/ -/**** call btn ****/ -/***************/ - part { - name: "normal/call"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: (SOFTKEY_BTN2_X-SOFTKEY_BTN_OFFSET)/MAIN_W BTN_5_ROW_Y/KEYPAD_H; to:"keypad/bg";} - rel2 { relative: (SOFTKEY_BTN2_X+SOFTKEY_BTN_W)/MAIN_W (BTN_5_ROW_Y+SOFTKEY_BTN_H)/KEYPAD_H; to:"keypad/bg";} - image { - normal: IMAGE_PATH"C01-3_button_01.png"; - border: 52 52 52 52; - border_scale: 1; - } - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_dialer_button_01_press.png"; - } - description { - state: "expand_R" 0.0; - rel1 { relative: (SOFTKEY_BTN2_X-SOFTKEY_BTN_OFFSET)/MAIN_W BTN_5_ROW_Y/KEYPAD_H; to:"keypad/bg";} - rel2 { relative: (SOFTKEY_BTN2_X+SOFTKEY_BTN_W)/MAIN_W (BTN_5_ROW_Y+SOFTKEY_BTN_H)/KEYPAD_H; to:"keypad/bg";} - image { - normal: IMAGE_PATH"C01-3_button_01.png"; - border: 52 52 52 52; - border_scale: 1; - } - } - description { - state: "expand_R_pressed" 0.0; - inherit: "expand_R" 0.0; - image.normal: IMAGE_PATH"C01-3_dialer_button_01_press.png"; - } - description { - state: "expand_L" 0.0; - rel1 { relative: (SOFTKEY_BTN2_X-SOFTKEY_BTN_OFFSET)/MAIN_W BTN_5_ROW_Y/KEYPAD_H; to:"keypad/bg";} - rel2 { relative: (SOFTKEY_BTN2_X+SOFTKEY_BTN_W)/MAIN_W (BTN_5_ROW_Y+SOFTKEY_BTN_H)/KEYPAD_H; to:"keypad/bg";} - image { - normal: IMAGE_PATH"C01-3_button_01.png"; - border: 52 52 52 52; - border_scale: 1; - } - } - description { - state: "expand_L_pressed" 0.0; - inherit: "expand_L" 0.0; - image.normal: IMAGE_PATH"C01-3_dialer_button_01_press.png"; - } - } - part { - name: "normal/call_icon"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: SOFTKEY_ICON_W SOFTKEY_ICON_H; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "normal/call";} - rel2 { relative: 0.5 0.5; to: "normal/call";} - align: 0.5 0.5; - image.normal: IMAGE_PATH"C01-3_icon_call.png"; - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_icon_call_press.png"; - } - } -/********************/ -/**** MESSAGE btn ****/ -/********************/ - part { - name: "normal/message"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: (INDICATOR_H)/MAIN_W BTN_5_ROW_Y/KEYPAD_H; to:"keypad/bg";} - rel2 { relative: (SOFTKEY_BTN2_W-SOFTKEY_BTN_OFFSET-SOFTKEY_BTN_OFFSET)/MAIN_W (BTN_5_ROW_Y+SOFTKEY_BTN_H)/KEYPAD_H; to:"keypad/bg";} - image { - normal: IMAGE_PATH"C01-3_button_02.png"; - border: 52 52 52 52; - border_scale: 1; - } - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_dialer_button_01_press.png"; - } - description { - state: "hide" 0.0; - visible: 0; - } - } - part { - name: "normal/message_icon"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: SOFTKEY_ICON_W SOFTKEY_ICON_H; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "normal/message";} - rel2 { relative: 0.5 0.5; to: "normal/message";} - align: 0.5 0.5; - image.normal: IMAGE_PATH"C01-3_icon_message.png"; - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_icon_message_press.png"; - } - description { - state: "hide" 0.0; - visible: 0; - } - } -/********************/ -/**** EMERGENCY btn ****/ -/********************/ - part { - name: "normal/emergency"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: (INDICATOR_H)/MAIN_W BTN_5_ROW_Y/KEYPAD_H; to:"keypad/bg";} - rel2 { relative: (SOFTKEY_BTN2_W-SOFTKEY_BTN_OFFSET-SOFTKEY_BTN_OFFSET)/MAIN_W (BTN_5_ROW_Y+SOFTKEY_BTN_H)/KEYPAD_H; to:"keypad/bg";} - image { - normal: IMAGE_PATH"C01-3_button_02.png"; - border: 52 52 52 52; - border_scale: 1; - } - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_dialer_button_01_press.png"; - } - description { - state: "hide" 0.0; - visible: 0; - } - } - part { - name: "normal/emergency_icon"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: SOFTKEY_ICON_W SOFTKEY_ICON_H; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "normal/emergency";} - rel2 { relative: 0.5 0.5; to: "normal/emergency";} - align: 0.5 0.5; - image.normal: IMAGE_PATH"C01-3_icon_message.png"; - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_icon_message_press.png"; - } - description { - state: "hide" 0.0; - visible: 0; - } - } -/*******************/ -/**** BackSpace btn ****/ -/*******************/ - part { - name: "normal/backspace"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: SOFTKEY_BTN3_X/MAIN_W BTN_5_ROW_Y/KEYPAD_H; to:"keypad/bg";} - rel2 { relative: (SOFTKEY_BTN3_X+SOFTKEY_BTN_W)/MAIN_W (BTN_5_ROW_Y+SOFTKEY_BTN_H)/KEYPAD_H; to:"keypad/bg";} - image { - normal: IMAGE_PATH"C01-3_button_02.png"; - border: 52 52 52 52; - border_scale: 1; - } - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_dialer_button_01_press.png"; - } - description { - state: "hide" 0.0; - visible: 0; - } - } - part { - name: "normal/backspace_icon"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - min: SOFTKEY_ICON_W 40; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "normal/backspace";} - rel2 { relative: 0.5 0.5; to: "normal/backspace";} - align: 0.5 0.5; - image.normal: IMAGE_PATH"C01-3_icon_delete.png"; - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_icon_delete.png"; - } - description { - state: "hide" 0.0; - visible: 0; - } - } -/***************************************************************************** -* Number Keypad button -*****************************************************************************/ -#define PART_KEYPAD_TWO_ICON(_TXT, _X_POS, _Y_POS, _TOP_ICON, _BOTTOM_ICON) \ - part { \ - name: _TXT; \ - type: RECT; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1 { relative: _X_POS/MAIN_W _Y_POS/KEYPAD_H; to:"keypad/bg";} \ - rel2 { relative: (_X_POS+BUTTON_W)/MAIN_W (_Y_POS+BUTTON_H)/KEYPAD_H; to:"keypad/bg"; } \ - fixed: 1 1; \ - align: 0.5 0.5; \ - color: 255 0 0 0; \ - visible: 1; \ - } \ - description { \ - state: "hide" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { \ - name: _TXT"_TOP"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - min: 218 90; \ - fixed: 1 1; \ - rel1 { relative: 0.0 0.0; to: _TXT;} \ - rel2 { relative: 1.0 90/BUTTON_H; to: _TXT;} \ - align: 0.5 0.5; \ - image.normal: _TOP_ICON; \ - } \ - description { \ - state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: _TOP_ICON; \ - } \ - description { \ - state: "hide" 0.0; \ - visible: 0; \ - } \ - } \ - part { \ - name: _TXT"_BOTTOM"; \ - type: IMAGE; \ - scale: 0; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - min: 50 40; \ - fixed: 1 1; \ - rel1 { relative: 0.5 90/BUTTON_H; to: _TXT;} \ - rel2 { relative: 0.5 1.0; to: _TXT;} \ - align: 0.5 0.5; \ - image.normal: _BOTTOM_ICON; \ - } \ - description { \ - state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: _BOTTOM_ICON; \ - } \ - description { \ - state: "hide" 0.0; \ - visible: 0; \ - } \ - } \ - part { \ - name: _TXT"_BG"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - min: BUTTON_W BUTTON_H_PRESSED; \ - fixed: 1 1; \ - align: 0.5 0.5; \ - rel1 { relative: 0.5 0.5; to:_TXT;} \ - rel2 { relative: 0.5 0.5; to:_TXT;} \ - image { \ - normal: IMAGE_PATH"C01-3_keypad_press.png"; \ - } \ - visible: 0; \ - } \ - description { \ - state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - description { \ - state: "hide" 0.0; \ - visible: 0; \ - } \ - } - -#define PART_KEYPAD_ONE_ICON_ONE_LABEL(_TXT, _X_POS, _Y_POS, _TOP_ICON, _BOTTOM_TEXT) \ - part { \ - name: _TXT; \ - type: RECT; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - fixed: 1 1; \ - rel1 { relative: _X_POS/MAIN_W _Y_POS/KEYPAD_H; to:"keypad/bg";} \ - rel2 { relative: (_X_POS+BUTTON_W)/MAIN_W (_Y_POS+BUTTON_H)/KEYPAD_H; to:"keypad/bg"; } \ - align: 0.5 0.5; \ - color: 0 255 0 0; \ - visible: 1; \ - } \ - description { \ - state: "hide" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { \ - name: _TXT"_TOP"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - min: 218 90; \ - fixed: 1 1; \ - rel1 { relative: 0.0 0.0; to: _TXT;} \ - rel2 { relative: 1.0 90/BUTTON_H; to: _TXT;} \ - align: 0.5 0.5; \ - image.normal: _TOP_ICON; \ - } \ - description { \ - state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - image.normal: _TOP_ICON; \ - } \ - description { \ - state: "hide" 0.0; \ - visible: 0; \ - } \ - } \ - part { \ - name: _TXT"_BOTTOM"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - fixed: 1 1; \ - rel1 { relative: 0.0 90/BUTTON_H; to: _TXT;} \ - rel2 { relative: 1.0 1.0; to: _TXT;} \ - align: 0.5 0.5; \ - color: 145 135 114 255; \ - text { \ - text: _BOTTOM_TEXT; \ - font: "Tizen:style=Regular"; \ - text_class: "tizen"; \ - size: 28; \ - min: 1 1; \ - fit: 1 1; \ - } \ - visible: 1; \ - } \ - description { \ - state: "hide" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - } \ - } \ - part { \ - name: _TXT"_BG"; \ - type: IMAGE; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - min: BUTTON_W BUTTON_H_PRESSED; \ - fixed: 1 1; \ - align: 0.5 0.5; \ - rel1 { relative: 0.5 0.5; to:_TXT;} \ - rel2 { relative: 0.5 0.5; to:_TXT;} \ - image { \ - normal: IMAGE_PATH"C01-3_keypad_press.png"; \ - } \ - visible: 0; \ - } \ - description { \ - state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - description { \ - state: "hide" 0.0; \ - visible: 0; \ - } \ - } - - PART_KEYPAD_TWO_ICON("1",BTN_1_COL_X, BTN_1_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_01.png", IMAGE_PATH"keypad/C01-3_keypad_number_auto_answer.png") - PART_KEYPAD_ONE_ICON_ONE_LABEL("2",BTN_2_COL_X, BTN_1_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_02.png", "ABC") - PART_KEYPAD_ONE_ICON_ONE_LABEL("3",BTN_3_COL_X, BTN_1_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_03.png", "DEF") - - PART_KEYPAD_ONE_ICON_ONE_LABEL("4",BTN_1_COL_X, BTN_2_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_04.png", "GHI") - PART_KEYPAD_ONE_ICON_ONE_LABEL("5",BTN_2_COL_X, BTN_2_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_05.png", "JKL") - PART_KEYPAD_ONE_ICON_ONE_LABEL("6",BTN_3_COL_X, BTN_2_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_06.png", "MNO") - - PART_KEYPAD_ONE_ICON_ONE_LABEL("7",BTN_1_COL_X, BTN_3_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_07.png", "PQRS") - PART_KEYPAD_ONE_ICON_ONE_LABEL("8",BTN_2_COL_X, BTN_3_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_08.png", "TUV") - PART_KEYPAD_ONE_ICON_ONE_LABEL("9",BTN_3_COL_X, BTN_3_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_09.png", "WXYZ") - - PART_KEYPAD_ONE_ICON_ONE_LABEL("star", BTN_1_COL_X, BTN_4_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_asterisk.png", "P") - PART_KEYPAD_ONE_ICON_ONE_LABEL("0", BTN_2_COL_X, BTN_4_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_00.png", "+") - PART_KEYPAD_TWO_ICON("sharp",BTN_3_COL_X, BTN_4_ROW_Y, IMAGE_PATH"keypad/C01-3_keypad_number_sharp.png", IMAGE_PATH"keypad/C01-3_keypad_number_mute.png") - - -/***************************************************************************** -* "Contact Search" input field -*****************************************************************************/ - part { - name: "search/bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "entry/bg";} - rel2 { relative: 1.0 TEXT_ENTRY_H/TEXT_AREA_H; to: "entry/bg";} - align: 0.5 1.0; - color: 255 0 0 0; - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "search/inputarea/image"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - min: 0 66; - fixed: 1 1; - rel1 { relative: 0.0 0.5; offset: 26+74+10 0; to: "search/bg"; } - rel2 { relative: 1.0 0.5; offset: -26 0; to: "search/bg"; } - image{ - border: 8 8 33 33; - border_scale: 1; - normal: IMAGE_PATH"C01-3_search_field.png"; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - -/* part { - name: "search/inputarea"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "search/inputarea/image"; } - rel2 { relative: 1.0 1.0; to: "search/inputarea/image"; } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } -*/ - part { - name: "search/icon"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - min: 74 74; - fixed: 1 1; - rel1 { relative: 26/MAIN_W 0.5; to: "search/bg";} - rel2 { relative: (26+74)/MAIN_W 0.5; to: "search/bg";} - image.normal: IMAGE_PATH"C01-3_search_icon.png"; - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "search/defaulttext"; - type: TEXT; - scale: 1; - effect: SHADOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 16 0; to: "search/inputarea/image";} - rel2 { relative: 1.0 1.0; offset: -16 0; to: "search/inputarea/image";} - fixed: 1 1; - align: 0.0 0.5; - color: 156 159 162 153; - text { - text: "Contact Search"; - font: "Tizen:style=Regular"; - text_class: "tizen"; - size: 36; - min: 1 1; - fit: 1 1; - align: 0.0 0.5; - } - visible: 1; - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - -/***************************************************************************** -* Entry area -*****************************************************************************/ - part { - name: "textblock/bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "entry/bg";} - rel2 { relative: 1.0 TEXT_ENTRY_H/TEXT_AREA_H; to: "entry/bg";} - align: 0.5 1.0; - color: 0 255 0 0; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "textblock/bg/image"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "textblock/bg";} - rel2 { relative: 1.0 1.0; to: "textblock/bg";} - image.normal: IMAGE_PATH"C01-3_search_bg_02.png"; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "textblock/textarea"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 0.0 0.5; offset: 26 0; to: "textblock/bg"; } - rel2 { relative: 1.0 0.5; offset: -26 0; to: "textblock/bg"; } - color: 0 0 255 100; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - -/***************************************************************************** -* Suggestion box -*****************************************************************************/ - part { - name: "suggestion"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.05 TEXT_ENTRY_H/TEXT_AREA_H; to: "entry/bg";} - rel2 { relative: 0.95 0.9; to: "entry/bg";} - color: SUGGESTION_PART_NORMAL_BG_COLOR; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { - state: "pressed" 0.0; - inherit: "show" 0.0; - color: SUGGESTION_PART_PRESSED_BG_COLOR; - } - } - part { - name: "suggestionListTopItem"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.05 TEXT_ENTRY_H/TEXT_AREA_H; to: "entry/bg";} - rel2 { relative: 0.95 0.9; to: "entry/bg";} - color: SUGGESTION_PART_NORMAL_BG_COLOR; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { - state: "pressed" 0.0; - inherit: "show" 0.0; - color: SUGGESTION_PART_PRESSED_BG_COLOR; - } - } - part { - name: "icon"; - type: SWALLOW; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - offset: 12 12; - to: "suggestion"; - } - rel2 { - relative: 0.2 1.0; - offset: -12 -12; - to: "suggestion"; - } - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "textName"; - type: TEXT; - mouse_events: 0; - description { - state: "default" 0.0; - color: SUGGESTION_PART_PRIMARY_COLOR; - rel1 { - relative: 1.0 0.1; - offset: 18 2; - to_x: "icon"; - to_y: "suggestion"; - } - rel2 { - relative: 1.0 0.5; - offset: -2 -2; - to: "suggestion"; - } - text { - font: "Tizen:style=Bold"; - text_class: "tizen"; - size: 25; - align: 0.0 0.5; - } - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "textNumber"; - type: TEXTBLOCK; - mouse_events: 0; - description { - state: "default" 0.0; - color: SUGGESTION_PART_SECONDARY_COLOR; - align: 0 0; - rel1 { - relative: 1.0 0.5; - offset: 18 0; - to_x: "icon"; - to_y: "suggestion"; - } - rel2 { - relative: 1.0 0.9; - offset: -2 -2; - to: "suggestion"; - } - text { - style: "chapter_text_style"; - font: "Tizen:style=Bold"; - text_class: "tizen"; - size: 21; - align: 0.0 0.5; - } - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "delimeter"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.8 0.0; - offset: 0 0; - to: "suggestion"; - } - rel2 { - relative: 0.8 1.0; - offset: 2 -1; - to: "suggestion"; - } - image.normal: IMAGE_PATH"C01-3_title_divider.png"; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "suggestionListButton"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.8 0.0; - offset: 2 0; - to: "suggestion"; - } - rel2 { - relative: 1.0 1.0; - to: "suggestion"; - } - color: SUGGESTION_PART_NORMAL_BG_COLOR; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { - state: "pressed" 0.0; - inherit: "show" 0.0; - color: SUGGESTION_PART_PRESSED_BG_COLOR; - } - } - part { - name: "textNumberOfMatches"; - type: TEXT; - mouse_events: 0; - description { - state: "default" 0.0; - color: SUGGESTION_PART_PRIMARY_COLOR; - rel1 { - relative: 0.8 0.1; - to: "suggestion"; - } - rel2 { - relative: 1.0 0.6; - to: "suggestion"; - } - text { - font: "Tizen:style=Bold"; - text_class: "tizen"; - size: 28; - min: 1 1; - fit: 1 1; - align: 0.5 1.0; - } - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "arrow"; - type: IMAGE; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.88 0.6; - offset: 0 5; - to: "suggestion"; - } - rel2 { - relative: 0.92 0.75; - to: "suggestion"; - } - image.normal: IMAGE_PATH"C01-3_icon_expand_01.png"; - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "textAddToContacts"; - type: TEXT; - mouse_events: 0; - description { - state: "default" 0.0; - color: SUGGESTION_PART_SECONDARY_COLOR; - align: 0 0; - rel1 { - relative: 0.0 0.0; - to: "suggestion"; - } - rel2 { - relative: 1.0 1.0; - to: "suggestion"; - } - text { - font: "Tizen:style=Bold"; - text_class: "tizen"; - size: 28; - align: 0.5 0.5; - } - visible: 0; - } - description { - state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - /***************************************************************************** - * Programs - *****************************************************************************/ - programs { - program { - name: "click_exit"; - source: "background"; - signal: "mouse,clicked,1"; - action: SIGNAL_EMIT "EXIT" "EDJ"; - } - program { - name: "prog/viewobject/entry/hide"; - source: "viewobject/entry"; - signal: "viewobject/entry/hide"; - script { - set_state (PART:"textblock/bg", "default", 0.0); - set_state (PART:"textblock/bg/image", "default", 0.0); - set_state (PART:"textblock/textarea", "default", 0.0); - set_state (PART:"search/bg", "default", 0.0); - set_state (PART:"search/inputarea/image", "default", 0.0); -// set_state (PART:"search/inputarea", "default", 0.0); - set_state (PART:"search/icon", "default", 0.0); - set_state (PART:"search/defaulttext", "default", 0.0); - } - } - - program { - name: "prog/viewobject/entry/show"; - source: "viewobject/entry"; - signal: "viewobject/entry/show"; - script { - set_state (PART:"search/bg", "hide", 0.0); - set_state (PART:"search/inputarea/image", "hide", 0.0); -// set_state (PART:"search/inputarea", "hide", 0.0); - set_state (PART:"search/icon", "hide", 0.0); - set_state (PART:"search/defaulttext", "hide", 0.0); - set_state (PART:"textblock/bg", "show", 0.0); - set_state (PART:"textblock/bg/image", "show", 0.0); - set_state (PART:"textblock/textarea", "show", 0.0); - } - } - - // suggestion box //////////////////////////////////////////////// - program { - name: "prog/suggestion/hide"; - source: "suggestion"; - signal: "suggestion/hide"; - script { - set_state (PART:"suggestion", "default", 0.0); - set_state (PART:"suggestionListTopItem", "default", 0.0); - set_state (PART:"icon", "default", 0.0); - set_state (PART:"textName", "default", 0.0); - set_state (PART:"textNumber", "default", 0.0); - set_state (PART:"delimeter", "default", 0.0); - set_state (PART:"suggestionListButton", "default", 0.0); - set_state (PART:"textNumberOfMatches", "default", 0.0); - set_state (PART:"arrow", "default", 0.0); - set_state (PART:"textAddToContacts", "default", 0.0); - } - } - - program { - name: "prog/suggestion/showSingleItemView"; - source: "suggestion"; - signal: "suggestion/showSingleItemView"; - script { - set_state (PART:"suggestion", "default", 0.0); - set_state (PART:"suggestionListTopItem", "show", 0.0); - set_state (PART:"icon", "show", 0.0); - set_state (PART:"textName", "show", 0.0); - set_state (PART:"textNumber", "show", 0.0); - set_state (PART:"delimeter", "default", 0.0); - set_state (PART:"suggestionListButton", "default", 0.0); - set_state (PART:"textNumberOfMatches", "default", 0.0); - set_state (PART:"arrow", "default", 0.0); - set_state (PART:"textAddToContacts", "default", 0.0); - } - } - - program { - name: "prog/suggestion/showMultiItemView"; - source: "suggestion"; - signal: "suggestion/showMultiItemView"; - script { - set_state (PART:"suggestion", "default", 0.0); - set_state (PART:"suggestionListTopItem", "show", 0.0); - set_state (PART:"icon", "show", 0.0); - set_state (PART:"textName", "show", 0.0); - set_state (PART:"textNumber", "show", 0.0); - set_state (PART:"delimeter", "show", 0.0); - set_state (PART:"suggestionListButton", "show", 0.0); - set_state (PART:"textNumberOfMatches", "show", 0.0); - set_state (PART:"arrow", "show", 0.0); - set_state (PART:"textAddToContacts", "default", 0.0); - } - } - - program { - name: "prog/suggestion/showAddToContacts"; - source: "suggestion"; - signal: "suggestion/showAddToContacts"; - script { - set_state (PART:"suggestion", "show", 0.0); - set_state (PART:"suggestionListTopItem", "default", 0.0); - set_state (PART:"icon", "default", 0.0); - set_state (PART:"textName", "default", 0.0); - set_state (PART:"textNumber", "default", 0.0); - set_state (PART:"delimeter", "default", 0.0); - set_state (PART:"suggestionListButton", "default", 0.0); - set_state (PART:"textNumberOfMatches", "default", 0.0); - set_state (PART:"arrow", "default", 0.0); - set_state (PART:"arrow", "default", 0.0); - set_state (PART:"textAddToContacts", "show", 0.0); - } - } - - program { - name: "down_suggestion"; - signal: "mouse,down,*"; - source: "suggestion"; - script { - set_state(PART:"suggestion", "pressed", 0.0); - emit("softkey_down", "suggestion"); - } - } - program { - name: "up_suggestion"; - signal: "mouse,up,1"; - source: "suggestion"; - script { - set_state(PART:"suggestion", "show", 0.0); - emit("softkey_up", "suggestion"); - } - } - - program { - name: "clicked_suggestion"; - signal: "mouse,clicked,1"; - source: "suggestion"; - script { - emit("softkey_clicked", "suggestion"); - } - } - - program { - name: "down_suggestionListTopItem"; - signal: "mouse,down,*"; - source: "suggestionListTopItem"; - script { - set_state(PART:"suggestionListTopItem", "pressed", 0.0); - emit("softkey_down", "suggestionListTopItem"); - } - } - program { - name: "up_suggestionListTopItem"; - signal: "mouse,up,1"; - source: "suggestionListTopItem"; - script { - set_state(PART:"suggestionListTopItem", "show", 0.0); - emit("softkey_up", "suggestionListTopItem"); - } - } - - program { - name: "clicked_suggestionListTopItem"; - signal: "mouse,clicked,1"; - source: "suggestionListTopItem"; - script { - emit("softkey_clicked", "suggestionListTopItem"); - } - } - - program { - name: "down_suggestionListButton"; - signal: "mouse,down,*"; - source: "suggestionListButton"; - script { - set_state(PART:"suggestionListButton", "pressed", 0.0); - emit("softkey_down", "suggestionListButton"); - } - } - program { - name: "up_suggestionListButton"; - signal: "mouse,up,1"; - source: "suggestionListButton"; - script { - set_state(PART:"suggestionListButton", "show", 0.0); - emit("softkey_up", "suggestionListButton"); - } - } - - program { - name: "clicked_suggestionListButton"; - signal: "mouse,clicked,1"; - source: "suggestionListButton"; - script { - emit("softkey_clicked", "suggestionListButton"); - } - } - - /***************************************************************************** - * Program: Keypad button - *****************************************************************************/ -#define PROG_KEYPAD(txt) \ - program { \ - name: "down_"txt; \ - signal: "mouse,down,*"; \ - source: txt; \ - script { \ - set_state(PART:txt"_BG", "pressed", 0.0); \ - emit("pad_down", txt); \ - } \ - } \ - program { \ - name: "ani_"txt; \ - signal: "ani"; \ - source: txt; \ - action: STATE_SET "default" 0.0; \ - transition: SINUSOIDAL KEYPAD_ANI_TIME; \ - target: txt; \ - } \ - program { \ - name: "up_"txt; \ - signal: "mouse,up,1"; \ - source: txt; \ - script { \ - emit("pad_up", txt); \ - emit("ani", txt); \ - set_state(PART:txt"_BG", "default", 0.0); \ - } \ - } \ - program { \ - name: "clicked_"txt; \ - signal: "mouse,clicked,1"; \ - source: txt; \ - script { \ - emit("pad_clicked", txt); \ - } \ - } \ - program { \ - name: "hide_"txt; \ - signal: "hide_"txt; \ - source: txt; \ - script { \ - set_state(PART:txt"_TOP", "hide", 0.0); \ - set_state(PART:txt"_BOTTOM", "hide", 0.0); \ - set_state(PART:txt, "hide", 0.0); \ - } \ - } \ - program { \ - name: "show_"txt; \ - signal: "show_"txt; \ - source: txt; \ - script { \ - set_state(PART:txt"_TOP", "default", 0.0); \ - set_state(PART:txt"_BOTTOM", "default", 0.0); \ - set_state(PART:txt, "default", 0.0); \ - } \ - } - -#define PROG_KEYPAD_BOTTOM_EFFECT(txt) \ - program { \ - name: "down_"txt; \ - signal: "mouse,down,*"; \ - source: txt; \ - script { \ - set_state(PART:txt, "pressed", 0.0); \ - set_state(PART:txt"_BOTTOM", "pressed", 0.0); \ - emit("pad_down", txt); \ - } \ - } \ - program { \ - name: "ani_"txt; \ - signal: "ani"; \ - source: txt; \ - action: STATE_SET "default" 0.0; \ - transition: SINUSOIDAL KEYPAD_ANI_TIME; \ - target: txt; \ - } \ - program { \ - name: "up_"txt; \ - signal: "mouse,up,1"; \ - source: txt; \ - script { \ - emit("pad_up", txt); \ - emit("ani", txt); \ - set_state(PART:txt"_BOTTOM", "default", 0.0); \ - } \ - } \ - program { \ - name: "clicked_"txt; \ - signal: "mouse,clicked,1"; \ - source: txt; \ - script { \ - emit("pad_clicked", txt); \ - } \ - } \ - program { \ - name: "hide_"txt; \ - signal: "hide_"txt; \ - source: txt; \ - script { \ - set_state(PART:txt"_TOP", "hide", 0.0); \ - set_state(PART:txt"_BOTTOM", "hide", 0.0); \ - set_state(PART:txt, "hide", 0.0); \ - } \ - } \ - program { \ - name: "show_"txt; \ - signal: "show_"txt; \ - source: txt; \ - script { \ - set_state(PART:txt"_TOP", "default", 0.0); \ - set_state(PART:txt"_BOTTOM", "default", 0.0); \ - set_state(PART:txt, "default", 0.0); \ - } \ - } - -#define PROG_KEYPAD_TOP_EFFECT(txt) \ - program { \ - name: "down_"txt; \ - signal: "mouse,down,*"; \ - source: txt; \ - script { \ - set_state(PART:txt, "pressed", 0.0); \ - set_state(PART:txt"_TOP", "pressed", 0.0); \ - set_state(PART:txt"_BOTTOM", "pressed", 0.0); \ - emit("pad_down", txt); \ - } \ - } \ - program { \ - name: "ani_"txt; \ - signal: "ani"; \ - source: txt; \ - action: STATE_SET "default" 0.0; \ - transition: SINUSOIDAL KEYPAD_ANI_TIME; \ - target: txt; \ - } \ - program { \ - name: "up_"txt; \ - signal: "mouse,up,1"; \ - source: txt; \ - script { \ - emit("pad_up", txt); \ - emit("ani", txt); \ - set_state(PART:txt"_TOP", "default", 0.0); \ - set_state(PART:txt"_BOTTOM", "default", 0.0); \ - } \ - } \ - program { \ - name: "clicked_"txt; \ - signal: "mouse,clicked,1"; \ - source: txt; \ - script { \ - emit("pad_clicked", txt); \ - } \ - } \ - program { \ - name: "hide_"txt; \ - signal: "hide_"txt; \ - source: txt; \ - script { \ - set_state(PART:txt"_TOP", "hide", 0.0); \ - set_state(PART:txt"_BOTTOM", "hide", 0.0); \ - set_state(PART:txt, "hide", 0.0); \ - } \ - } \ - program { \ - name: "show_"txt; \ - signal: "show_"txt; \ - source: txt; \ - script { \ - set_state(PART:txt"_TOP", "default", 0.0); \ - set_state(PART:txt"_BOTTOM", "default", 0.0); \ - set_state(PART:txt, "default", 0.0); \ - } \ - } - - PROG_KEYPAD("1") - PROG_KEYPAD("2") - PROG_KEYPAD("3") - PROG_KEYPAD("4") - PROG_KEYPAD("5") - PROG_KEYPAD("6") - PROG_KEYPAD("7") - PROG_KEYPAD("8") - PROG_KEYPAD("9") - PROG_KEYPAD("star") - PROG_KEYPAD("0") - PROG_KEYPAD("sharp") - - /***************************************************************************** - * Program: Softkey button - *****************************************************************************/ - // call ////////////////////////////////////////////////////////////////////////// - program { - name: "down_normal/call"; - signal: "mouse,down,*"; - source: "normal/call"; - script { - new st[30]; - new Float:vl; - get_state (PART:"normal/call", st, 30, vl); - if (strcmp(st, "default") == 0) { - set_state(PART:"normal/call", "pressed", 0.0); - emit("softkey_down", "normal/call"); - } - else if (strcmp(st, "expand_R") == 0) { - set_state(PART:"normal/call", "expand_R_pressed", 0.0); - emit("softkey_down", "normal/call"); - } - else if (strcmp(st, "expand_L") == 0) { - set_state(PART:"normal/call", "expand_L_pressed", 0.0); - emit("softkey_down", "normal/call"); - } - set_state(PART:"normal/call_icon", "pressed", 0.0); - } - } - program { - name: "up_normal/call"; - signal: "mouse,up,1"; - source: "normal/call"; - script { - new st[30]; - new Float:vl; - get_state (PART:"normal/call", st, 30, vl); - if (strcmp(st, "pressed") == 0) { - set_state(PART:"normal/call", "default", 0.0); - emit("softkey_up", "normal/call"); - } - else if (strcmp(st, "expand_R_pressed") == 0) { - set_state(PART:"normal/call", "expand_R", 0.0); - emit("softkey_up", "normal/call"); - } - else if (strcmp(st, "expand_L_pressed") == 0) { - set_state(PART:"normal/call", "expand_L", 0.0); - emit("softkey_up", "normal/call"); - } - set_state(PART:"normal/call_icon", "default", 0.0); - } - } - program { - name: "clicked_normal/call"; - signal: "mouse,clicked,1"; - source: "normal/call"; - script { - emit ("viewobject/entry/show", "viewobject/entry"); - emit("softkey_clicked", "normal/call"); - } - } - - // message ////////////////////////////////////////////////////////////////////////// - program { - name: "down_normal/message"; - signal: "mouse,down,*"; - source: "normal/message"; - script { - set_state(PART:"normal/message", "pressed", 0.0); - set_state(PART:"normal/message_icon", "pressed", 0.0); - emit("softkey_down", "normal/message"); - } - } - program { - name: "up_normal/message"; - signal: "mouse,up,1"; - source: "normal/message"; - script { - set_state(PART:"normal/message", "default", 0.0); - set_state(PART:"normal/message_icon", "default", 0.0); - emit("softkey_up", "normal/message"); - } - } - program { - name: "clicked_normal/message"; - signal: "mouse,clicked,1"; - source: "normal/message"; - script { - emit("softkey_clicked", "normal/message"); - } - } - // emergency ////////////////////////////////////////////////////////////////////////// - program { - name: "down_normal/emergency"; - signal: "mouse,down,*"; - source: "normal/emergency"; - script { - set_state(PART:"normal/emergency", "pressed", 0.0); - set_state(PART:"normal/emergency_icon", "pressed", 0.0); - emit("softkey_down", "normal/emergency"); - } - } - program { - name: "up_normal/emergency"; - signal: "mouse,up,1"; - source: "normal/emergency"; - script { - set_state(PART:"normal/emergency", "default", 0.0); - set_state(PART:"normal/emergency_icon", "default", 0.0); - emit("softkey_up", "normal/emergency"); - } - } - program { - name: "clicked_normal/emergency"; - signal: "mouse,clicked,1"; - source: "normal/emergency"; - script { - emit("softkey_clicked", "normal/emergency"); - } - } - - // backspace ////////////////////////////////////////////////////////////////////////// - program { - name: "down_normal/backspace"; - signal: "mouse,down,*"; - source: "normal/backspace"; - script { - set_state(PART:"normal/backspace", "pressed", 0.0); - set_state(PART:"normal/backspace_icon", "pressed", 0.0); - emit("softkey_down", "normal/backspace"); - } - } - program { - name: "up_normal/backspace"; - signal: "mouse,up,1"; - source: "normal/backspace"; - script { - set_state(PART:"normal/backspace", "default", 0.0); - set_state(PART:"normal/backspace_icon", "default", 0.0); - emit("softkey_up", "normal/backspace"); - } - } - program { - name: "clicked_normal/backspace"; - signal: "mouse,clicked,1"; - source: "normal/backspace"; - script { - emit("softkey_clicked", "normal/backspace"); - } - } - - - - // PROG: contactsearch input field //////////////////////////////////////////////////// - program { - name: "clicked_contactsearch"; - signal: "mouse,clicked,1"; - source: "search/inputarea/image"; - script { - emit("softkey_clicked", "search/inputarea/image"); - } - } - - /***************************************************************************** - * Program: Softkey - normal mode - *****************************************************************************/ - program { - name: "prog_softkey_normal"; - source: "softkey"; - signal: "softkey/normal"; - script { - set_state (PART:"normal/call", "expand_L", 0.0); - set_state (PART:"normal/call_icon", "default", 0.0); - set_state (PART:"normal/message", "default", 0.0); - set_state (PART:"normal/message_icon", "default", 0.0); - set_state (PART:"normal/backspace", "default", 0.0); - set_state (PART:"normal/backspace_icon", "default", 0.0); - } - } - - /***************************************************************************** - * Program: Softkey - during call mode - *****************************************************************************/ - program { - name: "prog_softkey_dc"; - source: "softkey"; - signal: "softkey/dc"; - script { - set_state (PART:"normal/call", "default", 0.0); - set_state (PART:"normal/call_icon", "default", 0.0); - set_state (PART:"normal/message", "default", 0.0); - set_state (PART:"normal/message_icon", "default", 0.0); - set_state (PART:"normal/backspace", "default", 0.0); - set_state (PART:"normal/backspace_icon", "default", 0.0); - } - } - - /***************************************************************************** - * Program: Softkey - emergency mode - *****************************************************************************/ - program { - name: "prog_softkey_emergency"; - source: "softkey"; - signal: "softkey/emergency"; - script { - set_state (PART:"normal/emergency", "hide", 0.0); - set_state (PART:"normal/emergency_icon", "hide", 0.0); - set_state (PART:"normal/call", "expand_R", 0.0); - set_state (PART:"normal/call_icon", "default", 0.0); - set_state (PART:"normal/message", "hide", 0.0); - set_state (PART:"normal/message_icon", "hide", 0.0); - } - } - - /***************************************************************************** - * Program: Dialer default - *****************************************************************************/ - program { - name: "prog/main"; - source: "main"; - signal: "main/default"; - script { - emit ("viewcontrol/button", "viewcontrol"); -// emit ("viewobject/entry/hide", "viewobject/entry"); - } - } - } // programs end - } // end of group -} diff --git a/lib/edc/dialer_btn.edc b/lib/edc/dialer_btn.edc deleted file mode 100755 index d3cf950..0000000 --- a/lib/edc/dialer_btn.edc +++ /dev/null @@ -1,113 +0,0 @@ -/* -* Copyright 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. -*/ - - -group { - name: "dialer/btn_style"; - styles { - style { - name: "Expand_text"; - base: "font=Tizen:style=Regular text_class=tizen font_size=38 color=#999999 align=center"; - } - } - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "btn_style/number"; - type: TEXTBLOCK; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.5; to: "base"; } - text { - style: "Expand_text"; - align: 0.5 1.0; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "btn_style/icon"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - min: 38 26; - fixed: 1 1; - rel1 { relative: 0.5 0.75; to: "base"; } - rel2 { relative: 0.5 0.75; to: "base"; } - image.normal : IMAGE_PATH"C01-3_icon_expand_01.png"; - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: IMAGE_PATH"C01-3_icon_expand_02.png"; - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - } - programs { - program { - name: "prog/dialer/count_button/opened"; - source: "count_button"; - signal: "count_button/opened"; - script { - set_state (PART:"btn_style/icon", "default", 0.0); - } - } - program { - name: "prog/dialer/count_button/closed"; - source: "count_button"; - signal: "count_button/closed"; - script { - set_state (PART:"btn_style/icon", "pressed", 0.0); - } - } - program { - name: "prog/dialer/count_button/hide"; - source: "count_button"; - signal: "count_button/hide"; - script { - set_state (PART:"btn_style/icon", "hide", 0.0); - } - } - } -} diff --git a/lib/edc/dialer_theme.edc b/lib/edc/dialer_theme.edc deleted file mode 100755 index ed25e17..0000000 --- a/lib/edc/dialer_theme.edc +++ /dev/null @@ -1,387 +0,0 @@ -/* -* Copyright 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. -*/ - - -#define MAIN_W (720) -#define ITEM_H (140) -#define DIALER_TEXTBLOCK_TEXT_SIZE_MAIN (44) -#define DIALER_TEXTBLOCK_TEXT_SIZE_SUB (32) - - -collections { - styles { - style { - name: "dialer_textblock_style_main"; - base: "font=Tizen:style=Roman text_class=list_item font_size=44 align=left color=#000000 wrap=word ellipsis=1.0"; - tag: "match" "+ color=#3b73b6"; - } - style { - name: "dialer_textblock_style_main_selected"; - base: "font=Tizen:style=Roman text_class=list_item font_size=44 align=left color=#F9F9F9FF wrap=word ellipsis=1.0"; - tag: "match" "+ color=#F9F9F9FF"; - } - style { - name: "dialer_textblock_style_sub"; - base: "font=Tizen:style=Roman text_class=list_item font_size=32 align=left color=#999999 wrap=word ellipsis=1.0"; - tag: "match" "+ color=#3b73b6"; - } - style { - name: "dialer_textblock_style_sub_selected"; - base: "font=Tizen:style=Roman text_class=list_item font_size=32 align=left color=#F9F9F9FF wrap=word ellipsis=1.0"; - tag: "match" "+ color=#F9F9F9FF"; - } - } - -#define COMMON_BASE_STYLE\ - part { \ - name: "base"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 ITEM_H; \ - color: 31 31 31 255; \ - rel1 { relative: 0.0 0.0; } \ - rel2 { relative: 1.0 1.0; } \ - } \ - } - -#define COMMON_BG \ - part { \ - name: "bg"; \ - clip_to: "disclip"; \ - type: RECT; \ - description { \ - state: "default" 0.0; \ - visible: 1; \ - rel1 { relative: 0.0 0.0; } \ - rel2 { relative: 1.0 1.0; } \ - color: 255 255 255 255; \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - rel1 { relative: 0.0 0.0; } \ - rel2 { relative: 1.0 1.0; } \ - color: 73 137 174 255; \ - } \ - } - -#define COMMON_BOTTOM_LINE \ - part { \ - name: "bottom_line"; \ - type: RECT; \ - description { \ - state: "default" 0.0; \ - min: 0 1; \ - fixed: 0 1; \ - visible: 1; \ - color: 81 81 81 255; \ - rel1 { relative: 0.0 1.0; to: "base";} \ - rel2 { relative: 1.0 1.0; to: "base";} \ - align: 0.5 1.0; \ - } \ - } - -#define COMMON_DISCLIP \ - part { \ - name: "disclip"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - rel1 { to: "bg"; } \ - rel2 { to: "bg"; } \ - } \ - description { \ - state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 64; \ - } \ - } - -#define COMMON_NAME_TEXTBLOCK\ - part { \ - name: "elm.text.left.name"; \ - type: TEXTBLOCK; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1 { relative: 0.0 0.0; offset: 26 22; to: "bg"; } \ - rel2 { relative: 1.0 76/ITEM_H; offset: -26 0; to: "bg"; } \ - fixed: 1 1; \ - color: 255 255 255 255; \ - text { min: 0 1; style: "dialer_textblock_style_main"; } \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - text.style: "dialer_textblock_style_main_selected"; \ - } \ - } \ - part { \ - name: "elm.text.left.number"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1 { relative: 0.0 76/ITEM_H; offset: 26 0; to: "bg"; } \ - rel2 { relative: 1.0 1.0; offset: -26 -22; to: "bg"; } \ - color: 153 153 153 255; \ - text { \ - font: "SLP:style=Regular"; \ - text_class: "slp"; \ - size: DIALER_TEXTBLOCK_TEXT_SIZE_SUB; \ - min: 0 1; \ - align: 0.0 0.5; \ - } \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - } \ - } - -#define COMMON_NUM_TEXTBLOCK\ - part { \ - name: "elm.text.left.name"; \ - type: TEXT; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1 { relative: 0.0 0.0; offset: 26 22; to: "bg"; } \ - rel2 { relative: 1.0 76/ITEM_H; offset: -26 0; to: "bg"; } \ - fixed: 1 1; \ - color: 0 0 0 255; \ - text { \ - font: "SLP:style=Regular"; \ - text_class: "slp"; \ - size: DIALER_TEXTBLOCK_TEXT_SIZE_MAIN; \ - min: 0 1; \ - align: 0.0 0.5; \ - } \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - } \ - } \ - part { \ - name: "elm.text.left.number"; \ - type: TEXTBLOCK; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1 { relative: 0.0 76/ITEM_H; offset: 26 0; to: "bg"; } \ - rel2 { relative: 1.0 1.0; offset: -26 -22; to: "bg"; } \ - color: 255 255 255 255; \ - text { min: 0 1; style: "dialer_textblock_style_sub"; } \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "dialer_textblock_style_sub_selected"; \ - } \ - } - -#define COMMON_CALLERID_ICON\ - part { \ - name: "elm.icon.1"; \ - type: SWALLOW; \ - clip_to: "disclip"; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 96 96; \ - max: 96 96; \ - fixed: 1 1; \ - rel1 { \ - relative: 1.0 0.0; offset: -16 16; \ - to_x: "bg"; \ - } \ - rel2 { \ - relative: 1.0 1.0; offset: -16 -16; \ - to_x: "bg"; \ - } \ - align: 1.0 0.5; \ - } \ - } - -#define COMMON_NONAME_TEXTBLOCK\ - part { \ - name: "elm.text.left.number"; \ - type: TEXTBLOCK; \ - scale: 1; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1 { relative: 0.0 0.25; offset: 26 0; to: "bg"; } \ - rel2 { relative: 1.0 0.75; offset: -26 0; to: "bg"; } \ - color: 255 255 255 255; \ - text { min: 0 1; style: "dialer_textblock_style_main"; } \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - text.style: "dialer_textblock_style_main_selected"; \ - } \ - } - -#define NAME_PROGRAM \ - program { \ - name: "name_selected"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "elm.text.left.name"; \ - } \ - program { \ - name: "name_unselected"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text.left.name"; \ - transition: LINEAR 0.1; \ - } - - -#define NUMBER_PROGRAM \ - program { \ - name: "number_selected"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "elm.text.left.number"; \ - } \ - program { \ - name: "number_unselected"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.text.left.number"; \ - transition: LINEAR 0.1; \ - } - -#define COMMON_PROGRAM \ - program { \ - name: "go_active"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "bg"; \ - } \ - program { \ - name: "go_passive"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "bg"; \ - 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 */ - group { - name: "elm/genlist/item/number_textblock/default"; - alias: "elm/genlist/item_odd/number_textblock/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.left.name elm.text.left.number"; - data.item: "contents" "elm.icon.1"; - data.item: "treesize" "20"; - parts { - COMMON_BASE_STYLE - COMMON_BG - COMMON_NUM_TEXTBLOCK -// COMMON_CALLERID_ICON - COMMON_DISCLIP - COMMON_BOTTOM_LINE - } - programs { - COMMON_PROGRAM - NAME_PROGRAM - NUMBER_PROGRAM - } - } - - /* Genlist */ - group { - name: "elm/genlist/item/name_textblock/default"; - alias: "elm/genlist/item_odd/name_textblock/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.left.name elm.text.left.number"; - data.item: "contents" "elm.icon.1"; - data.item: "treesize" "20"; - parts { - COMMON_BASE_STYLE - COMMON_BG - COMMON_NAME_TEXTBLOCK -// COMMON_CALLERID_ICON - COMMON_DISCLIP - COMMON_BOTTOM_LINE - } - programs { - COMMON_PROGRAM - NAME_PROGRAM - NUMBER_PROGRAM - } - } - - /* Genlist */ - group { - name: "elm/genlist/item/noname_textblock/default"; - alias: "elm/genlist/item_odd/noname_textblock/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.left.number"; - data.item: "treesize" "20"; - parts { - COMMON_BASE_STYLE - COMMON_BG - COMMON_NONAME_TEXTBLOCK - COMMON_DISCLIP - COMMON_BOTTOM_LINE - } - programs { - COMMON_PROGRAM - NUMBER_PROGRAM - } - } -} - diff --git a/lib/edc/favorites_theme.edc b/lib/edc/favorites_theme.edc deleted file mode 100755 index 2e48e0b..0000000 --- a/lib/edc/favorites_theme.edc +++ /dev/null @@ -1,570 +0,0 @@ -/* -* Copyright 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. -*/ - - -#define WIDTH 720 -#define MIN_SIZE (WIDTH/3) -#define FAVORITE_ITEM_BG_COLOR 151 151 151 255 -#define FAVORITE_INDEX_TEXT_COLOR 255 255 255 255 - -// Group Index -#define GENLIST_INDEX_LIST_SIZE 32 -#define GENLIST_INDEX_LIST_COLOR 59 115 182 255 -#define GENLIST_INDEX_LIST_FOCUS_COLOR 255 255 255 255 - -#define GENLIST_INDEX_LIST_BG_COLOR 248 246 239 255 -#define GENLIST_INDEX_LIST_PRESS_COLOR 87 135 194 255 -#define GENLIST_INDEX_LINE_COLOR 59 115 182 255 -#define GENLIST_INDEX_LINE_FOCUS_COLOR 255 255 255 255 - -#define GENLIST_PADDING_SIZE_RIGHT 26 -#define DIALOGUE_PADDING_SIZE_RIGHT 36 -#define GENLIST_ICON_BIG_SIZE 74 - - -#define GENLIST_PART_PERSPECTIVE_POINT \ - part { name: "point"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - color: 0 0 0 0; \ - rel1 { relative: 0.0 0.0; } \ - rel2 { relative: 1.0 0.0; } \ - } \ - } - -#define GENLIST_PART_BASE \ - part { name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { state: "default" 0.0; \ - align: 0.5 0.5; \ - color: 0 0 0 0; \ - } \ - } \ - GENLIST_PART_PERSPECTIVE_POINT - -#define GENLIST_PART_INDEX_BG_IMAGE \ - part { name: "bg_image"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: GENLIST_INDEX_LIST_BG_COLOR; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_INDEX_LIST_PRESS_COLOR; \ - } \ - GENLIST_DESCRIPTION_FADEOUT \ - } - -#define GENLIST_PART_EXPANDED_PAD \ - part { name: "elm.swallow.pad"; \ - type: SWALLOW; \ - scale: 1; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - min: 0 0; \ - fixed: 1 0; \ - align: 0.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 0.0 1.0; \ - } \ - } - - -#define GENLIST_PART_SPACER(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - mouse_events: 0; \ - type: SPACER; \ - DESCRIPION \ - } - -#define GENLIST_DESCRIPTION_L( left, param ) \ - description { state: "default" 0.0; \ - align: 0 0.5; \ - fixed: 1 0; \ - rel1 { \ - relative: 1 0; \ - to_x: left; \ - to_y: "base"; \ - }\ - rel2 { \ - relative: 1 1;\ - to_x: left; \ - to_y: "base"; \ - }\ - param \ - } - -#define GENLIST_PART_PADDING_LEFT_SIZE( SIZE ) \ - GENLIST_PART_EXPANDED_PAD \ - GENLIST_PART_SPACER("elm.padding.left", \ - GENLIST_DESCRIPTION_L("elm.swallow.pad", \ - min: SIZE 0; \ - max: SIZE 0; \ - fixed: 1 0; \ - ) \ - ) - -#define GENLIST_PART_PADDING_RIGHT \ - GENLIST_PART_SPACER("elm.padding.right", \ - description { state: "default" 0.0; \ - min: GENLIST_PADDING_SIZE_RIGHT 0; \ - max: GENLIST_PADDING_SIZE_RIGHT -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 1 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - ) - -#define GENLIST_PART_PADDING_TOP_SIZE( SIZE ) \ - GENLIST_PART_SPACER("elm.padding.top", \ - description { \ - state: "default" 0.0; \ - min: 0 SIZE; \ - max: -1 SIZE; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel2.relative: 1.0 0.0; \ - align: 0.5 0.0; \ - } \ - ) - -#define GENLIST_PART_PADDING_RIGHT_SIZE( SIZE ) \ - GENLIST_PART_SPACER("elm.padding.right", \ - description { state: "default" 0.0; \ - min: SIZE 0; \ - max: SIZE -1; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 1 0; \ - } \ - description { state: "decorate" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - ) - -#define GENLIST_PART_PADDING_BOTTOM_SIZE( SIZE ) \ - GENLIST_PART_SPACER("elm.padding.bottom", \ - description { state: "default" 0.0; \ - min: 0 SIZE; \ - max: -1 SIZE; \ - fixed: 0 1; \ - rel1.to: "base"; \ - rel2.to: "base"; \ - rel1.relative: 0.0 1.0; \ - align: 0.5 1.0; \ - } \ - ) - -#define GENLIST_DESCRIPTION( left, right, top, bottom, param ) \ - description { state: "default" 0.0;\ - rel1 { \ - relative: 1 1; \ - to_x: left; \ - to_y: top; \ - }\ - rel2 {\ - relative: 0 0;\ - to_x: right;\ - to_y: bottom;\ - }\ - param\ - } - -#define GENLIST_DESCRIPTION_FADEOUT \ - description { state: "fadeout" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 50; \ - visible: 0; \ - } \ - description { state: "fadein" 0.0; \ - inherit: "default" 0.0; \ - } \ - -#define GENLIST_DESCRIPTION_INDEX_LIST \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_INDEX_LIST_FOCUS_COLOR; \ - } - -#define GENLIST_PARAM_INDEX_LIST \ - color: GENLIST_INDEX_LIST_COLOR; \ - align: 0 0.5; \ - text { \ - align: 0 0.5; \ - min: 0 1; \ - max: 1 0; \ - font: "Tizen:style=Bold"; \ - size: GENLIST_INDEX_LIST_SIZE; \ - text_class: "list_item"; \ - } - -#define GENLIST_DESCRIPTION_LRT( left, right, top, param ) \ - description { state: "default" 0.0;\ - align: 0.5 0;\ - rel1 { \ - relative: 1 1; \ - to_x: left; \ - to_y: top; \ - }\ - rel2 {\ - relative: 0 1;\ - to_x: right;\ - to_y: top;\ - }\ - param\ - } - -#define GENLIST_PART_TEXT(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - mouse_events: 0; \ - type: TEXT; \ - DESCRIPION \ - GENLIST_DESCRIPTION_FADEOUT \ - } - -#define GENLIST_DESCRIPTION_FADEOUT_RECT \ - description { state: "fadeout" 0.0; \ - inherit: "default" 0.0; \ - color: 0 0 0 50; \ - visible: 0; \ - } \ - description { state: "fadein" 0.0; \ - inherit: "default" 0.0; \ - } \ - -#define GENLIST_PART_RECT(NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: RECT; \ - DESCRIPION \ - GENLIST_DESCRIPTION_FADEOUT_RECT \ - } - -#define GENLIST_PART_INDEX_LINE(LEFT, RIGHT, TOP, BOTTOM) \ - GENLIST_PART_RECT("index_line", \ - GENLIST_DESCRIPTION(LEFT, RIGHT, TOP, BOTTOM, \ - color: GENLIST_INDEX_LINE_COLOR; \ - min: 0 4; \ - max: -1 4;) \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_INDEX_LINE_FOCUS_COLOR; \ - } \ - ) - -styles { - style { - name: "gengrid_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen font_size=24 color=#F9F9F9 wrap=char ellipsis=1.0"; - } - style { - name: "gengrid_noid_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen font_size=40 color=#FFFFFF wrap=char align=center ellipsis=0.0"; - } -} - -collections { - group { - name: "elm/gengrid/item/group_index/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - parts { - GENLIST_PART_BASE - GENLIST_PART_INDEX_BG_IMAGE - GENLIST_PART_PADDING_LEFT_SIZE(26) - GENLIST_PART_PADDING_RIGHT_SIZE(26) - GENLIST_PART_PADDING_TOP_SIZE(20) - GENLIST_PART_PADDING_BOTTOM_SIZE(14) - GENLIST_PART_TEXT("elm.text", - GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.right", "elm.padding.top", - GENLIST_PARAM_INDEX_LIST - min: 0 38; fixed: 1 1;) - GENLIST_DESCRIPTION_INDEX_LIST - ) - GENLIST_PART_INDEX_LINE("elm.padding.left", "elm.padding.right", "elm.text", "elm.padding.bottom") - } - } - - group{ - name: "elm/gengrid/item/gridtext_favorites/default"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.expand.icon elm.swallow.end"; - - parts{ - part{ - name: "bg"; - type: RECT; - description { - state: "default" 0.0; - color: 248 246 239 255; - } - } - part { - name: "item_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 248 246 239 255; - min: MIN_SIZE MIN_SIZE; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { - name: "elm.icon.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 248 246 239 255; - rel1 { relative: 0.0 0.0; to: "item_bg"; } - rel2 { relative: 1.0 1.0; offset: -2 -2; to: "item_bg"; } - } - description { - state: "edit" 0.0; - color: 248 246 239 255; - rel1 { relative: 0.05 0.05; to: "item_bg"; } - rel2 { relative: 0.95 0.95; offset: -2 -2; to: "item_bg"; } - } - } - part{ - name: "elm.swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.icon.bg"; } - rel2 { relative: 1.0 1.0; to: "elm.icon.bg"; } - } - } - part { - name: "label_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 78; - min: 0 72; - fixed: 0 1; - align: 0.0 1.0; - rel1 { relative: 0.0 1.0; to: "elm.icon.bg"; } - rel2 { relative: 1.0 1.0; to: "elm.icon.bg"; } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 16 6; to: "label_bg"; } - rel2 { relative: 0.75 1.0; offset: -20 0; to: "label_bg"; } - text { - style: "gengrid_textblock_style"; - align: 0.5 0.5; - } - } - description { - state: "edit" 0.0; - inherit: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 18 6; to: "label_bg"; } - rel2 { relative: 0.75 1.0; offset: -22 0; to: "label_bg"; } - } - } - part { - name: "elm.swallow.expand.icon"; - type: SWALLOW; - mouse_events: 1; - description { - state: "default" 0.0; - min: 50 40; - fixed: 1 1; - rel1 { relative: 1.0 0.5; to: "label_bg"; } - rel2 { relative: 1.0 0.5; to: "label_bg"; } - align: 1.0 0.5; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; } - rel2 { relative: 0.0 0.0; to: "elm.swallow.icon"; } - } - } - } - programs { - program { - name: "prog/favorites_theme/edit"; - source: "favorites_theme"; - signal: "favorites_theme/edit"; - action: STATE_SET "edit" 0.0; - transition: DECELERATE 0.7; - target: "elm.icon.bg"; - target: "elm.text"; - } - program { - name: "prog/favorites_theme/edit_no_effect"; - source: "favorites_theme"; - signal: "favorites_theme/edit_no_effect"; - action: STATE_SET "edit" 0.0; - target: "elm.icon.bg"; - target: "elm.text"; - } - } - } - group{ - name: "elm/gengrid/item/gridtext_favorites_no_id/default"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.expand.icon elm.swallow.end"; - - parts{ - part { - name: "item_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 248 246 239 255; - min: MIN_SIZE MIN_SIZE; - fixed: 1 1; - } - } - part { - name: "item_icon_bg"; - type: RECT; - description { - state: "default" 0.0; - color: FAVORITE_ITEM_BG_COLOR; - rel1 { relative: 0.0 0.0; to: "item_bg"; } - rel2 { relative: 1.0 1.0; offset: -2 -2; to: "item_bg"; } - } - description { - state: "edit" 0.0; - color: FAVORITE_ITEM_BG_COLOR; - rel1 { relative: 0.05 0.05; to: "item_bg"; } - rel2 { relative: 0.95 0.95; offset: -2 -2; to: "item_bg"; } - } - } - part { - name: "label_bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 90; - rel1 { relative: 0.0 64/240; to: "item_icon_bg"; } - rel2 { relative: 1.0 176/240; to: "item_icon_bg"; } - } - description { - state: "edit" 0.0; - color: 0 0 0 90; - rel1 { relative: 0.0 52/216; to: "item_icon_bg"; } - rel2 { relative: 1.0 164/216; to: "item_icon_bg"; } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 96; - fixed: 0 1; - rel1 { relative: 0.0 64/240; offset: 20 0; to: "label_bg"; } - rel2 { relative: 1.0 176/240; offset: -20 0; to: "label_bg"; } - text { - style: "gengrid_noid_textblock_style"; - align: 0.5 0.5; - } - } - description { - state: "edit" 0.0; - inherit: "default" 0.0; - rel1 { relative: 0.0 52/216; offset: 18 0; to: "label_bg"; } - rel2 { relative: 1.0 164/216; offset: -22 0; to: "label_bg"; } - } - } - part { - name: "elm.swallow.expand.icon"; - type: SWALLOW; - mouse_events: 1; - description { - state: "default" 0.0; - min: 54 64; - fixed: 1 1; - rel1 { relative: 1.0 1.0; to: "item_icon_bg"; } - rel2 { relative: 1.0 1.0; to: "item_icon_bg"; } - align: 1.0 1.0; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "item_icon_bg"; } - rel2 { relative: 0.0 0.0; to: "item_icon_bg"; } - } - } - } - programs { - program { - name: "prog/favorites_theme/edit"; - source: "favorites_theme"; - signal: "favorites_theme/edit"; - action: STATE_SET "edit" 0.0; - transition: DECELERATE 0.7; - target: "item_icon_bg"; - target: "elm.text"; - } - program { - name: "prog/favorites_theme/edit_no_effect"; - source: "favorites_theme"; - signal: "favorites_theme/edit_no_effect"; - action: STATE_SET "edit" 0.0; - target: "item_icon_bg"; - target: "elm.text"; - } - } - } -} diff --git a/lib/edc/group_theme.edc b/lib/edc/group_theme.edc deleted file mode 100755 index 3d99fd1..0000000 --- a/lib/edc/group_theme.edc +++ /dev/null @@ -1,962 +0,0 @@ -/* -* Copyright 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. -*/ - -#define GROUP_TITLE_BG_COLOR 74 119 149 255 -#define GROUP_BG_COLOR 209 209 209 255 -#define GROUP_TEXT_COLOR 255 255 255 255 -#define GROUP_INDEX_TEXT_COLOR 49 49 49 255 - -#define WIDTH 330 -#define HEIGHT 312 -#define INFO_HEIGHT 90 - -#define PADDING 3 -#define ITEM_SIZE 110 -#define CT_SIZE 106 - -#define PART_BG(NAME) \ - -#define PART_SWALLOW(NAME) \ -part { \ - name: "rect."NAME".bg"; \ - type: RECT; \ - description { \ - state: "default" 0.0; \ - color: GROUP_BG_COLOR; \ - rel1.to: "rect."NAME; \ - rel2.to: "rect."NAME; \ - } \ -}\ -part { \ - name: "disclip."NAME; \ - type: RECT; \ - description { \ - state: "default" 0.0; \ - color: GROUP_TEXT_COLOR; \ - rel1.to: "rect."NAME; \ - rel2.to: "rect."NAME; \ - } \ -}\ -part { \ - name: "swallow."NAME; \ - type: SWALLOW; \ - clip_to: "disclip."NAME; \ - description { \ - state: "default" 0.0; \ - rel1.to: "rect."NAME; \ - rel2.to: "rect."NAME; \ - }\ -} - -#define PART_TEXT(NAME) \ -part { \ - name: "text."NAME; \ - type: TEXT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - align: 0.0 0.5; \ - color: GROUP_TEXT_COLOR; \ - rel1 { relative: 0.0 0.0; to: "rect."NAME".bg"; } \ - rel2 { relative: 1.0 1.0; to: "rect."NAME".bg"; } \ - text { \ - font: "Tizen:style=Medium"; \ - text_class: "tizen"; \ - size: 30; \ - align: 0.0 0.5; \ - ellipsis: 0.0; \ - } \ - } \ -} - -collections { - group { - name: "elm/gengrid/item/group_index/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 255; - min: 0 80; - fixed: 0 1; - } - } - part { - name: "elm.text"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - color: GROUP_INDEX_TEXT_COLOR; - rel1 { offset: 24 0; } - align: 0.0 1.0; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 1.0; - text_class: "tizen"; - } - } - } - } - } - group { - name: "elm/gengrid/item/groupitem.1image/default"; - data.item: "texts" "text.name text.count text.edit.name text.edit.count"; - data.item: "contents" "swallow.content1 swallow.icon swallow.edit.icon quick.menu.button"; - - parts{ - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "rect.bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: GROUP_BG_COLOR; - min: WIDTH HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - rel2 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - } - } - part { - name: "rect.info"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 INFO_HEIGHT-PADDING; - fixed: 0 1; - align: 0.0 0.0; - color: GROUP_TITLE_BG_COLOR; - rel1 { relative: 0.0 0.0; to: "rect.bg"; offset: PADDING PADDING; } - rel2 { relative: 1.0 0.0; to: "rect.bg"; offset: -PADDING PADDING; } - } - } - part { - name: "rect.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 1.0 0.5; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.info"; offset: -PADDING*3 PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.info"; offset: -PADDING*3 -PADDING*2; } - } - } - part { - name: "rect.icon.quick"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 1.0 0.5; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.info";} - rel2 { relative: 1.0 1.0; to: "rect.info";} - } - } - part { - name: "delimeter.line"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { relative: 1.0 0.0; to: "rect.info";} - rel2 { relative: 1.0 1.0; to: "rect.info";} - } - } - part { - name: "rect.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: 10 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.5; to: "rect.info"; offset: 10 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - rel2 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - } - } - part { - name: "rect.edit.image"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ITEM_SIZE ITEM_SIZE); - fixed: 1 1; - align: 1.0 1.0; - color: 255 0 0 0; - rel1 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.edit.icon"; offset: 0 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.edit.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.5; to: "rect.edit.icon"; offset: 0 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.content1"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: (CT_SIZE*3)+(PADDING*2) (CT_SIZE*2)+(PADDING*2); - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - } - } - PART_SWALLOW("content1") - part { - name: "swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "quick.menu.button"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "swallow.edit.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 60 60; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "rect.edit.icon"; } - rel2 { relative: 0.5 0.5; to: "rect.edit.icon"; } - } - } - PART_TEXT("name") - PART_TEXT("count") - PART_TEXT("edit.name") - PART_TEXT("edit.count") - } - } - group { - name: "elm/gengrid/item/groupitem.2image/default"; - data.item: "texts" "text.name text.count text.edit.name text.edit.count"; - data.item: "contents" "swallow.content1 swallow.content2 swallow.icon swallow.edit.icon quick.menu.button"; - parts{ - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "rect.bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: GROUP_BG_COLOR; - min: WIDTH HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - rel2 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - } - } - part { - name: "rect.info"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 INFO_HEIGHT-PADDING; - fixed: 0 1; - align: 0.0 0.0; - color: GROUP_TITLE_BG_COLOR; - rel1 { relative: 0.0 0.0; to: "rect.bg"; offset: PADDING PADDING; } - rel2 { relative: 1.0 0.0; to: "rect.bg"; offset: -PADDING PADDING; } - } - } - part { - name: "rect.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 1.0 0.5; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.info"; offset: -PADDING*3 PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.info"; offset: -PADDING*3 -PADDING*2; } - } - } - part { - name: "rect.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: 10 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.5; to: "rect.info"; offset: 10 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - rel2 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - } - } - part { - name: "rect.edit.image"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ITEM_SIZE ITEM_SIZE); - fixed: 1 1; - align: 1.0 1.0; - color: 255 0 0 0; - rel1 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.edit.icon"; offset: 0 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.edit.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.5; to: "rect.edit.icon"; offset: 0 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.content1"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: (CT_SIZE*2)+PADDING (CT_SIZE*2)+PADDING; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - } - } - part { - name: "rect.content2"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE (CT_SIZE*2)+PADDING; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.content1.bg"; offset: PADDING 0; } - rel2 { relative: 1.0 0.0; to: "rect.content1.bg"; offset: PADDING 0; } - } - } - PART_SWALLOW("content1") - PART_SWALLOW("content2") - part { - name: "swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "quick.menu.button"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "swallow.edit.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 60 60; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "rect.edit.icon"; } - rel2 { relative: 0.5 0.5; to: "rect.edit.icon"; } - } - } - PART_TEXT("name") - PART_TEXT("count") - PART_TEXT("edit.name") - PART_TEXT("edit.count") - } - } - group { - name: "elm/gengrid/item/groupitem.3image/default"; - data.item: "texts" "text.name text.count text.edit.name text.edit.count"; - data.item: "contents" "swallow.content1 swallow.content2 swallow.content3 swallow.icon swallow.edit.icon quick.menu.button"; - - parts{ - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "rect.bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: GROUP_BG_COLOR; - min: WIDTH HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - rel2 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - } - } - part { - name: "rect.info"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 INFO_HEIGHT-PADDING; - fixed: 0 1; - align: 0.0 0.0; - color: GROUP_TITLE_BG_COLOR; - rel1 { relative: 0.0 0.0; to: "rect.bg"; offset: PADDING PADDING; } - rel2 { relative: 1.0 0.0; to: "rect.bg"; offset: -PADDING PADDING; } - } - } - part { - name: "rect.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 1.0 0.5; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.info"; offset: -PADDING*3 PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.info"; offset: -PADDING*3 -PADDING*2; } - } - } - part { - name: "rect.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: 10 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.5; to: "rect.info"; offset: 10 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - rel2 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - } - } - part { - name: "rect.edit.image"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ITEM_SIZE ITEM_SIZE); - fixed: 1 1; - align: 1.0 1.0; - color: 255 0 0 0; - rel1 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.edit.icon"; offset: 0 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.edit.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.5; to: "rect.edit.icon"; offset: 0 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.content1"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: (CT_SIZE*2)+PADDING (CT_SIZE*2)+PADDING; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - } - } - part { - name: "rect.content2"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.content1.bg"; offset: PADDING 0; } - rel2 { relative: 1.0 0.0; to: "rect.content1.bg"; offset: PADDING 0; } - } - } - part { - name: "rect.content3"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.content2.bg"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.content2.bg"; offset: 0 PADDING; } - } - } - PART_SWALLOW("content1") - PART_SWALLOW("content2") - PART_SWALLOW("content3") - part { - name: "swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "quick.menu.button"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "swallow.edit.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 60 60; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "rect.edit.icon"; } - rel2 { relative: 0.5 0.5; to: "rect.edit.icon"; } - } - } - PART_TEXT("name") - PART_TEXT("count") - PART_TEXT("edit.name") - PART_TEXT("edit.count") - } - } - group { - name: "elm/gengrid/item/groupitem.6image/default"; - data.item: "texts" "text.name text.count text.edit.name text.edit.count"; - data.item: "contents" "swallow.content0 swallow.content1 swallow.content2 swallow.content3 swallow.content4 swallow.content5 swallow.content6 swallow.icon swallow.edit.icon quick.menu.button"; - - parts{ - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "rect.bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: GROUP_BG_COLOR; - min: WIDTH HEIGHT; - fixed: 1 1; - align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - rel2 { relative: 0.0 0.0; to: "base"; offset: 15 15; } - } - } - part { - name: "rect.info"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 INFO_HEIGHT-PADDING; - fixed: 0 1; - align: 0.0 0.0; - color: GROUP_TITLE_BG_COLOR; - rel1 { relative: 0.0 0.0; to: "rect.bg"; offset: PADDING PADDING; } - rel2 { relative: 1.0 0.0; to: "rect.bg"; offset: -PADDING PADDING; } - } - } - part { - name: "rect.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 1.0 0.5; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.info"; offset: -PADDING*3 PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.info"; offset: -PADDING*3 -PADDING*2; } - } - } - part { - name: "rect.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: 10 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.5; to: "rect.info"; offset: 10 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.icon"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: INFO_HEIGHT-(PADDING*2) INFO_HEIGHT-(PADDING*2); - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - rel2 { relative: 0.0 0.0; to: "rect.info"; offset: PADDING PADDING; } - } - } - part { - name: "rect.edit.image"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: ITEM_SIZE ITEM_SIZE); - fixed: 1 1; - align: 1.0 1.0; - color: 255 0 0 0; - rel1 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - rel2 { relative: 1.0 1.0; to: "rect.bg"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.edit.name.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.edit.icon"; offset: 0 PADDING; } - rel2 { relative: 0.0 0.5; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING 0; } - } - } - part { - name: "rect.edit.count.bg"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.5; to: "rect.edit.icon"; offset: 0 0; } - rel2 { relative: 0.0 1.0; to_x: "rect.icon"; to_y: "rect.info"; offset: -PADDING -PADDING; } - } - } - part { - name: "rect.content1"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.info"; offset: 0 PADDING; } - } - } - part { - name: "rect.content2"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.content1.bg"; offset: PADDING 0; } - rel2 { relative: 1.0 0.0; to: "rect.content1.bg"; offset: PADDING 0; } - } - } - part { - name: "rect.content3"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "rect.content2.bg"; offset: PADDING 0; } - rel2 { relative: 1.0 0.0; to: "rect.content2.bg"; offset: PADDING 0; } - } - } - part { - name: "rect.content4"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.content1.bg"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.content1.bg"; offset: 0 PADDING; } - } - } - part { - name: "rect.content5"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.content2.bg"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.content2.bg"; offset: 0 PADDING; } - } - } - part { - name: "rect.content6"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: CT_SIZE CT_SIZE; - fixed: 1 1; - align: 0.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 1.0; to: "rect.content3.bg"; offset: 0 PADDING; } - rel2 { relative: 0.0 1.0; to: "rect.content3.bg"; offset: 0 PADDING; } - } - } - PART_SWALLOW("content1") - PART_SWALLOW("content2") - PART_SWALLOW("content3") - PART_SWALLOW("content4") - PART_SWALLOW("content5") - PART_SWALLOW("content6") - part { - name: "swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "quick.menu.button"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "rect.icon"; - rel2.to: "rect.icon"; - } - } - part { - name: "swallow.edit.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 60 60; - fixed: 1 1; - rel1 { relative: 0.5 0.5; to: "rect.edit.icon"; } - rel2 { relative: 0.5 0.5; to: "rect.edit.icon"; } - } - } - PART_TEXT("name") - PART_TEXT("count") - PART_TEXT("edit.name") - PART_TEXT("edit.count") - } - } -} diff --git a/lib/edc/image_layout.edc b/lib/edc/image_layout.edc deleted file mode 100755 index 40ae728..0000000 --- a/lib/edc/image_layout.edc +++ /dev/null @@ -1,115 +0,0 @@ -/* -* Copyright 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. -*/ - - - collections { - group { - name: "elm/genlist/item/image_layout/default"; - alias: "elm/genlist/item_odd/image_layout/default"; - alias: "dialogue/image_layout"; - data.item: "selectraise" "on"; - data.item: "stacking" "above"; - data.item: "contents" "elm.icon elm.icon2 elm.icon3 elm.icon4"; - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 479; - color: 0 0 0 0; - } - } - part { - name: "elm.rect.icon"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 1.0; - min: 360 360; - max: 360 360; - fixed: 1 1; - color: 239 237 229 255; - rel1 { relative: 0.0 417.0/479.0; } - rel2 { relative: 1.0 417.0/479.0; } - } - } - part { - name: "elm.icon"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 1.0; - min: 360 360; - max: 360 360; - fixed: 1 1; - rel1 { relative: 0.0 417.0/479.0; } - rel2 { relative: 1.0 417.0/479.0; } - } - } - part { - name: "elm.icon2"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - min: 128 128; - max: 128 128; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "elm.icon"; } - rel2 { relative: 1.0 417.0/479.0; to: "elm.icon"; } - } - } - part { - name: "elm.icon3"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 1.0; - min: 128 128; - max: 128 128; - fixed: 1 1; - rel1 { relative: 1.0 1.0; to: "elm.icon"; offset: 16 0; } - rel2 { relative: 1.0 1.0; to: "elm.icon"; offset: 16 0; } - } - } - part { - name: "elm.icon4"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - min: 45 45; - max: 45 45; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "elm.icon"; } - rel2 { relative: 0.0 0.0; to: "elm.icon"; } - } - } - } - } -} diff --git a/lib/edc/input_theme.edc b/lib/edc/input_theme.edc deleted file mode 100755 index 1b9a460..0000000 --- a/lib/edc/input_theme.edc +++ /dev/null @@ -1,767 +0,0 @@ -/* -* Copyright 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. -*/ - - -#define GENLIST_HEIGHT_1LINE 112 -#define GENLIST_LIST_LINE1_COLOR 211 209 203 255 -#define GENLIST_PADDING_32_INC 32 -#define GENLIST_PART_BG_COLOR 249 249 249 255 -#define INPUT_DIALOGUE_COLOR 108 168 199 255 -#define INPUT_DIALOGUE_BG_COLOR 236 240 242 255 -#define GENLIST_INDEX_LIST_BG_COLOR 0 0 0 255 - -#define GENLIST_FONT_32_INC 32 -#define GENLIST_FONT_44_INC 44 -#define GENLIST_PADDING_12_INC 12 -#define GENLIST_PADDING_16_INC 16 -#define GENLIST_PADDING_27_INC 27 -#define GENLIST_SIZE_163_INC 163 -#define GENLIST_PART_LIST_LINE_COLOR_INC 169 169 169 255 -#define GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_01_COLOR_INC 100 100 100 255 -#define GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC 0 0 0 255 -#define GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC 108 168 199 255 -#define GENLIST_PART_DISCLIP_COLOR_INC 255 255 255 10 -#define GENLIST_PART_BG_COLOR_INC 236 240 242 255 -#define GENLIST_DIALOGUE_BG_IMAGE_COLOR_INC 236 240 242 255 -#define GENLIST_PART_LIST_PRESS_COLOR_INC 42 137 194 255 - - -#define GENLIST_PART_BASE( param_item_height ) \ - part { name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 0 param_item_height; \ - color: GENLIST_PART_BG_COLOR_INC; \ - } \ - } - -#define GENLIST_PART_DIALOGUE_BG_IMAGE \ - part { name: "bg_image"; \ - type: RECT; \ - clip_to: "disclip"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - color: GENLIST_DIALOGUE_BG_IMAGE_COLOR_INC; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_PART_LIST_PRESS_COLOR_INC; \ - } \ - } - -#define GENLIST_PART_BOTTOM_LINE \ -part { name: "bottom_line"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - min: 0 1; \ - fixed: 0 1; \ - visible: 1; \ - color: GENLIST_PART_LIST_LINE_COLOR_INC; \ - rel1 { \ - relative: 0.0 1.0; \ - offset: 0 -1; \ - } \ - } \ -} - -#define GENLIST_PART_PADDING_LEFT( param_padding_size ) \ -part { name: "elm.padding.left"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel2.relative: 0.0 1.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_PADDING_RIGHT( param_padding_size ) \ -part { name: "elm.padding.right"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel1.relative: 1.0 0.0; \ - align: 1.0 0.0; \ - } \ -} - -#define GENLIST_PART_DIALOGUE_ITEM \ -part { name: "elm.rect.dialogue"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: GENLIST_PADDING_12_INC 0; \ - fixed: 1 0; \ - color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \ - rel2.relative: 0.0 1.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_DIALOGUE_RIGHT_LINE \ -part { name: "elm.rect.dialogue.right.line"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 1 0; \ - fixed: 1 0; \ - visible: 1; \ - rel1.relative: 1.0 0.0; \ - align: 1.0 0.0; \ - color: GENLIST_PART_LIST_LINE_COLOR_INC; \ - } \ -} - -#define GENLIST_PART_DISCLIP \ -part { name: "disclip"; \ - type: RECT; \ - description { state: "default" 0.0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_PART_DISCLIP_COLOR_INC; \ - } \ -} - -#define GENLIST_DESCRIPTION_FLIP_ENABLED \ -description { state: "flip_enabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ -} - -collections -{ - /* Genlist Item */ - group { - name: "dialogue/baseinfo.3icon"; - data.item: "contents" "elm.icon.name1 elm.icon.name2 elm.icon.image"; - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 267; - } - } - part { - name: "bg"; - type: RECT; - description { - state: "default" 0.0; - color: GENLIST_PART_BG_COLOR; - } - } - part { - name: "elm.rect.top_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 40; - fixed: 0 1; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - } - } - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - min: 141 141; - fixed: 1 1; - color: 0 0 0 0; - rel1 { relative: 1.0 1.0; to: "elm.rect.top_padding"; } - rel2 { relative: 1.0 1.0; to: "base"; } - } - } - part { - name: "elm.icon.expand.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 1.0; - min: 74 74; - fixed: 1 1; - color: 0 0 0 0; - rel1 { relative: 1.0 1.0; to: "base"; } - rel2 { relative: 1.0 1.0; to: "base"; } - } - } - part { - name: "elm.rect.right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - min: 15 0; - fixed: 1 0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.icon.image.rect"; } - rel2 { relative: 0.0 1.0; to: "elm.icon.image.rect"; } - } - } - part { - name: "elm.rect.top_line"; - type: RECT; - description { - state: "default" 0.0; - min: 0 1; - fixed: 0 1; - align: 0.0 0.0; - color: GENLIST_PART_LIST_LINE_COLOR_INC; - rel1 { relative: 0.0 1.0; to: "elm.rect.top_padding"; } - rel2 { relative: 0.0 0.0; to: "elm.rect.right_padding"; } - } - } - part { - name: "elm.rect.dialogue"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 12 0; - fixed: 1 0; - align: 0.0 0.0; - color: INPUT_DIALOGUE_COLOR; - rel1 { relative: 0.0 1.0; to: "elm.rect.top_padding"; } - rel2 { relative: 0.0 1.0; to: "base"; } - } - } - part { - name: "elm.icon.name1.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - color: INPUT_DIALOGUE_BG_COLOR; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.dialogue"; to_y: "elm.rect.top_line"; } - rel2 { relative: 1.0 0.0; to: "elm.rect.middle_line"; } - } - } - part { - name: "elm.rect.middle_line"; - type: RECT; - description { - state: "default" 0.0; - min: 0 1; - fixed: 0 1; - align: 0.0 0.0; - color: GENLIST_PART_LIST_LINE_COLOR_INC; - rel1 { relative: 0.0 0.5; to: "elm.rect.dialogue"; } - rel2 { relative: 0.0 0.5 ; to_x: "elm.rect.right_padding"; to_y: "elm.rect.dialogue"; } - } - } - part { - name: "elm.icon.name2.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - color: INPUT_DIALOGUE_BG_COLOR; - rel1 { relative: 1.0 1.0; to_x: "elm.rect.dialogue"; to_y: "elm.rect.middle_line"; } - rel2 { relative: 1.0 0.0; to: "elm.rect.bottom_line"; } - } - } - part { - name: "elm.rect.bottom_line"; - type: RECT; - description { - state: "default" 0.0; - min: 0 1; - fixed: 0 1; - align: 0.0 1.0; - color: GENLIST_PART_LIST_LINE_COLOR_INC; - rel1 { relative: 0.0 1.0; to: "elm.rect.dialogue"; to_y: "base" ;} - rel2 { relative: 0.0 1.0; to_x: "elm.rect.right_padding"; to_y: "base"; } - } - } - part { - name: "elm.rect.right_line"; - type: RECT; - description { - state: "default" 0.0; - min: 1 0; - fixed: 1 0; - align: 0.0 0.0; - color: GENLIST_PART_LIST_LINE_COLOR_INC; - rel1 { relative: 1.0 1.0; to: "elm.rect.top_line"; } - rel2 { relative: 0.0 1.0; to: "elm.rect.bottom_line"; } - } - } - part { - name: "elm.icon.name1"; - type: SWALLOW; - repeat_events: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; offset: 16 0; to: "elm.icon.name1.rect"; } - rel2 { relative: 1.0 1.0; offset: -16 0; to: "elm.icon.name1.rect"; } - } - } - part { - name: "elm.icon.name2"; - type: SWALLOW; - repeat_events: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; offset: 16 0; to: "elm.icon.name2.rect"; } - rel2 { relative: 1.0 1.0; offset: -16 0; to: "elm.icon.name2.rect"; } - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.expand"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1.to: "elm.icon.expand.rect"; - rel2.to: "elm.icon.expand.rect"; - } - } - } - } - /* Genlist Item */ - group { - name: "dialogue/baseinfo.expand.1icon"; - data.item: "contents" "elm.icon.name elm.icon.expand"; - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 113; - } - } - part { - name: "bg"; - type: RECT; - description { - state: "default" 0.0; - color: GENLIST_PART_BG_COLOR; - } - } - part { - name: "elm.rect.right_padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - min: 156 0; - fixed: 1 0; - color: 0 0 0 0; - rel1 { relative: 1.0 0.0; to: "base"; } - rel2 { relative: 1.0 1.0; to: "base"; } - } - } - part { - name: "elm.rect.dialogue"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 12 0; - fixed: 1 0; - align: 0.0 0.0; - color: INPUT_DIALOGUE_COLOR; - rel2.relative: 0.0 1.0; - } - } - part { - name: "elm.icon.name.rect"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - color: INPUT_DIALOGUE_BG_COLOR; - rel1 { relative: 1.0 0.0; to_x: "elm.rect.dialogue"; } - rel2 { relative: 0.0 1.0; to_x: "elm.rect.right_padding"; } - } - } - part { - name: "elm.rect.bottom_line"; - type: RECT; - description { - state: "default" 0.0; - min: 0 1; - fixed: 0 1; - align: 0.0 0.0; - color: GENLIST_PART_LIST_LINE_COLOR_INC; - rel1 { relative: 0.0 1.0; offset: 0 -1; to: "elm.icon.name.rect"; } - rel2 { relative: 1.0 1.0; offset: 0 -1; to: "elm.icon.name.rect"; } - } - } - part { - name: "elm.rect.right_line"; - type: RECT; - description { - state: "default" 0.0; - min: 1 0; - fixed: 1 0; - align: 0.0 0.0; - color: GENLIST_PART_LIST_LINE_COLOR_INC; - rel1 { relative: 0.0 0.0; to: "elm.rect.right_padding"; } - rel2 { relative: 0.0 1.0; to: "elm.rect.right_padding"; } - } - } - part { - name: "elm.icon.name"; - type: SWALLOW; - repeat_events: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; offset: 16 0; to: "elm.icon.name.rect"; } - rel2 { relative: 1.0 1.0; offset: -16 0; to: "elm.icon.name.rect"; } - } - } - } - } - group { - name: "dialogue/1icon.1type.1edit"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon elm.icon.type elm.icon.edit"; - images { - image: "00_list_group_bg.png" COMP; - } - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_INDEX_LIST_BG_COLOR; - min: 0 113; - } - } - part { - name: "elm.icon.bg_image"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - color: 93 97 118 127; - rel1 { relative: 0.0 0.0; offset: 16 0; } - rel2 { relative: 0.0 1.0; to_x: "elm.icon.type"; } - image { - normal: "00_list_group_bg.png"; - border: 14 14 10 10; - border_scale: 1; - } - } - } - part { - name: "elm.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 36 0; } - rel2 { relative: 0.0 1.0; to_x: "elm.icon.type"; offset: -20 0; } - } - } - part { - name: "elm.icon.type"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 160 74; - max: 160 74; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to_x: "elm.icon.edit"; } - rel2 { relative: 0.0 1.0; to_x: "elm.icon.edit"; } - } - } - part { - name: "elm.icon.edit"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 106 74; - max: 106 74; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 1.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - } - } - } - group { - name: "dialogue/7icon.1type.1edit"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5 elm.icon.6 elm.icon.7 elm.icon.type elm.icon.edit"; - images { - image: "00_list_group_bg.png" COMP; - } - parts { - part { - name: "base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_INDEX_LIST_BG_COLOR; - min: 0 784; - } - } - part { - name: "elm.icon.bg_image"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1 { relative: 0.0 0.0; offset: 16 0; } - rel2 { relative: 0.0 1.0; to_x: "elm.icon.type"; } - image { - normal: "00_list_group_bg.png"; - border: 14 14 10 10; - border_scale: 1; - } - } - } - part { - name: "elm.rect.icon"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; offset: 16 0; } - rel2 { relative: 0.0 1.0; to_x: "elm.icon.type"; } - } - } - part { - name: "elm.rect.icon.line1"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - min: 0 1; - max: -1 1; - fixed: 0 1; - rel1 { relative: 0.0 1/7; to: "elm.rect.icon"; } - rel2 { relative: 1.0 1/7; to: "elm.rect.icon"; } - } - } - part { - name: "elm.rect.icon.line2"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - min: 0 1; - max: -1 1; - fixed: 0 1; - rel1 { relative: 0.0 2/7; to: "elm.rect.icon"; } - rel2 { relative: 1.0 2/7; to: "elm.rect.icon"; } - } - } - part { - name: "elm.rect.icon.line3"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - min: 0 1; - max: -1 1; - fixed: 0 1; - rel1 { relative: 0.0 3/7; to: "elm.rect.icon"; } - rel2 { relative: 1.0 3/7; to: "elm.rect.icon"; } - } - } - part { - name: "elm.rect.icon.line4"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - min: 0 1; - max: -1 1; - fixed: 0 1; - rel1 { relative: 0.0 4/7; to: "elm.rect.icon"; } - rel2 { relative: 1.0 4/7; to: "elm.rect.icon"; } - } - } - part { - name: "elm.rect.icon.line5"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - min: 0 1; - max: -1 1; - fixed: 0 1; - rel1 { relative: 0.0 5/7; to: "elm.rect.icon"; } - rel2 { relative: 1.0 5/7; to: "elm.rect.icon"; } - } - } - part { - name: "elm.rect.icon.line6"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_LIST_LINE1_COLOR; - min: 0 1; - max: -1 1; - fixed: 0 1; - rel1 { relative: 0.0 6/7; to: "elm.rect.icon"; } - rel2 { relative: 1.0 6/7; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.1"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 1/7; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.2"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 1/7; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 2/7; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.3"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 2/7; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 3/7; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.4"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 3/7; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 4/7; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.5"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 4/7; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 5/7; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.6"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 5/7; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 6/7; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.7"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 0.0 6/7; offset: 20 0; to: "elm.rect.icon"; } - rel2 { relative: 1.0 1.0; offset: -20 0; to: "elm.rect.icon"; } - } - } - part { - name: "elm.icon.type"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 160 74; - max: 160 74; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 0.0 0.0; to_x: "elm.icon.edit"; } - rel2 { relative: 0.0 1.0; to_x: "elm.icon.edit"; } - } - } - part { - name: "elm.icon.edit"; - type: SWALLOW; - description { - state: "default" 0.0; - min: 106 74; - max: 106 74; - fixed: 1 1; - align: 1.0 0.5; - rel1 { relative: 1.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - } - } - } -} diff --git a/lib/edc/list.edc b/lib/edc/list.edc deleted file mode 100755 index 7ebc5b0..0000000 --- a/lib/edc/list.edc +++ /dev/null @@ -1,170 +0,0 @@ -/* -* Copyright 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. -*/ - - -collections -{ - group - { - name: "search_layout_list"; - parts - { - part - { - name: "bg_search"; - type: RECT; - mouse_events: 1; - description - { - state: "default" 0.0; - color: 255 0 0 0; - } - } - part - { - name: "add_button_show_swall_search"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 255; - align: 0.0 0.0; - min: 0 90; - fixed: 0 1; - rel1 { relative: 0.13 0.0; to: "bg_search"; } - rel2 { relative: 1.0 1.0; to: "bg_search"; } - } - } - part - { - name: "add_button_hide_swall_search"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 255; - align: 0.0 0.0; - min: 0 90; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "bg_search"; } - rel2 { relative: 1.0 1.0; to: "bg_search"; } - } - } - part { - name: "button_add"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 255; - align: 0.0 0.0; - min: 40 40; - max: 40 40; - fixed: 0 1; - rel1 { relative: 0.02 0.1; to: "bg_search"; } - rel2 { relative: 0.0 0.85; to: "add_button_show_swall_search"; } - } - } - } - } - group { - name: "genlist"; - parts - { - part { - name: "bg"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - - part { - name: "searchbar_layout"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - color: 255 255 255 255; - align: 0.0 0.0; - min: 0 90; - fixed: 0 1; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 0.0; to: "bg"; } - } - } - part { - name: "content"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { relative: 0.0 1.0; to: "searchbar_layout"; } - rel2.to: "bg"; - } - } - part { - name: "fastscroll"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 0 1; - rel1.to: "content"; - rel2.to: "content"; - } - } - } - } - group { - name: "genlist_no_searchbar"; - parts - { - part { - name: "bg"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "content"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { - name: "fastscroll"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 0 1; - rel1.to: "content"; - rel2.to: "content"; - } - } - } - } -} diff --git a/lib/edc/list_theme.edc b/lib/edc/list_theme.edc deleted file mode 100755 index 51da8d1..0000000 --- a/lib/edc/list_theme.edc +++ /dev/null @@ -1,766 +0,0 @@ -/* -* Copyright 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. -*/ - - -#define GENLIST_PART_BG_COLOR_INC 248 246 239 255 -#define GENLIST_PART_LIST_LINE_COLOR_INC 211 209 203 255 -#define GENLIST_PART_LIST_PRESS_COLOR_INC 87 135 194 255 -#define GENLIST_PART_LIST_COUNT_COLOR_INC 124 124 124 255 -#define GENLIST_PART_LIST_TEXT_DEFAULT 0 0 0 255 -#define GENLIST_PART_TEXT_PRESS_COLOR 250 250 250 255 -#define GENLIST_PART_LIST_TEXT_SUB_DEFAULT 0 0 0 128 - -#define GENLIST_PART_BASE( param_item_height ) \ -part { \ - name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: 0 param_item_height; \ - color: GENLIST_PART_BG_COLOR_INC; \ - } \ -} - -#define GENLIST_PART_BOTTOM_LINE \ -part { name: "bottom_line"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - min: 0 1; \ - fixed: 0 1; \ - visible: 1; \ - color: GENLIST_PART_LIST_LINE_COLOR_INC; \ - rel1 { \ - relative: 0.0 1.0; \ - offset: 0 -1; \ - } \ - } \ -} - -#define GENLIST_PART_PADDING_LEFT( param_padding_size ) \ -part { \ - name: "elm.padding.left"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel2.relative: 0.0 1.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_PADDING_RIGHT( param_padding_size ) \ -part { \ - name: "elm.padding.right"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel1.relative: 1.0 0.0; \ - align: 1.0 0.0; \ - } \ -} - -#define GENLIST_PART_BG_IMAGE \ -part { \ - name: "bg_image"; \ - type: RECT; \ - clip_to: "disclip"; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - color: GENLIST_PART_BG_COLOR_INC; \ - } \ - description { \ - state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: GENLIST_PART_LIST_PRESS_COLOR_INC; \ - } \ -} - -#define GENLIST_DESCRIPTION_FLIP_ENABLED \ -description { \ - state: "flip_enabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ -} - -collections -{ - styles { - style { - name: "genlist_default_textblock_style"; - base: "font=Tizen:style=Roman text_class=list_item font_size=44 align=left color=#000000FF wrap=word ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "match" "+ color=#2A89C2"; - } - style { - name: "genlist_default_textblock_selected_style"; - base: "font=Tizen:style=Roman text_class=list_item font_size=44 align=left color=#F9F9F9FF wrap=word ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "b" "+ font=Tizen:style=Bold"; - tag: "match" "+ color=#F9F9F9FF"; - } - } - /* Genlist Item */ - group { - name: "elm/genlist/item/1text_center/default"; - alias: "elm/genlist/item_odd/1text_center/default"; - alias: "elm/genlist/item_compress/1text_center/default"; - alias: "elm/genlist/item_compress_odd/1text_center/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - parts { - GENLIST_PART_BASE(130); - GENLIST_PART_BOTTOM_LINE - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "disclip"; - description { - state: "default" 0.0; - color: GENLIST_PART_LIST_COUNT_COLOR_INC; - text { - font: "Tizen:style=Roman"; - text_class: "tizen"; - size: 44; - min: 0 1; - align: 0.5 0.5; - text_class: "tizen"; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 248 246 239 255; - } - } - } - } - group { - name: "elm/genlist/item/link_list/default"; - alias: "elm/genlist/item_odd/link_list/default"; - alias: "elm/genlist/item_compress/link_list/default"; - alias: "elm/genlist/item_compress_odd/link_list/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BASE(130) - GENLIST_PART_BG_IMAGE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT(26) - GENLIST_PART_PADDING_RIGHT(24) - part { - name: "elm.icon.1"; - type: SWALLOW; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 104 104; - max: 104 104; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - } - align: 1.0 0.5; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.padding.icon1.text1right"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 4 0; - fixed: 1 0; - visible: 0; - rel1.to_x: "elm.icon.1"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.icon.1"; - } - align: 1.0 0.0; - } - } - part { - name: "elm.text"; - type: TEXT; - clip_to: "disclip"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon1.text1right"; - } - align: 0.0 0.5; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - font: "Tizen:style=Roman"; - size: 44; - min: 0 1; - max: 1 0; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_PART_TEXT_PRESS_COLOR; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.text.1"; - type: TEXT; - clip_to: "disclip"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 0.7; - to_x: "elm.padding.icon1.text1right"; - } - align: 0.0 0.5; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - font: "Tizen:style=Roman"; - size: 44; - min: 0 1; - max: 1 0; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_PART_TEXT_PRESS_COLOR; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.text.2"; - type: TEXT; - clip_to: "disclip"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.5; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon1.text1right"; - } - align: 0.0 0.5; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - font: "Tizen:style=Roman"; - size: 32; - min: 0 1; - max: 1 0; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_PART_TEXT_PRESS_COLOR; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.padding.text.right"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.text"; - } - rel2.to_x: "elm.text"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 110; - } - } - part { - name: "elm.flip.content"; - clip_to: "disclip"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 0.5; - to_x: "elm.padding.right"; - } - } - description { - state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - 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: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon.1"; - target: "elm.flip.content"; - } - program { - name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon.1"; - target: "elm.flip.content"; - } - } - } - group { - name: "elm/genlist/item_compress/link_list.tb/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BASE(130) - GENLIST_PART_BG_IMAGE - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_LEFT(26) - GENLIST_PART_PADDING_RIGHT(24) - part { - name: "elm.icon.1"; - type: SWALLOW; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 104 104; - max: 104 104; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - } - align: 1.0 0.5; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.padding.icon1.left"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 64 0; - fixed: 1 0; - visible: 0; - rel1.to_x: "elm.icon.1"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.icon.1"; - } - align: 1.0 0.0; - } - } - part { - name: "elm.padding.icon1.left2"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 134 0; - fixed: 1 0; - visible: 0; - rel1.to_x: "elm.icon.1"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.icon.1"; - } - align: 1.0 0.0; - } - } - part { - name: "elm.padding.icon1.left3"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 51 0; - fixed: 1 0; - visible: 0; - rel1.to_x: "elm.icon.1"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.icon.1"; - } - align: 1.0 0.0; - } - } - part { - name: "elm.padding.icon1.text1right"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 4 0; - fixed: 1 0; - visible: 0; - rel1.to_x: "elm.icon.1"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.icon.1"; - } - align: 1.0 0.0; - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - clip_to: "disclip"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon1.text1right"; - } - align: 0.0 0.5; - text { - style: "genlist_default_textblock_style"; - min: 0 1; - max: 1 0; - align: 0.0 0.5; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - text.style: "genlist_default_textblock_selected_style"; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.text.1"; - type: TEXTBLOCK; - clip_to: "disclip"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 0.7; - to_x: "elm.padding.icon1.text1right"; - } - align: 0.0 0.5; - text { - style: "genlist_default_textblock_style"; - min: 0 1; - max: 1 0; - align: 0.0 0.5; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - text.style: "genlist_default_textblock_selected_style"; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.text.2"; - type: TEXT; - clip_to: "disclip"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.5; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon1.text1right"; - } - align: 0.0 0.5; - color: GENLIST_PART_LIST_TEXT_SUB_DEFAULT; - text { - font: "Tizen:style=Roman"; - size: 32; - min: 0 1; - max: 1 0; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_PART_TEXT_PRESS_COLOR; - } - GENLIST_DESCRIPTION_FLIP_ENABLED - } - part { - name: "elm.padding.text.right"; - type: RECT; - clip_to: "disclip"; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.text"; - } - rel2.to_x: "elm.text"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 110; - } - } - part { - name: "elm.flip.content"; - clip_to: "disclip"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - to_x: "elm.padding.left"; - } - rel2 { - relative: 0.0 0.5; - to_x: "elm.padding.right"; - } - } - description { - state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg_image"; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - 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: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon.1"; - target: "elm.flip.content"; - } - program { - name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.1"; - target: "elm.text.2"; - target: "elm.icon.1"; - target: "elm.flip.content"; - } - } - } -} diff --git a/lib/edc/log_item_icon.edc b/lib/edc/log_item_icon.edc deleted file mode 100644 index ac16539..0000000 --- a/lib/edc/log_item_icon.edc +++ /dev/null @@ -1,75 +0,0 @@ -/* -* Copyright 2012-2013 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. -*/ - -/** -* @file log_item_icon.edc -* @brief Style for icon in log list, combining contact picture and the type of call -* @author Sergei Kobec (s.kobec@samsung.com) -* @date Created Nov 29, 2013 10:15 -*/ - -collections { - - group { name: "elm/layout/log.item.layout/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon.1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - to_x: "bg"; - to_y: "bg"; - } - rel2 { - relative: 0.5 1.0; - to_x: "bg"; - to_y: "bg"; - } - } - } - part { name: "elm.swallow.icon.2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - rel1 { - relative: 0.8 0.3; - to_x: "elm.swallow.icon.1"; - to_y: "elm.swallow.icon.1"; - } - rel2 { - relative: 1.0 0.7; - to_x: "bg"; - to_y: "bg"; - } - } - } - } - } -} diff --git a/lib/edc/logdetail_theme.edc b/lib/edc/logdetail_theme.edc deleted file mode 100755 index 49b8385..0000000 --- a/lib/edc/logdetail_theme.edc +++ /dev/null @@ -1,1485 +0,0 @@ -/* -* Copyright 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. -*/ - -#define GENLIST_PART_BG_COLOR_INC 249 249 249 255 -#define GENLIST_PART_LIST_LINE_COLOR_INC 169 169 169 255 -#define GENLIST_DIALOGUE_FONT_SUB_TITLE_COLOR_INC 102 102 102 255 -#define GENLIST_PART_LIST_TEXT_DEFAULT 0 0 0 255 - -#define PHUG_IMAGES "../images/phoneug_images/" -#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 138 138 -#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 138 138 - -#define GENLIST_BASEINFO_PART_BASE(height) \ -part { \ - name: "base"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 height; \ - } \ -} - -#define GENLIST_PART_BASE( param_item_height ) \ -part { \ - name: "base"; \ - type: RECT; \ - repeat_events: 1; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 param_item_height; \ - color: GENLIST_PART_BG_COLOR_INC; \ - } \ -} -#define GENLIST_PART_BOTTOM_LINE \ -part { \ - name: "bottom_line"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - min: 0 1; \ - fixed: 0 1; \ - visible: 1; \ - color: GENLIST_PART_LIST_LINE_COLOR_INC; \ - rel1 { \ - relative: 0.0 1.0; \ - offset: 0 -1; \ - } \ - } \ -} - -#define GENLIST_PART_PADDING_TOP( param_padding_size ) \ -part { \ - name: "elm.padding.top"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 param_padding_size; \ - fixed: 0 1; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \ -part { \ - name: "elm.padding.bottom"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: 0 param_padding_size; \ - fixed: 0 1; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - align: 0.0 1.0; \ - } \ -} - -#define GENLIST_PART_PADDING_LEFT( param_padding_size ) \ -part { \ - name: "elm.padding.left"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel2.relative: 0.0 1.0; \ - align: 0.0 0.0; \ - } \ -} - -#define GENLIST_PART_PADDING_RIGHT( param_padding_size ) \ -part { \ - name: "elm.padding.right"; \ - type: RECT; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - min: param_padding_size 0; \ - fixed: 1 0; \ - visible: 0; \ - rel1.relative: 1.0 0.0; \ - align: 1.0 0.0; \ - } \ -} - -styles { - style { - name: "baseinfo_name_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen color=#000000 ellipsis=1.0 font_size=50"; - } - style { - name: "baseinfo_subname_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen color=#727272 ellipsis=1.0 font_size=32"; - } - style { - name: "activity_textblock_style"; - base: "font=Tizen:style=Medium text_class=tizen color=#000000 ellipsis=0.0 font_size=32 wrap=char"; - } -} -collections -{ - group { - name: "elm/genlist/item/baseinfo.1text.1icon/default"; - alias: "elm/genlist/item_odd/baseinfo.1text.1icon/default"; - alias: "elm/genlist/item_compress/baseinfo.1text.1icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.1text.1icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name"; - data.item: "contents" "elm.icon.favorite"; - parts { - GENLIST_BASEINFO_PART_BASE(142) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 88 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 56 56; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.5; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 0.5; offset: -16 0; to: "elm.icon.image.rect"; } - text { - style: "baseinfo_name_textblock_style"; - min: 0 1; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.1text.2icon/default"; - alias: "elm/genlist/item_odd/baseinfo.1text.2icon/default"; - alias: "elm/genlist/item_compress/baseinfo.1text.2icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.1text.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name"; - data.item: "contents" "elm.icon.image elm.icon.favorite"; - parts { - GENLIST_BASEINFO_PART_BASE(142) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 141 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 88 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.icon.image.rect"; } - rel2 { relative: 0.0 1.0; to: "elm.icon.image.rect"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 56 56; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.5; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 0.5; offset: -16 0; to: "elm.icon.favorite.rect"; } - text { - style: "baseinfo_name_textblock_style"; - min: 0 1; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.2text.1icon/default"; - alias: "elm/genlist/item_odd/baseinfo.2text.1icon/default"; - alias: "elm/genlist/item_compress/baseinfo.2text.1icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.2text.1icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname"; - data.item: "contents" "elm.icon.favorite"; - parts { - GENLIST_BASEINFO_PART_BASE(142) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 88 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 56 56; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 50.0/142.0; offset: 16 0; } - rel2 { relative: 0.0 50.0/142.0; offset: -16 0; to_x: "elm.icon.image.rect"; } - text { - style: "baseinfo_name_textblock_style"; - min: 0 1; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 101.0/142.0; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 101.0/142.0; offset: -16 0; to_x: "elm.icon.image.rect"; } - text { - style: "baseinfo_subname_textblock_style"; - min: 0 1; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.2text.2icon/default"; - alias: "elm/genlist/item_odd/baseinfo.2text.2icon/default"; - alias: "elm/genlist/item_compress/baseinfo.2text.2icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.2text.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname"; - data.item: "contents" "elm.icon.image elm.icon.favorite"; - parts { - GENLIST_BASEINFO_PART_BASE(142) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 141 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 88 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.icon.image.rect"; } - rel2 { relative: 0.0 1.0; to: "elm.icon.image.rect"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 56 56; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 50.0/142.0; offset: 16 0; } - rel2 { relative: 0.0 50.0/142.0; offset: -16 0; to_x: "elm.icon.favorite.rect"; } - text { - style: "baseinfo_name_textblock_style"; - min: 0 1; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 101.0/142.0; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 101.0/142.0; offset: -16 0; to_x: "elm.icon.favorite.rect"; } - text { - style: "baseinfo_subname_textblock_style"; - min: 0 1; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.3text.1icon/default"; - alias: "elm/genlist/item_odd/baseinfo.3text.1icon/default"; - alias: "elm/genlist/item_compress/baseinfo.3text.1icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.3text.1icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname elm.text.subname2"; - data.item: "contents" "elm.icon.favorite"; - parts { - GENLIST_BASEINFO_PART_BASE(142) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 88 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 56 56; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 34.0/142.0; offset: 16 0; } - rel2 { relative: 0.0 34.0/142.0; offset: -16 0; to_x: "elm.icon.image.rect"; } - text { - style: "baseinfo_name_textblock_style"; - min: 0 1; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 79.0/142.0; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 79.0/142.0; offset: -16 0; to_x: "elm.icon.image.rect"; } - text { - style: "baseinfo_subname_textblock_style"; - min: 0 1; - } - } - } - part { - name: "elm.text.subname2"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 117.0/142.0; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 117.0/142.0; offset: -16 0; to_x: "elm.icon.image.rect"; } - text { - style: "baseinfo_subname_textblock_style"; - min: 0 1; - } - } - } - } - } - group { - name: "elm/genlist/item/baseinfo.3text.2icon/default"; - alias: "elm/genlist/item_odd/baseinfo.3text.2icon/default"; - alias: "elm/genlist/item_compress/baseinfo.3text.2icon/default"; - alias: "elm/genlist/item_compress_odd/baseinfo.3text.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.name elm.text.subname elm.text.subname2"; - data.item: "contents" "elm.icon.image elm.icon.favorite"; - parts { - GENLIST_BASEINFO_PART_BASE(142) - part { - name: "elm.icon.image.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 141 0; - fixed: 1 0; - align: 1.0 0.0; - color: 0 0 0 0; - rel1.relative: 1.0 0.0; - } - } - part { - name: "elm.icon.image"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "elm.icon.image.rect"; - rel2.to: "elm.icon.image.rect"; - } - } - part { - name: "elm.icon.favorite.rect"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 88 0; - fixed: 1 1; - align: 1.0 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; to: "elm.icon.image.rect"; } - rel2 { relative: 0.0 1.0; to: "elm.icon.image.rect"; } - } - } - part { - name: "elm.icon.favorite"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 56 56; - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "elm.icon.favorite.rect"; - rel2.to: "elm.icon.favorite.rect"; - } - } - part { - name: "elm.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 34.0/142.0; offset: 16 0; } - rel2 { relative: 0.0 34.0/142.0; offset: -16 0; to_x: "elm.icon.favorite.rect"; } - text { - style: "baseinfo_name_textblock_style"; - min: 0 1; - } - } - } - part { - name: "elm.text.subname"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 79.0/142.0; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 79.0/142.0; offset: -16 0; to_x: "elm.icon.favorite.rect"; } - text { - style: "baseinfo_subname_textblock_style"; - min: 0 1; - } - } - } - part { - name: "elm.text.subname2"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 117.0/142.0; offset: 16 0; to: "base"; } - rel2 { relative: 0.0 117.0/142.0; offset: -16 0; to_x: "elm.icon.favorite.rect"; } - text { - style: "baseinfo_subname_textblock_style"; - min: 0 1; - } - } - } - } - } - group { - name: "elm/genlist/item/logdetail.title/default"; - alias: "elm/genlist/item_odd/logdetail.title/default"; - alias: "elm/genlist/item_compress/logdetail.title/default"; - alias: "elm/genlist/item_compress_odd/logdetail.title/default"; - data.item: "stacking" "above"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - parts { - GENLIST_BASEINFO_PART_BASE(77); - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: GENLIST_DIALOGUE_FONT_SUB_TITLE_COLOR_INC; - text { - font: "Tizen:style=Medium"; - text_class: "tizen"; - size: 28; - min: 0 1; - align: 0.0 1.0; - } - rel1 { offset: 10 0; } - rel2 { offset: -10 -10; } - } - } - } - } - - group { - name: "elm/genlist/item/logdetail.3icon/default"; - alias: "elm/genlist/item_odd/logdetail.3icon/default"; - alias: "elm/genlist/item_compress/logdetail.3icon/default"; - alias: "elm/genlist/item_compress_odd/logdetail.3icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3"; - - parts { - part { - name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { - state: "default" 0.0; - min: 0 200; - } - } - part { - name: "elm.icon.1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:0 138; - fixed: 0 1; - rel1.relative: 38/720 0.5; - rel2.relative: (38+138)/720 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 0 138; - fixed: 0 1; - rel1.relative: (38+138+115)/720 0.5; - rel2.relative: (38+138+115+138)/720 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.3"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 138; - fixed: 0 1; - rel1.relative: (38+138+115+138+115)/720 0.5; - rel2.relative: (38+138+115+138+115+138)/720 0.5; - align: 0.5 0.5; - } - } - } - } - - group { - name: "elm/genlist/item/history_list/default"; - alias: "elm/genlist/item_odd/history_list/default"; - alias: "elm/genlist/item_compress/history_list/default"; - alias: "elm/genlist/item_compress_odd/history_list/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"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BASE(128) - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP(10) - GENLIST_PART_PADDING_BOTTOM(10) - GENLIST_PART_PADDING_LEFT(16) - GENLIST_PART_PADDING_RIGHT(16) - part { - name: "elm.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.text.1"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - align: 0.0 0.5; - } - } - part { - name: "elm.padding.icon1.right"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.icon.2"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - 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.text.1"; - } - align: 1.0 0.5; - } - } - part { - name: "elm.padding.icon2.left"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 0.0 0.0; - to_x: "elm.icon.2"; - } - rel2.to_x: "elm.icon.2"; - align: 1.0 0.0; - visible: 0; - } - } - part { - name: "elm.text.1"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 0 60; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon2.left"; - to_y: "elm.padding.top"; - } - align: 0.0 0.0; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - font: "Tizen:style=Roman"; - size: 44; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - } - part { - name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.8 0.0; - to_x: "elm.text.1"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 0.5; - text_class: "tizen"; - } - } - } - part { - name: "elm.text.3"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.text.2"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - offset: 5 0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 1.0 0.5; - text_class: "tizen"; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - group { - name: "elm/genlist/item/activity_list/default"; - alias: "elm/genlist/item_odd/activity_list/default"; - alias: "elm/genlist/item_compress/activity_list/default"; - alias: "elm/genlist/item_compress_odd/activity_list/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP(10) - GENLIST_PART_PADDING_BOTTOM(10) - GENLIST_PART_PADDING_LEFT(16) - GENLIST_PART_PADDING_RIGHT(16) - part { - name: "elm.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - align: 0.0 1.0; - } - } - part { - name: "elm.padding.icon1.right"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.padding.icon1.top"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 16; - fixed: 0 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - } - rel2.to_y: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.icon.2"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 321 321; - max: 321 321; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - align: 0.0 0.0; - } - } - part { - name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 1.0; - text_class: "tizen"; - } - } - } - part { - name: "elm.text.1"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.icon.2"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - to_y: "elm.icon.2"; - } - align: 0.0 0.0; - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - style: "activity_textblock_style"; - min: 0 1; - align: 0.0 1.0; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - group { - name: "elm/genlist/item/activity_list_no_img/default"; - alias: "elm/genlist/item_odd/activity_list_no_img/default"; - alias: "elm/genlist/item_compress/activity_list_no_img/default"; - alias: "elm/genlist/item_compress_odd/activity_list_no_img/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.1 elm.text.2"; - data.item: "contents" "elm.icon.1"; - data.item: "flips" "elm.flip.content"; - parts { - GENLIST_PART_BOTTOM_LINE - GENLIST_PART_PADDING_TOP(10) - GENLIST_PART_PADDING_BOTTOM(10) - GENLIST_PART_PADDING_LEFT(16) - GENLIST_PART_PADDING_RIGHT(16) - part { - name: "elm.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - align: 0.0 1.0; - } - } - part { - name: "elm.padding.icon1.right"; - clip_to: "disclip"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 16 0; - fixed: 1 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon.1"; - } - rel2.to_x: "elm.icon.1"; - align: 0.0 0.0; - visible: 0; - } - } - part { - name: "elm.text.2"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.text.1"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: 68 68 68 255; - text { - font: "Tizen:style=Medium"; - size: 32; - min: 0 1; - align: 0.0 1.0; - text_class: "tizen"; - } - } - } - part { - name: "elm.text.1"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.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.icon.1"; - } - color: GENLIST_PART_LIST_TEXT_DEFAULT; - text { - style: "activity_textblock_style"; - min: 0 1; - align: 0.0 1.0; - } - } - } - part { - name: "disclip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - group { - name: "elm/genlist/item/logdetail.5icon/default"; - alias: "elm/genlist/item_odd/logdetail.5icon/default"; - alias: "elm/genlist/item_compress/logdetail.5icon/default"; - alias: "elm/genlist/item_compress_odd/logdetail.5icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.5"; - - parts { - part { - name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { - state: "default" 0.0; - min: 0 112; - } - } - part { - name: "elm.icon.1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:0 74; - fixed: 0 1; - rel1.relative: 0.021 0.5; - rel2.relative: 0.196 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.218 0.5; - rel2.relative: 0.392 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.3"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.414 0.5; - rel2.relative: 0.588 0.5; - align: 0.5 0.5; - } - } - part { - name: "elm.icon.4"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.61 0.5; - rel2.relative: 0.783 0.5; - align: 0.5 0.5; - } - } - part { - name: "elm.icon.5"; - type: SWALLOW; - scale:1 ; - description { - state: "default" 0.0; - min: 0 74; - fixed: 0 1; - rel1.relative: 0.806 0.5; - rel2.relative: 0.979 0.5; - align: 0.5 0.5; - } - } - } - } - group { name: "elm/button/base/logdetail.circle/empty"; - alias: "elm/button/base/logdetail.circle/empty"; - images { - image: PHUG_IMAGES"C01-4_circle_button.png" COMP; - image: PHUG_IMAGES"C01-4_circle_button_press.png" COMP; - } - parts { - part { name: "button_image"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC; - fixed: 1 1; - image.normal: PHUG_IMAGES"C01-4_circle_button.png"; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: PHUG_IMAGES"C01-4_circle_button_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: PHUG_IMAGES"C01-4_circle_button.png"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "icon_clipper"; - scale: 1; - description { state: "default" 0.0; - min: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; - max: BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC; - fixed: 1 1; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "visible" 0.0; - } - } - part { name: "icon_clipper"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 101 101 101 255; - } - description { state: "visible" 0.0; - color: 248 246 239 255; - } - description { state: "disabled" 0.0; - color: 101 101 101 76; - } - } - part { name: "over1"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over2"; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "button_click"; - signal: "mouse,down,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "over1"; -// action: PLAY_SAMPLE "touch_sound" 1.0; - after: button_unclick2; - } - program { name: "button_unclick2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "button_image"; - target: "icon_clipper"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - } - } - - group { - name: "elm/genlist/item/logdetail.2icon/default"; - alias: "elm/genlist/item_odd/logdetail.2icon/default"; - alias: "elm/genlist/item_compress/logdetail.2icon/default"; - alias: "elm/genlist/item_compress_odd/logdetail.2icon/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.icon.1 elm.icon.2"; - - parts { - part { - name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { - state: "default" 0.0; - min: 0 120; - visible: 0; - } - } - part { - name: "elm.icon.1"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min:0 78; - fixed: 0 1; - rel1.relative: 170/720 0.5; - rel2.relative: (170+190)/720 0.5; - align: 0.5 0.5; - } - } - - part { - name: "elm.icon.2"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - min: 0 78; - fixed: 0 1; - rel1.relative: (170+190+10)/720 0.5; - rel2.relative: (170+190+10+190)/720 0.5; - align: 0.5 0.5; - } - } - } - } -} diff --git a/lib/edc/nocontent_layout.edc b/lib/edc/nocontent_layout.edc deleted file mode 100755 index 22eedf7..0000000 --- a/lib/edc/nocontent_layout.edc +++ /dev/null @@ -1,109 +0,0 @@ -/* -* Copyright 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. -*/ - -#define IMAGE_PATH "../images/contact_images/" - -styles { - style { - name: "layout_textblock_style"; - base: "font=Tizen:style=Regular text_class=tizen_medium font_size=32 color=#ffffff align=center wrap=mixed"; - } -} -collections { - group { - images { - image: IMAGE_PATH"00_Nocontents_picture.png" COMP; - } - name: "nocontent_layout"; - parts { - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "top.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 0 1; - min: 0 215; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - } - } - part { - name: "image"; - type: IMAGE; - description { - state: "default" 0.0; - fixed: 1 1; - min: 280 280; - rel1 { relative: 0.0 1.0; to: "top.padding"; } - rel2 { relative: 1.0 1.0; to: "top.padding"; } - align: 0.5 0.5; - image { - normal: IMAGE_PATH"00_Nocontents_picture.png"; - } - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - } - part { - name: "middle.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 0 1; - min: 0 38; - align: 0.5 0.0; - rel1 { relative: 0.0 1.0; to: "image"; } - rel2 { relative: 1.0 1.0; to: "image"; } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.0; - min: 0 165; - fixed: 0 1; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "middle.padding"; } - rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "middle.padding"; } - color: 128 128 128 255; - text { - min: 0 0; - max: 0 1; - style: "layout_textblock_style"; - align: 0.5 0.5; - } - } - } - } - } -} - diff --git a/lib/edc/progress.edc b/lib/edc/progress.edc deleted file mode 100755 index fa53a45..0000000 --- a/lib/edc/progress.edc +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright 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. - */ - - -collections { - group { name: "popup_center_text_progressview"; - 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 0; - 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 : 0 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 : 0 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.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 0; - rel1 { - relative: 0.2 1.0; - to: "pad_t"; - } - rel2 { - relative: 0.8 0.0; - to: "pad_b"; - } - } - } - part { name: "pad_b"; - scale : 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - align: 0.5 1.0; - min: 0 90; - fixed: 0 1; - rel1 { - relative: 1.0 0.0; - to_x: "pad_l"; - to_y: "pad_bm"; - } - rel2 { - relative: 0.0 0.0; - to_x: "pad_r"; - to_y: "pad_bm"; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale : 1; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - to: "pad_b"; - } - rel2 { - relative: 1.0 1.0; - to: "pad_b"; - } - } - } - part { name: "pad_bm"; - - scale : 1; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - align: 0.0 1.0; - min: 0 0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to_x: "pad_l"; - } - rel2 { - relative: 1.0 1.0; - to_x: "pad_r"; - } - } - } - part { name: "elm.text.subtext1"; - type: TEXT; - scale : 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Medium"; - size: 30; - min: 0 0; - align: 0.0 0.5; - text_class: "tizen"; - } - color: 128 128 128 255; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - to: "pad_bm"; - } - rel2 { - relative: 1.0 1.0; - to: "pad_bm"; - } - } - } - part { name: "elm.text.subtext2"; - type: TEXT; - scale : 1; - description { state: "default" 0.0; - text { - font: "Tizen:style=Medium"; - size: 30; - min: 0 0; - align: 1.0 0.5; - text_class: "tizen"; - } - color: 128 128 128 255; - align: 1.0 0.5; - rel1 { - relative: 0.0 0.0; - to: "pad_bm"; - } - rel2 { - relative: 1.0 1.0; - to: "pad_bm"; - } - } - } - } - } -}
\ No newline at end of file diff --git a/lib/edc/selectioninfo.edc b/lib/edc/selectioninfo.edc deleted file mode 100755 index 54ffc8b..0000000 --- a/lib/edc/selectioninfo.edc +++ /dev/null @@ -1,81 +0,0 @@ -/* -* Copyright 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. -*/ - - -collections { - group { - name: "selectioninfo_layout"; - parts { - part { - name: "contents"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.5 0.0; - rel2 { - relative: 1.0 0.0; - to: "toolbar"; - } - } - } - part { - name: "selectioninfo"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - rel2 { - relative: 1.0 0.0; - to: "toolbar"; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "toolbar"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - align: 0.0 1.0; - max: 999999 0; - } - } - } - programs { - program { - name: "show"; - signal: "show,selection,info"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "selectioninfo"; - } - program { - name: "hide"; - signal: "hide,selection,info"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "selectioninfo"; - } - } - } -} diff --git a/lib/edc/speeddial_theme.edc b/lib/edc/speeddial_theme.edc deleted file mode 100755 index 088d6fe..0000000 --- a/lib/edc/speeddial_theme.edc +++ /dev/null @@ -1,157 +0,0 @@ -/* -* Copyright 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. -*/ - - -#define WIDTH 720 -#define MIN_SIZE (WIDTH/3) -#define MAX_SIZE (217) - -collections { - group{ - name: "elm/gengrid/item/gridtext_speeddial/default"; - data.item: "texts" "elm.text elm.text.number"; - data.item: "contents" "elm.swallow.icon elm.swallow.check.icon"; - - parts{ - part{ - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - } - part { - name: "icon_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - max: MAX_SIZE MAX_SIZE; - fixed: 1 1; - visible: 1; -// color: 51 51 51 200; - rel1 { relative: 0.0 0.0; to: "bg"; } - rel2 { relative: 1.0 1.0; to: "bg"; } - } - } - part { - name: "elm.swallow.icon.bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - color: 190 189 189 255; - rel1 { relative: 0.0 0.0; to: "icon_bg"; } - rel2 { relative: 1.0 1.0; offset: 0 0; to: "icon_bg"; } - } - } - part{ - name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.swallow.icon.bg"; } - rel2 { relative: 1.0 1.0; to: "elm.swallow.icon.bg"; } - } - } - part { - name: "label_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: MAX_SIZE 37; - fixed: 1 1; - align: 0.0 1.0; - visible: 1; - color: 0 0 0 77; - rel1 { relative: 0.0 1.0; offset: 0 0; to: "elm.swallow.icon.bg"; } - rel2 { relative: 1.0 1.0; offset: 0 0; to: "elm.swallow.icon.bg"; } - } - } - part { - name: "elm.text"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "label_bg"; } - rel2 { relative: 1.0 1.0; to: "label_bg"; } - color: 255 255 255 255; - color2: 0 0 0 185; - color3: 0 0 0 185; - text { - font: "Tizen:style=Medium"; - text_class: "tizen"; - size: 26; - align: 0.5 0.5; - } - } - } - part { - name: "number_label_bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 40 40; - fixed: 1 1; - align: 1.0 0.0; - visible: 0; - rel1 { relative: 1.0 0.0; offset: -8 +5; to: "elm.swallow.icon.bg"; } - rel2 { relative: 1.0 0.0; offset: -8 +5; to: "elm.swallow.icon.bg"; } - } - } - part { - name: "elm.text.number"; - type: TEXT; - effect: SHADOW; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - rel1 { relative: 0.0 0.0; to: "number_label_bg"; } - rel2 { relative: 1.0 1.0; to: "number_label_bg"; } - color: 255 255 255 255; - color2: 0 0 0 185; - color3: 0 0 0 185; - text { - font: "Tizen:style=Medium"; - text_class: "tizen"; - size: 40; - align: 0.5 0.5; - } - } - } - part { - name: "elm.swallow.check.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.5 0.5; - rel1 { relative: 0.0 0.0; to: "elm.swallow.icon";} - rel2 { relative: 1.0 1.0; to: "elm.swallow.icon";} - } - } - } - } -} |