From: Tae-Hwan Kim Date: Fri, 10 May 2013 07:28:27 +0000 (+0900) Subject: [Genlist] Remove unused images & codes X-Git-Tag: accepted/tizen/20131029.210118~316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f31a498b11eaf0e844c0fd6a8334e33322c16bb;p=profile%2Fivi%2Fefl-theme-tizen.git [Genlist] Remove unused images & codes Change-Id: I673c6415948e09b3da425f5f21a0f82affc1984e --- diff --git a/themes/images/tizen-hd/Others/01_dialoguegroup_bg_default.png b/themes/images/tizen-hd/Others/01_dialoguegroup_bg_default.png deleted file mode 100644 index 2d7aab1..0000000 Binary files a/themes/images/tizen-hd/Others/01_dialoguegroup_bg_default.png and /dev/null differ diff --git a/themes/images/tizen-hd/Others/01_list_reorder_bg_above.png b/themes/images/tizen-hd/Others/01_list_reorder_bg_above.png deleted file mode 100644 index e28d15b..0000000 Binary files a/themes/images/tizen-hd/Others/01_list_reorder_bg_above.png and /dev/null differ diff --git a/themes/images/tizen-hd/Others/01_list_reorder_bg_below.png b/themes/images/tizen-hd/Others/01_list_reorder_bg_below.png deleted file mode 100644 index 7c59977..0000000 Binary files a/themes/images/tizen-hd/Others/01_list_reorder_bg_below.png and /dev/null differ diff --git a/themes/widgets/genlist/genlist.edc b/themes/widgets/genlist/genlist.edc index b58f503..ec767cd 100644 --- a/themes/widgets/genlist/genlist.edc +++ b/themes/widgets/genlist/genlist.edc @@ -29,627 +29,3 @@ #include "genlist_expandable.edc" #include "genlist_decorate.edc" #include "genlist_email.edc" - -#if 0 - group { name: "elm/genlist/base/dialogue"; - alias: "elm/scroller/base/dialogue"; - inherit: "elm/genlist/base/default"; - parts { - part { name: "bg"; - description { state: "default" 0.0; - color: GENLIST_LIST_BG_COLOR; - } - } - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: DIALOGUE_PADDING_SCROLLER 0; - fixed: 1 0; - visible: 0; - align: 0.0 0.0; - rel2.relative: 0.0 1.0; - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.padding.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: DIALOGUE_PADDING_SCROLLER 0; - fixed: 1 0; - visible: 0; - align: 1.0 0.0; - rel1.relative: 1.0 0.0; - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - 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.right"; - } - color: 0 0 0 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to_y: "bg"; - to_x: "bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to_y: "sb_hbar"; - to_x: "bg"; - } - } - } - } - } - group { name: "elm/list/base/matchlist"; - script { - public sbvis_v, sbvis_h, sbnever_v, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE COMP; - image: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "sb_runnerh.png" COMP; - image: "sb_runnerv.png" COMP; - image: "01_dialoguegroup_bg_default.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - color: 255 255 255 0; - } - } - part { name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: -5 -3; - rel2.offset: 4 10; - image { - normal: "01_dialoguegroup_bg_default.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER; - border_scale: 1; - } - fill.smooth: 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - } - part { name: "conf_over"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - visible: 0; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part {name: "vbar.padding"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 0; - max: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 0; - align: 1 0.5; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_y: "elm.swallow.content"; - to_x: "vbar.padding"; - } - } - } - part { name: "sb_vbar_runner"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC; - max: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC; - rel1.to: "sb_vbar"; - rel2.to: "sb_vbar"; - visible: 0; - image { - normal: "sb_runnerv.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER; - border_scale: 1; - } - fill.smooth: 0; - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC; - max: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE; - border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER; - border_scale: 1; - middle: DEFAULT; - } - } - } - part { name: "sb_vbar_over1"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.vbar"; - visible: 0; - image { - normal: "bt_sm_hilight.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1; - border_scale: 1; - } - } - } - part { name: "sb_vbar_over2"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.to: "elm.dragable.vbar"; - visible: 0; - image { - normal: "bt_sm_shine.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2; - border_scale: 1; - } - } - } - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part {name: "hbar.padding"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE; - max: 0 SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE; - align: 1 1; - rel1 { - relative: 0.0 0.0; - to: "elm.swallow.content"; - } - rel2 { - relative: 1.0 1.0; - to: "elm.swallow.content"; - } - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_x: "sb_vbar"; - to_y: "hbar.padding"; - } - } - } - part { name: "sb_hbar_runner"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC; - max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC; - rel1.to: "sb_hbar"; - rel2.to: "sb_hbar"; - visible: 0; - image { - normal: "sb_runnerh.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER; - border_scale: 1; - } - fill.smooth: 0; - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC; - max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - color: 255 255 255 0; - image { - normal: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE; - border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER; - border_scale: 1; - } - image.middle: SOLID; - } - } - part { name: "sb_hbar_over1"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.hbar"; - visible: 0; - image { - normal: "bt_sm_hilight.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1; - border_scale: 1; - } - } - } - part { name: "sb_hbar_over2"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.to: "elm.dragable.hbar"; - visible: 0; - image { - normal: "bt_sm_shine.png"; - border: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2; - border_scale: 1; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - set_int(sbnever_v, 0); - } - } - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - set_int(sbnever_v, 0); - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - set_int(sbnever_v, 0); - } - } - program { name: "vbar_hide_always"; - signal: "elm,action,hide_always,vbar"; - source: "elm"; - script { - new v1, v2; - v1 = get_int(sbnever_v); - if (!v1) { - set_int(sbnever_v, 1); - set_int(sbalways_v, 0); - v2 = get_int(sbvis_v); - if (!v2) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 1.0; - target: "sb_vbar_clip"; - } - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 1.0; - target: "sb_hbar_clip"; - } - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new v, v1; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - v1 = get_int(sbnever_v); - if (!v && !v1) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(0.5, "timer0", 0); - set_int(sbvis_timer, v); - } - } - } - } -#endif diff --git a/themes/widgets/genlist/genlist_decorate.edc b/themes/widgets/genlist/genlist_decorate.edc index 408c8c1..506a6d3 100644 --- a/themes/widgets/genlist/genlist_decorate.edc +++ b/themes/widgets/genlist/genlist_decorate.edc @@ -192,2230 +192,3 @@ } } } - -#if 0 - - group { name: "elm/genlist/item/edit_default_transparency/default"; - alias: "elm/genlist/item_odd/edit_default_transparency/default"; - alias: "elm/genlist/item_compress/edit_default_transparency/default"; - alias: "elm/genlist/item_compress_odd/edit_default_transparency/default"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2"; - - images { - image: "01_list_reorder_bg_above.png" COMP; - image: "01_list_reorder_bg_below.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.padding.reorder"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel2.relative: 0.0 1.0; - align: 1.0 0.0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - align: 0.0 0.0; - } - } - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.reorder"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: 0 0 0 0; - } - } - - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.reorder"; - } - rel2.to_x: "elm.padding.reorder"; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - } - } - - part { name: "elm.edit.icon.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 0.0 0.5; - } - } - - part { name: "elm.padding.icon1.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.edit.icon.1"; - } - rel2.to_x: "elm.edit.icon.1"; - align: 0.0 0.0; - } - } - - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.2 0.0; - to_x: "elm.edit.icon.2"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.3 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - } - } - part { name: "elm.padding.icon2.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.decorate.content"; - } - rel2.to_x: "elm.swallow.decorate.content"; - align: 0.0 0.0; - } - } - - part { name: "elm.edit.icon.2"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - visible: 1; - rel1 { - relative: 1.0 0.0; - offset: -GENLIST_SIZE_16_INC GENLIST_SIZE_6_INC; - } - rel2 { - relative: 1.0 1.0; - offset: -GENLIST_SIZE_16_INC -GENLIST_SIZE_8_INC; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - fixed: 0 1; - visible: 1; - color: GENLIST_PART_EDIT_1PIXEL_LINE_COLOR_INC; - rel1 { - relative: 0.0 1.0; - to_x: "elm.decorate_bg"; - offset: 0 -1; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "enabled" 0.0; - inherit: "default" 0.0; - min: 0 1; - fixed: 0 1; - } - } - part { name: "reorder_glow_above"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1.relative: 0.0 -0.3; - rel2.relative: 1.0 0.0; - image { - normal: "01_list_reorder_bg_above.png"; - } - fill.smooth: 0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "reorder_glow_below"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.3; - image { - normal: "01_list_reorder_bg_below.png"; - } - fill.smooth: 0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - - // decorate mode enable signal - program { name: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - target: "bottom_line"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - target: "bottom_line"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - target: "bottom_line"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - target: "bottom_line"; - } - - // reorder signal - program { name: "reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "reorder" 0.0; - target: "elm.padding.reorder"; - } - program { name: "reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.padding.reorder"; - } - - program { name: "reorder_enabled_effect"; - signal: "elm,state,reorder_enabled_effect"; - source: "elm"; - action: STATE_SET "reorder" 0.0; - transition: DECELERATE 0.7; - target: "elm.padding.reorder"; - } - program { name: "reorder_disabled_effect"; - signal: "elm,state,reorder_disabled_effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.padding.reorder"; - } - // reorder glow - program { - name: "show_reorder_glow"; - signal: "elm,action,item,reorder_start"; - source: "elm"; - action: STATE_SET "reorder" 0.0; - target: "reorder_glow_above"; - target: "reorder_glow_below"; - } - program { - name: "hide_reorder_glow"; - signal: "elm,action,item,reorder_end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_glow_above"; - target: "reorder_glow_below"; - } - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.edit.icon.2"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon.2"; - } - } - } - - group { name: "elm/genlist/item/dialogue/edit/default"; - alias: "elm/genlist/item_odd/dialogue/edit/default"; - alias: "elm/genlist/item_compress/dialogue/edit/default"; - alias: "elm/genlist/item_compress_odd/dialogue/edit/default"; - alias: "elm/layout/dialogue/decorate"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.rect.dialogue"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_PRESS_COLOR; - } - } - part { name: "elm.rect.dialogue"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - } - } - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_PADDING_5_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.rect.dialogue"; - } - rel2.to_x: "elm.rect.dialogue"; - align: 0.0 0.0; - } - } - part { name: "elm.edit.icon.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 0.0 0.5; - } - } - part { name: "elm.padding.icon1.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.edit.icon.1"; - } - rel2.to_x: "elm.edit.icon.1"; - align: 0.0 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.decorate.content_cliprect"; - type: RECT; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.edit.icon.1"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.padding.icon2.left"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.3 0.0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - } - } - part { name: "elm.swallow.decorate.content"; - clip_to: "elm.swallow.decorate.content_cliprect"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { relative: -1.0 0.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.swallow.decorate.content_cliprect"; - } - rel2 { to: "elm.swallow.decorate.content_cliprect"; } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - rel1 { relative: 0.0 0.0; - to_x: "elm.rect.dialogue"; - to_y: "elm.swallow.decorate.content_cliprect"; - } - rel2.to: "elm.swallow.decorate.content_cliprect"; - } - } - - part { name: "elm.padding.icon2.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1.to_x: "elm.edit.icon.2"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.edit.icon.2"; - } - align: 0.0 0.0; - } - } - - part { name: "elm.edit.icon.2"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1.to_x: "elm.padding.right"; - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - fixed: 0 1; - visible: 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - to_x: "elm.decorate_bg"; - offset: 0 -1; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "elm.decorate_bg"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.decorate_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"; - } - - // decorate mode enable signal - program { name: "GENLIST_PART_BASE_BOTTOM_LINE"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.edit.icon.2"; - target: "elm.padding.icon1.right"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - //transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content_cliprect"; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content_cliprect"; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon.2"; - } - } - } - - group { name: "elm/genlist/item/dialogue/edit/contact/default"; - alias: "elm/genlist/item_odd/dialogue/edit/contact/default"; - alias: "elm/genlist/item_compress/dialogue/edit/contact/default"; - alias: "elm/genlist/item_compress_odd/dialogue/edit/contact/default"; - alias: "elm/layout/dialogue/edit/contact"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.base.icon"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - } - } - part { name: "vertical_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 1 0; - fixed: 1 0; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.decorate.content"; - offset: -1 0; - } - rel2.to_x: "elm.swallow.decorate.content"; - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - to_x: "elm.decorate_bg"; - offset: 0 -1; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.base.icon"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_90_INC 0; - fixed: 1 0; - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; - rel1 { - relative: 1.0 0.0; - offset: 0 -1; - } - align: 0.0 0.5; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - part { name: "elm.padding.icon.bottom"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_40_INC; - fixed: 0 1; - align: 0.5 1.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.base.icon"; - } - rel2.to_x: "elm.base.icon"; - } - } - part { name: "elm.edit.icon"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 1.0; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - - // decorate mode enable signal - program { name: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon"; - } - } - } - - /* this group is only for 2text.1icon.2 */ - group { name: "elm/genlist/item/dialogue/edit/contact.2/default"; - alias: "elm/genlist/item_odd/dialogue/edit/contact.2/default"; - alias: "elm/genlist/item_compress/dialogue/edit/contact.2/default"; - alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.2/default"; - alias: "elm/layout/dialogue/edit/contact.2"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.base.icon"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - } - } - part { name: "vertical_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 1 0; - fixed: 1 0; - align: 0.5 0.5; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 1.0 0.12; - to_x: "elm.swallow.decorate.content"; - offset: -1 0; - } - rel2 { - relative: 1.0 0.89; - to_x: "elm.swallow.decorate.content"; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - to_x: "elm.decorate_bg"; - offset: 0 -1; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.base.icon"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_90_INC 0; - fixed: 1 0; - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; - rel1 { - relative: 1.0 0.0; - offset: 0 -1; - } - align: 0.0 0.5; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - part { name: "elm.padding.icon.bottom"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_40_INC; - fixed: 0 1; - align: 0.5 1.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.base.icon"; - } - rel2.to_x: "elm.base.icon"; - } - } - part { name: "elm.edit.icon"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 1.0; - rel1 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 1.0; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - - // decorate mode enable signal - program { name: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon"; - } - } - } - - /* this group is for non-border-line items */ - group { name: "elm/genlist/item/dialogue/edit/contact.3/default"; - alias: "elm/genlist/item_odd/dialogue/edit/contact.3/default"; - alias: "elm/genlist/item_compress/dialogue/edit/contact.3/default"; - alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.3/default"; - alias: "elm/layout/dialogue/edit/contact.3"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.base.icon"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.base.icon"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_90_INC 0; - fixed: 1 0; - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; - rel1 { - relative: 1.0 0.0; - offset: 0 -1; - } - align: 0.0 0.5; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - part { name: "elm.padding.icon.bottom"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_40_INC; - fixed: 0 1; - align: 0.5 1.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.base.icon"; - } - rel2.to_x: "elm.base.icon"; - } - } - part { name: "elm.edit.icon"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 1.0; - rel1 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 1.0; - } - } - GENLIST_PART_DISCLIP - } - programs { - 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: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon"; - } - } - } - - /* this group is only for 2text.1icon.3 */ - group { name: "elm/genlist/item/dialogue/edit/contact.4/default"; - alias: "elm/genlist/item_odd/dialogue/edit/contact.4/default"; - alias: "elm/genlist/item_compress/dialogue/edit/contact.4/default"; - alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.4/default"; - alias: "elm/layout/dialogue/edit/contact.4"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.base.icon"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - } - } - part { name: "vertical_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 1 0; - fixed: 1 0; - align: 0.5 0.5; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 1.0 0.13; - to_x: "elm.swallow.decorate.content"; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - to_x: "elm.swallow.decorate.content"; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.base.icon"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_90_INC 0; - fixed: 1 0; - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; - rel1 { - relative: 1.0 0.0; - offset: 0 -1; - } - align: 0.0 0.5; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - part { name: "elm.padding.icon.bottom"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_40_INC; - fixed: 0 1; - align: 0.5 1.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.base.icon"; - } - rel2.to_x: "elm.base.icon"; - } - } - part { name: "elm.edit.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 1.0; - rel1 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 1.0; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - - // decorate mode enable signal - program { name: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon"; - } - } - } - -/* this item for dialogue/bg/1text */ - group { name: "elm/genlist/item/dialogue/edit/contact.5/default"; - alias: "elm/genlist/item_odd/dialogue/edit/contact.5/default"; - alias: "elm/genlist/item_compress/dialogue/edit/contact.5/default"; - alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.5/default"; - alias: "elm/layout/dialogue/edit/contact.5"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon"; - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - } - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.base.icon"; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - } - } - part { name: "vertical_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 1 0; - fixed: 1 0; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.decorate.content"; - offset: -1 0; - } - rel2.to_x: "elm.swallow.decorate.content"; - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 1; - fixed: 0 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - to_x: "elm.decorate_bg"; - to_y: "elm.decorate_bg"; - offset: 0 -1; - } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.base.icon"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_90_INC 0; - fixed: 1 0; - color: LAYOUT_GROUP_LIST_BG_COLOR_INC; - rel1 { - relative: 1.0 0.0; - offset: 0 -1; - } - align: 0.0 0.5; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - } - part { name: "elm.padding.icon.bottom"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_SIZE_40_INC; - fixed: 0 1; - align: 0.5 1.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to_x: "elm.base.icon"; - } - rel2.to_x: "elm.base.icon"; - } - } - part { name: "elm.edit.icon"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.icon.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 1.0; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - - // decorate mode enable signal - program { name: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.base.icon"; - target: "elm.edit.icon"; - } - // flip - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon"; - } - } - } - - group { name: "elm/genlist/item/dialogue/select_all/default"; - alias: "elm/genlist/item_odd/dialogue/select_all/default"; - alias: "elm/genlist/item_compress/dialogue/select_all/default"; - alias: "elm/genlist/item_compress_odd/dialogue/select_all/default"; - - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.icon"; - parts { - part { name: "base"; - type: RECT; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 GENLIST_HEIGHT_1LINE; - color: GENLIST_SELECT_ALL_BG_COLOR; - } - } - part { name: "bg"; - type: RECT; - repeat_events: 0; - mouse_events: 0; - description { state: "default" 0.0; - color: GENLIST_SELECT_ALL_BG_COLOR; - } - } - GENLIST_PART_BG_NORMAL - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.padding.icon.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.icon"; - } - rel2.to_x: "elm.icon"; - align: 0.0 0.0; - } - } - part { name: "elm.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC; - max: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.icon.right"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "elm.padding.right"; - to_y: "elm.padding.bottom"; - } - color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; - text { - font: "Tizen:style=Roman"; - size: GENLIST_LIST_MAIN_TEXT_SIZE; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: GENLIST_LIST_TEXT_FOCUS_COLOR; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } - } - - - /* 2.5.4 */ - group { name: "elm/genlist/item/edit_default2/default"; - alias: "elm/genlist/item_odd/edit_default2/default"; - alias: "elm/genlist/item_compress/edit_default2/default"; - alias: "elm/genlist/item_compress_odd/edit_default2/default"; - alias: "elm/genlist/tree/edit_default2/default"; - alias: "elm/genlist/tree_odd/edit_default2/default"; - alias: "elm/genlist/tree_compress/edit_default2/default"; - alias: "elm/genlist/tree_compress_odd/edit_default2/default"; - data.item: "stacking" "above"; - data.item: "decorate_contents" "elm.edit.icon.1"; - - images { - image: "01_list_reorder_bg_above.png" COMP; - image: "01_list_reorder_bg_below.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - GENLIST_PART_PADDING_TOP_SIZE( 0 ) - GENLIST_PART_PADDING_BOTTOM_SIZE( 0 ) - GENLIST_PART_PADDING_RIGHT_EDIT - - part { name: "elm.padding.reorder"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel2.relative: 0.0 1.0; - align: 1.0 0.0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - align: 0.0 0.0; - } - } - part { name: "elm.decorate_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.reorder"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: GENLIST_LIST_PRESS_COLOR; - } - } - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.reorder"; - } - rel2.to_x: "elm.padding.reorder"; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - } - } - part { name: "elm.edit.icon.1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - align: 1.0 0.5; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "elm.padding.left"; - to_y: "elm.padding.bottom"; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 0.0 0.5; - } - } - part { name: "elm.padding.icon1.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.edit.icon.1"; - } - rel2.to_x: "elm.edit.icon.1"; - align: 0.0 0.0; - } - } - part { name: "elm.swallow.decorate.content"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "elm.padding.icon1.right"; - to_y: "elm.padding.top"; - } - rel2 { - relative: 1.0 0.0; - to_y: "elm.padding.bottom"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.padding.icon2.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: GENLIST_SIZE_16_INC 0; - fixed: 1 0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.swallow.decorate.content"; - } - rel2.to_x: "elm.swallow.decorate.content"; - align: 0.0 0.0; - } - } - part { name: "bottom_line"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - fixed: 0 1; - visible: 1; - color: GENLIST_LIST_LINE1_COLOR; - rel1 { - relative: 0.0 1.0; - to_x: "elm.decorate_bg"; - offset: 0 -1; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "enabled" 0.0; - inherit: "default" 0.0; - min: 0 GENLIST_SIZE_8_INC; - fixed: 0 1; - } - } - part { name: "reorder_glow_above"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1.relative: 0.0 -0.3; - rel2.relative: 1.0 0.0; - image { - normal: "01_list_reorder_bg_above.png"; - } - fill.smooth: 0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "reorder_glow_below"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 1.3; - image { - normal: "01_list_reorder_bg_below.png"; - } - fill.smooth: 0; - } - description { state: "reorder" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - GENLIST_PART_DISCLIP - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "elm.decorate_bg"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.1; - target: "elm.decorate_bg"; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - // decorate mode enable signal - program { name: "decorate_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "bottom_line"; - } - program { name: "decorate_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "bottom_line"; - } - program { name: "decorate_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.edit.icon.1"; - target: "bottom_line"; - } - program { name: "decorate_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.edit.icon.1"; - target: "bottom_line"; - } - - // reorder signal - program { name: "reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "reorder" 0.0; - target: "elm.padding.reorder"; - } - program { name: "reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.padding.reorder"; - } - - program { name: "reorder_enabled_effect"; - signal: "elm,state,reorder_enabled_effect"; - source: "elm"; - action: STATE_SET "reorder" 0.0; - transition: DECELERATE 0.7; - target: "elm.padding.reorder"; - } - program { name: "reorder_disabled_effect"; - signal: "elm,state,reorder_disabled_effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.padding.reorder"; - } - // reorder glow - program { - name: "show_reorder_glow"; - signal: "elm,action,item,reorder_start"; - source: "elm"; - action: STATE_SET "reorder" 0.0; - target: "reorder_glow_above"; - target: "reorder_glow_below"; - } - program { - name: "hide_reorder_glow"; - signal: "elm,action,item,reorder_end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_glow_above"; - target: "reorder_glow_below"; - } - } - } -#endif