From: Hyoyoung Chang Date: Wed, 25 Apr 2012 11:15:37 +0000 (+0900) Subject: [genlist] adding new sweep modes and definitions X-Git-Tag: 2.0_alpha~151 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=605500e8097e446eaff819da86508e0e1415592f;p=framework%2Fuifw%2Fefl-theme-tizen.git [genlist] adding new sweep modes and definitions Change-Id: Ifa8a09299526a459656aba5f5a60cedef835fced --- diff --git a/themes/inc/tizen-black-hd-inc.edc b/themes/inc/tizen-black-hd-inc.edc index 13b65a1..908b8d9 100644 --- a/themes/inc/tizen-black-hd-inc.edc +++ b/themes/inc/tizen-black-hd-inc.edc @@ -186,6 +186,8 @@ #define GENLIST_SIZE_61_INC 61 #define GENLIST_SIZE_SLIDE_60_INC 60 #define GENLIST_SIZE_64_INC 64 +#define GENLIST_SIZE_74_INC 74 +#define GENLIST_SIZE_SLIDE_74_INC 74 #define GENLIST_SIZE_80_INC 80 #define GENLIST_SIZE_90_INC 90 #define GENLIST_SIZE_96_INC 96 @@ -205,10 +207,12 @@ #define GENLIST_SIZE_177_INC 177 #define GENLIST_SIZE_192_INC 192 #define GENLIST_SIZE_195_INC 195 +#define GENLIST_SIZE_197_INC 197 #define GENLIST_SIZE_206_INC 206 #define GENLIST_SIZE_234_INC 234 #define GENLIST_SIZE_235_INC 235 #define GENLIST_SIZE_SLIDE_220_INC 220 +#define GENLIST_SIZE_304_INC 304 #define GENLIST_SIZE_390_INC 390 #define GENLIST_SIZE_448_INC 448 #define GENLIST_SIZE_560_INC 560 diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc index 786790e..346f288 100644 --- a/themes/inc/tizen-hd-inc.edc +++ b/themes/inc/tizen-hd-inc.edc @@ -186,6 +186,8 @@ #define GENLIST_SIZE_61_INC 61 #define GENLIST_SIZE_SLIDE_60_INC 60 #define GENLIST_SIZE_64_INC 64 +#define GENLIST_SIZE_74_INC 74 +#define GENLIST_SIZE_SLIDE_74_INC 74 #define GENLIST_SIZE_80_INC 80 #define GENLIST_SIZE_90_INC 90 #define GENLIST_SIZE_96_INC 96 @@ -205,10 +207,12 @@ #define GENLIST_SIZE_177_INC 177 #define GENLIST_SIZE_192_INC 192 #define GENLIST_SIZE_195_INC 195 +#define GENLIST_SIZE_197_INC 197 #define GENLIST_SIZE_206_INC 206 #define GENLIST_SIZE_234_INC 234 #define GENLIST_SIZE_235_INC 235 #define GENLIST_SIZE_SLIDE_220_INC 220 +#define GENLIST_SIZE_304_INC 304 #define GENLIST_SIZE_390_INC 390 #define GENLIST_SIZE_448_INC 448 #define GENLIST_SIZE_560_INC 560 diff --git a/themes/widgets/genlist/genlist_sweep.edc b/themes/widgets/genlist/genlist_sweep.edc index b8dee86..113fa3d 100644 --- a/themes/widgets/genlist/genlist_sweep.edc +++ b/themes/widgets/genlist/genlist_sweep.edc @@ -26,6 +26,900 @@ alias: "elm/genlist/item_compress_odd/mode/slide/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; + data.item: "contents" "elm.slide.swallow.1"; + data.item: "mode_part" "elm.swallow.origin"; + data.item: "treesize" "GENLIST_TREESIZE_32_INC"; + images { + image: "00_sweep_list_bg.png" COMP; + } + + parts { + part { name: "base"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_113_INC; + image { + normal: "00_sweep_list_bg.png"; + border: 0 0 3 0; + } + } + } + part { name: "bottom_line"; + type: RECT; + clip_to: "disclip"; + 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; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "base.padding.rightmargin"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 1 0; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "elm.slide.swallow.1"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_390_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_390_INC GENLIST_SIZE_74_INC; + fixed: 1 1; + align: 0.5 0.5; + rel2 { + relative: 0 1; + to_x: "base.padding.rightmargin"; + } + } + } + // Transparent part between base parts and slidable parts + part { name: "event_block_layer"; + type: RECT; + clip_to: "disclip"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base.padding.sweepright"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 2 0; + to: "base"; + } + rel2 { + relative: 2 1; + to: "base"; + } + } + } + // Swallow part for original genlist item style + part { name: "elm.swallow.origin"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.to: "base.padding.rightmargin"; + rel2 { + relative: 0 1; + to: "base.padding.sweepright"; + } + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_DISCLIP_COLOR_INC; + } + } + } + programs { + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + transition: ACCELERATE 0.5; + after: "unblock_event"; + } + program { + name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + transition: DECELERATE 0.5; + after: "slide_left_finished"; + } + program { + name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + } + } + + group { name: "elm/genlist/item/mode/slide2/default"; + alias: "elm/genlist/item_odd/mode/slide2/default"; + alias: "elm/genlist/item_compress/mode/slide2/default"; + alias: "elm/genlist/item_compress_odd/mode/slide2/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2"; + data.item: "mode_part" "elm.swallow.origin"; + data.item: "treesize" "GENLIST_TREESIZE_32_INC"; + images { + image: "00_sweep_list_bg.png" COMP; + } + + parts { + part { name: "base"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_129_INC; + image { + normal: "00_sweep_list_bg.png"; + border: 0 0 3 0; + } + } + } + part { name: "bottom_line"; + type: RECT; + clip_to: "disclip"; + 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; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "base.padding.rightmargin"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 1 0; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "base.padding.center"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + max: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + visible: 0; + align: 0.5 0.5; + rel2 { + relative: 0 1; + to_x: "base.padding.rightmargin"; + } + } + } + part { name: "elm.slide.swallow.1"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_304_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_304_INC GENLIST_SIZE_74_INC; + align: 1 0.5; + rel1.to_x: "base.padding.center"; + rel2 { + relative: 0 1; + to_x: "base.padding.center"; + } + } + } + part { name: "elm.slide.swallow.2"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_304_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_304_INC GENLIST_SIZE_74_INC; + align: 0 0.5; + rel1 { + relative: 1 0; + to_x: "base.padding.center"; + } + rel2.to_x: "base.padding.center"; + } + } + // Transparent part between base parts and slidable parts + part { name: "event_block_layer"; + type: RECT; + clip_to: "disclip"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base.padding.sweepright"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 2 0; + to: "base"; + } + rel2 { + relative: 2 1; + to: "base"; + } + } + } + // Swallow part for original genlist item style + part { name: "elm.swallow.origin"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.to: "base.padding.rightmargin"; + rel2 { + relative: 0 1; + to: "base.padding.sweepright"; + } + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_DISCLIP_COLOR_INC; + } + } + } + programs { + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + transition: ACCELERATE 0.5; + after: "unblock_event"; + } + program { + name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + transition: DECELERATE 0.5; + after: "slide_left_finished"; + } + program { + name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + } + } + + group { name: "elm/genlist/item/mode/slide3/default"; + alias: "elm/genlist/item_odd/mode/slide3/default"; + alias: "elm/genlist/item_compress/mode/slide3/default"; + alias: "elm/genlist/item_compress_odd/mode/slide3/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3"; + data.item: "mode_part" "elm.swallow.origin"; + data.item: "treesize" "GENLIST_TREESIZE_32_INC"; + images { + image: "00_sweep_list_bg.png" COMP; + } + + parts { + part { name: "base"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_113_INC; + image { + normal: "00_sweep_list_bg.png"; + border: 0 0 3 0; + } + } + } + part { name: "bottom_line"; + type: RECT; + clip_to: "disclip"; + 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; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "base.padding.rightmargin"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 1 0; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "elm.slide.swallow.2"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_197_INC 0; + max: GENLIST_SIZE_197_INC 0; + fixed: 1 0; + align: 0.5 0.5; + rel2 { + relative: 0 1; + to_x: "base.padding.rightmargin"; + } + } + } + part { name: "elm.padding.swallow.2.left"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + max: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + align: 1 0.5; + visible: 0; + rel1.to: "elm.slide.swallow.2"; + rel2 { + relative: 0 1; + to: "elm.slide.swallow.2"; + } + } + } + part { name: "elm.slide.swallow.1"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_197_INC 0; + max: GENLIST_SIZE_197_INC 0; + fixed: 1 0; + align: 1 0.5; + rel1.to: "elm.padding.swallow.2.left"; + rel2 { + relative: 0 1; + to: "elm.padding.swallow.2.left"; + } + } + } + part { name: "elm.padding.swallow.2.right"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + max: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + align: 0 0.5; + visible: 0; + rel1 { + relative: 1 0; + to: "elm.slide.swallow.2"; + } + rel2.to: "elm.slide.swallow.2"; + } + } + part { name: "elm.slide.swallow.3"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_197_INC 0; + max: GENLIST_SIZE_197_INC 0; + fixed: 1 0; + align: 0 0.5; + rel1 { + relative: 1 0; + to: "elm.padding.swallow.2.right"; + } + rel2.to: "elm.padding.swallow.2.right"; + } + } + // Transparent part between base parts and slidable parts + part { name: "event_block_layer"; + type: RECT; + clip_to: "disclip"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base.padding.sweepright"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 2 0; + to: "base"; + } + rel2 { + relative: 2 1; + to: "base"; + } + } + } + // Swallow part for original genlist item style + part { name: "elm.swallow.origin"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.to: "base.padding.rightmargin"; + rel2 { + relative: 0 1; + to: "base.padding.sweepright"; + } + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_DISCLIP_COLOR_INC; + } + } + } + programs { + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + transition: ACCELERATE 0.5; + after: "unblock_event"; + } + program { + name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + transition: DECELERATE 0.5; + after: "slide_left_finished"; + } + program { + name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + } + } + + group { name: "elm/genlist/item/mode/slide4/default"; + alias: "elm/genlist/item_odd/mode/slide4/default"; + alias: "elm/genlist/item_compress/mode/slide4/default"; + alias: "elm/genlist/item_compress_odd/mode/slide4/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "contents" "elm.slide.swallow.1 elm.slide.swallow.2 elm.slide.swallow.3 elm.slide.swallow.4"; + data.item: "mode_part" "elm.swallow.origin"; + data.item: "treesize" "GENLIST_TREESIZE_32_INC"; + images { + image: "00_sweep_list_bg.png" COMP; + } + + parts { + part { name: "base"; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_129_INC; + image { + normal: "00_sweep_list_bg.png"; + border: 0 0 3 0; + } + } + } + part { name: "bottom_line"; + type: RECT; + clip_to: "disclip"; + 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; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "base.padding.rightmargin"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 1 0; + to: "base"; + } + rel2.to: "base"; + } + } + part { name: "base.padding.center"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_16_INC 0; + max: GENLIST_PADDING_16_INC 0; + fixed: 1 0; + visible: 0; + align: 0.5 0.5; + rel2 { + relative: 0 1; + to_x: "base.padding.rightmargin"; + } + } + } + part { name: "elm.slide.swallow.2"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + fixed: 1 1; + align: 1 0.5; + rel1.to: "base.padding.center"; + rel2 { + relative: 0 1; + to: "base.padding.center"; + } + } + } + part { name: "elm.padding.swallow.2.left"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + max: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + align: 1 0.5; + visible: 0; + rel1.to: "elm.slide.swallow.2"; + rel2 { + relative: 0 1; + to: "elm.slide.swallow.2"; + } + } + } + part { name: "elm.slide.swallow.1"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + fixed: 1 1; + align: 1 0.5; + rel1.to: "elm.padding.swallow.2.left"; + rel2 { + relative: 0 1; + to: "elm.padding.swallow.2.left"; + } + } + } + part { name: "elm.slide.swallow.3"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + fixed: 1 1; + align: 0 0.5; + rel1 { + relative: 1 0; + to: "base.padding.center"; + } + rel2.to: "base.padding.center"; + } + } + part { name: "elm.padding.swallow.3.right"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_16_INC 0; + max: GENLIST_SIZE_16_INC 0; + fixed: 1 0; + align: 0 0.5; + visible: 0; + rel1 { + relative: 1 0; + to: "elm.slide.swallow.3"; + } + rel2.to: "elm.slide.swallow.2"; + } + } + part { name: "elm.slide.swallow.4"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + max: GENLIST_SIZE_144_INC GENLIST_SIZE_74_INC; + fixed: 1 1; + align: 0 0.5; + rel1 { + relative: 1 0; + to: "elm.padding.swallow.3.right"; + } + rel2.to: "elm.padding.swallow.3.right"; + } + } + // Transparent part between base parts and slidable parts + part { name: "event_block_layer"; + type: RECT; + clip_to: "disclip"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base.padding.sweepright"; + type: RECT; + clip_to: "disclip"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_64_INC 0; + fixed: 1 0; + visible: 0; + align: 1 0; + rel1 { + relative: 2 0; + to: "base"; + } + rel2 { + relative: 2 1; + to: "base"; + } + } + } + // Swallow part for original genlist item style + part { name: "elm.swallow.origin"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.to: "base.padding.rightmargin"; + rel2 { + relative: 0 1; + to: "base.padding.sweepright"; + } + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_DISCLIP_COLOR_INC; + } + } + } + programs { + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + transition: ACCELERATE 0.5; + after: "unblock_event"; + } + program { + name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + transition: DECELERATE 0.5; + after: "slide_left_finished"; + } + program { + name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + } + } + + group { name: "elm/genlist/item/mode/slide.1text/default"; + alias: "elm/genlist/item_odd/mode/slide.1text/default"; + alias: "elm/genlist/item_compress/mode/slide.1text/default"; + alias: "elm/genlist/item_compress_odd/mode/slide.1text/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; data.item: "texts" "elm.slide.text.1"; data.item: "contents" "elm.slide.swallow.1"; data.item: "mode_part" "elm.swallow.origin"; @@ -239,10 +1133,10 @@ } } - group { name: "elm/genlist/item/mode/slide2/default"; - alias: "elm/genlist/item_odd/mode/slide2/default"; - alias: "elm/genlist/item_compress/mode/slide2/default"; - alias: "elm/genlist/item_compress_odd/mode/slide2/default"; + group { name: "elm/genlist/item/mode/slide2.text/default"; + alias: "elm/genlist/item_odd/mode/slide2.text/default"; + alias: "elm/genlist/item_compress/mode/slide2.text/default"; + alias: "elm/genlist/item_compress_odd/mode/slide2.text/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.slide.text.1"; @@ -490,10 +1384,10 @@ } } - group { name: "elm/genlist/item/mode/slide3/default"; - alias: "elm/genlist/item_odd/mode/slide3/default"; - alias: "elm/genlist/item_compress/mode/slide3/default"; - alias: "elm/genlist/item_compress_odd/mode/slide3/default"; + group { name: "elm/genlist/item/mode/slide3.text/default"; + alias: "elm/genlist/item_odd/mode/slide3.text/default"; + alias: "elm/genlist/item_compress/mode/slide3.text/default"; + alias: "elm/genlist/item_compress_odd/mode/slide3.text/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.slide.text.1"; @@ -772,10 +1666,10 @@ } } - group { name: "elm/genlist/item/mode/slide4/default"; - alias: "elm/genlist/item_odd/mode/slide4/default"; - alias: "elm/genlist/item_compress/mode/slide4/default"; - alias: "elm/genlist/item_compress_odd/mode/slide4/default"; + group { name: "elm/genlist/item/mode/slide4.text/default"; + alias: "elm/genlist/item_odd/mode/slide4.text/default"; + alias: "elm/genlist/item_compress/mode/slide4.text/default"; + alias: "elm/genlist/item_compress_odd/mode/slide4.text/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.slide.text.1";