From 445c2970a0a9efb229a02fde78dc1360feafd109 Mon Sep 17 00:00:00 2001 From: Sohyun Kim Date: Fri, 4 Mar 2011 18:30:10 +0900 Subject: [PATCH] [genlist, entry] add bubble styles, changed grouptitle style anme --- themes/groups/entry.edc | 619 ++++++++++++++++++++++++++ themes/groups/genlist/genlist_group_title.edc | 109 ++++- themes/groups/genlist/genlist_styles.edc | 416 ++++++++++++++++- 3 files changed, 1121 insertions(+), 23 deletions(-) diff --git a/themes/groups/entry.edc b/themes/groups/entry.edc index 6e144a0..b6ec944 100644 --- a/themes/groups/entry.edc +++ b/themes/groups/entry.edc @@ -1324,3 +1324,622 @@ } } } + +#define BUBBLE_PAD 15 + + group { name: "elm/entry/base/readmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 0.0 1.0; + } + } + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2.to: "elm.text"; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.rect.left.pad"; + rel2.to: "elm.rect.right.pad"; + image { + normal: "07_message_bubble_readmessage.png"; + border: 1 11 7 12; + border_scale: 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under +// source6: "X"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 1.0 1.0; to: "elm.rect.left.pad"; } + text { + style: "entry_textblock_style"; + min: 0 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-noedit/readmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 0.0 1.0; + } + } + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel1 { relative: 1.0 0.0; to: "elm.text"; } + rel2.to: "elm.text"; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.rect.left.pad"; + rel2.to: "elm.rect.right.pad"; + image { + normal: "07_message_bubble_readmessage.png"; + border: 1 11 7 12; + border_scale: 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; } + text { + style: "entry_textblock_style"; + min: 0 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-noedit-charwrap/readmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 0.0 1.0; + } + } + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 0.0 0.0; + color: 0 0 0 0; + rel1 { relative: 1.0 0.0; to_x: "elm.text"; } + rel2.to_x: "elm.text"; + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.rect.left.pad"; + rel2.to: "elm.rect.right.pad"; + image { + normal: "07_message_bubble_readmessage.png"; + border: 1 11 7 12; + border_scale: 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; } + text { + style: "entry_textblock_style_charwrap"; + min: 0 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_charwrap"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base/sentmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; to: "elm.text"; } + rel2 { relative: 0.0 1.0; to: "elm.text"; } + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.rect.left.pad"; + rel2.to: "elm.rect.right.pad"; + image { + normal: "07_message_bubble_sentmessage.png"; + border: 11 1 7 12; + border_scale: 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under +// source6: "X"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; } + text { + style: "entry_textblock_style"; + min: 0 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-noedit/sentmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; to: "elm.text"; } + rel2 { relative: 0.0 1.0; to: "elm.text"; } + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.rect.left.pad"; + rel2.to: "elm.rect.right.pad"; + image { + normal: "07_message_bubble_sentmessage.png"; + border: 11 1 7 12; + border_scale: 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; } + text { + style: "entry_textblock_style"; + min: 0 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-noedit-charwrap/sentmessage"; + data.item: "default_font_size" "24"; + data.item: "min_font_size" "8"; + data.item: "max_font_size" "60"; + data { + item: context_menu_orientation "horizontal"; + } + parts { + part { + name: "elm.rect.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + } + } + part { + name: "elm.rect.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: BUBBLE_PAD 0; + fixed: 1 0; + align: 1.0 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; to: "elm.text"; } + rel2 { relative: 0.0 1.0; to: "elm.text"; } + } + } + part { + name: "elm.image.bg"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "elm.rect.left.pad"; + rel2.to: "elm.rect.right.pad"; + image { + normal: "07_message_bubble_sentmessage.png"; + border: 11 1 7 12; + border_scale: 1; + } + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: BLOCK_HANDLE; + //cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source2: "elm/entry/selection/block_handle"; // block handle + source3: "elm/entry/selection/block_handle_top"; // block handle + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; } + text { + style: "entry_textblock_style_charwrap"; + min: 0 1; + max: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_charwrap"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + diff --git a/themes/groups/genlist/genlist_group_title.edc b/themes/groups/genlist/genlist_group_title.edc index 4eb6d89..88932c7 100644 --- a/themes/groups/genlist/genlist_group_title.edc +++ b/themes/groups/genlist/genlist_group_title.edc @@ -29,10 +29,8 @@ group { name: "elm/genlist/item/grouptitle/default"; alias: "elm/genlist/item_odd/grouptitle/default"; - alias: "elm/genlist/item/group_title/default"; - alias: "elm/genlist/item_odd/group_title/default"; - alias: "elm/genlist/item_compress/group_title/default"; - alias: "elm/genlist/item_compress_odd/group_title/default"; + alias: "elm/genlist/item_compress/grouptitle/default"; + alias: "elm/genlist/item_compress_odd/grouptitle/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; @@ -107,8 +105,8 @@ } } - group { name: "elm/genlist/item/group_title_left/default"; - alias: "elm/genlist/item_odd/group_title_left/default"; + group { name: "elm/genlist/item/grouptitle.left/default"; + alias: "elm/genlist/item_odd/grouptitle.left/default"; data.item: "stacking" "above"; data.item: "icons" "elm.icon"; @@ -182,10 +180,91 @@ } } - group { name : "elm/genlist/item/dialogue_group_title/default"; - alias: "elm/genlist/item_odd/dialogue_group_title/default"; - alias: "elm/genlist/item_compress/dialogue_group_title/default"; - alias: "elm/genlist/item_compress_odd/dialogue_group_title/default"; + group { name : "elm/genlist/item/grouptitle.readmessage/default"; + alias: "elm/genlist/item_odd/grouptitle.readmessage/default"; + alias: "elm/genlist/item_compress/grouptitle.readmessage/default"; + alias: "elm/genlist/item_compress_odd/grouptitle.readmessage/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "labels" "elm.text"; + data.item: "treesize" "20"; + + parts { + BEAT_GENLIST_PART_DIALOGUE_BASE( 30 ) + BEAT_GENLIST_PART_PADDING_LEFT( 15 ) + BEAT_GENLIST_PART_DIALOGUE_PADDING_RIGHT( 15 ) + + part { name: "elm.text"; + type: TEXT; + 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: 76 75 73 255; + text { + font: "SLP:style=Medium"; + size: 18; + min: 0 1; + align: 0.0 0.5; + } + } + } + } + programs { + } + } + group { name : "elm/genlist/item/grouptitle.sentmessage/default"; + alias: "elm/genlist/item_odd/grouptitle.sentmessage/default"; + alias: "elm/genlist/item_compress/grouptitle.sentmessage/default"; + alias: "elm/genlist/item_compress_odd/grouptitle.sentmessage/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "labels" "elm.text"; + data.item: "treesize" "20"; + + parts { + BEAT_GENLIST_PART_DIALOGUE_BASE( 30 ) + BEAT_GENLIST_PART_PADDING_LEFT( 15 ) + BEAT_GENLIST_PART_DIALOGUE_PADDING_RIGHT( 15 ) + + part { name: "elm.text"; + type: TEXT; + 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: 76 75 73 255; + text { + font: "SLP:style=Medium"; + size: 18; + min: 0 1; + align: 1.0 0.5; + } + } + } + } + programs { + } + } + + group { name : "elm/genlist/item/grouptitle.dialogue/default"; + alias: "elm/genlist/item_odd/grouptitle.dialogue/default"; + alias: "elm/genlist/item_compress/grouptitle.dialogue/default"; + alias: "elm/genlist/item_compress_odd/grouptitle.dialogue/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; @@ -212,7 +291,7 @@ text { font: "SLP:style=Medium"; size: 18; - min: 1 1; + min: 0 1; align: 0.0 0.0; } } @@ -246,10 +325,10 @@ } } } - group { name : "elm/genlist/item/dialogue_group_seperator/default"; - alias: "elm/genlist/item_odd/dialogue_group_seperator/default"; - alias: "elm/genlist/item_compress/dialogue_group_seperator/default"; - alias: "elm/genlist/item_compress_odd/dialogue_group_seperator/default"; + group { name : "elm/genlist/item/grouptitle.dialogue.seperator/default"; + alias: "elm/genlist/item_odd/grouptitle.dialogue.seperator/default"; + alias: "elm/genlist/item_compress/grouptitle.dialogue.seperator/default"; + alias: "elm/genlist/item_compress_odd/grouptitle.dialogue.seperator/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; diff --git a/themes/groups/genlist/genlist_styles.edc b/themes/groups/genlist/genlist_styles.edc index 34637bc..52a7c96 100644 --- a/themes/groups/genlist/genlist_styles.edc +++ b/themes/groups/genlist/genlist_styles.edc @@ -4600,19 +4600,282 @@ } } - group { name : "elm/genlist/item/dialogue.pad/default"; - alias: "elm/genlist/item_odd/dialogue.pad/default"; - alias: "elm/genlist/item_compress/dialogue.pad/default"; - alias: "elm/genlist/item_compress_odd/dialogue.pad/default"; + group { name: "elm/genlist/item/readmessage/default"; + alias: "elm/genlist/item_odd/readmessage/default"; + alias: "elm/genlist/item_compress/readmessage/default"; + alias: "elm/genlist/item_compress_odd/readmessage/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; - data.item: "treesize" "20"; - + data.item: "icons" "elm.icon"; parts { - BEAT_GENLIST_PART_DIALOGUE_BASE( 10 ) + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 242 238 233 255; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 380 0; + fixed: 1 0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + BEAT_GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + /*program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + 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"; + } } } + group { name: "elm/genlist/item/readmessage.withpad/default"; + alias: "elm/genlist/item_odd/readmessage.withpad/default"; + alias: "elm/genlist/item_compress/readmessage.withpad/default"; + alias: "elm/genlist/item_compress_odd/readmessage.withpad/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "icons" "elm.icon"; + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 242 238 233 255; + } + } + part { name: "elm.rect.top.pad"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 15; + fixed: 0 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 380 0; + fixed: 1 0; + align: 0.0 0.0; + rel1 { relative: 0.0 1.0; to_y: "elm.rect.top.pad"; } + rel2.relative: 0.0 1.0; + } + } + BEAT_GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + /*program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + 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"; + } + } + } + + group { name: "elm/genlist/item/sentmessage/default"; + alias: "elm/genlist/item_odd/sentmessage/default"; + alias: "elm/genlist/item_compress/sentmessage/default"; + alias: "elm/genlist/item_compress_odd/sentmessage/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "icons" "elm.icon"; + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 242 238 233 255; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 380 0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + } + BEAT_GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + /*program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + 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"; + } + } + } + group { name: "elm/genlist/item/sentmessage.withpad/default"; + alias: "elm/genlist/item_odd/sentmessage.withpad/default"; + alias: "elm/genlist/item_compress/sentmessage.withpad/default"; + alias: "elm/genlist/item_compress_odd/sentmessage.withpad/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "icons" "elm.icon"; + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 242 238 233 255; + } + } + part { name: "elm.rect.top.pad"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 15; + fixed: 0 1; + align: 0.0 0.0; + color: 0 0 0 0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 380 0; + fixed: 1 0; + align: 1.0 0.0; + rel1 { relative: 1.0 1.0; to_y: "elm.rect.top.pad"; } + rel2.relative: 1.0 1.0; + } + } + BEAT_GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + /*program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + 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"; + } + } + } + group { name: "elm/genlist/item/dialogue.1text/default"; alias: "elm/genlist/item_odd/dialogue.1text/default"; alias: "elm/genlist/item_compress/dialogue.1text/default"; @@ -5465,7 +5728,8 @@ fixed: 0 1; color: GENLIST_PART_BOTTOM_LINE_INC; rel1 { - relative: 1.0 1.0; + //relative: 1.0 0.0; + relative: 0.0 1.0; to_x: "elm.base.text"; } rel2.relative: 1.0 1.0; @@ -5768,3 +6032,139 @@ } } } + group { name: "elm/genlist/item/dialogue.3icon.2/default"; + alias: "elm/genlist/item_odd/dialogue.3icon.2/default"; + alias: "elm/genlist/item_compress/dialogue.3icon.2/default"; + alias: "elm/genlist/item_compress_odd/dialogue.3icon.2/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "icons" "elm.icon.1 elm.icon.2 elm.icon.3"; + + parts { + BEAT_GENLIST_PART_DIALOGUE_BASE( 56 ) + BEAT_GENLIST_PART_PADDING_LEFT( 10 ) + BEAT_GENLIST_PART_PADDING_TOP( 10 ) + BEAT_GENLIST_PART_DIALOGUE_PADDING_RIGHT( 10 ) + part { name: "elm.icon.1"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + min: 146 0; + fixed: 1 0; + 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"; + } + align: 1.0 0.5; + } + } + part { name: "elm.padding.icon.1.left"; + clip_to: "disclip"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + fixed: 1 0; + rel1.to_x: "elm.icon.1"; + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.1"; + } + visible: 0; + align: 1.0 0.5; + } + } + part { name: "elm.icon.2"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + min: 146 0; + fixed: 1 0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.icon.1.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.icon.1.left"; + } + align: 1.0 0.5; + } + } + part { name: "elm.padding.icon.2.left"; + clip_to: "disclip"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + fixed: 1 0; + rel1.to_x: "elm.icon.2"; + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.2"; + } + visible: 0; + align: 1.0 0.5; + } + } + part { name: "elm.icon.3"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + min: 146 0; + fixed: 1 0; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.icon.2.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.icon.2.left"; + } + align: 1.0 0.5; + } + } + BEAT_GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "go_editing"; + signal: "elm,state,editing"; + source: "elm"; + action: STATE_SET "editing" 0.0; + target: "elm.padding.right"; + } + program { name: "go_viewing"; + signal: "elm,state,viewing"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.padding.right"; + } + } + } -- 2.7.4