From: Jaehwan Kim Date: Mon, 10 Oct 2011 13:19:41 +0000 (+0900) Subject: [genlist] add the style 3text.3icon X-Git-Tag: 2.0_alpha~484^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73a1a8ef848cf3776d0c152c0535ae459e5f19b1;p=framework%2Fuifw%2Fefl-theme-tizen.git [genlist] add the style 3text.3icon --- diff --git a/themes/groups/genlist/genlist_styles.edc b/themes/groups/genlist/genlist_styles.edc index ffead86..787ea2b 100644 --- a/themes/groups/genlist/genlist_styles.edc +++ b/themes/groups/genlist/genlist_styles.edc @@ -20956,5 +20956,286 @@ target: "disclip"; } } + } + + group { name: "elm/genlist/item/3text.3icon/default"; + alias: "elm/genlist/item_odd/3text.3icon/default"; + alias: "elm/genlist/item_compress/3text.3icon/default"; + alias: "elm/genlist/item_compress_odd/3text.3icon/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "labels" "elm.text.1 elm.text.2 elm.text.3"; + data.item: "icons" "elm.icon.1 elm.icon.2 elm.swallow.progress"; + data.item: "renames" "elm.edit.rename"; + images { + image: "00_list_bar_press_1x80.png" COMP; + } + parts { + GENLIST_PART_BASE( GENLIST_HEIGHT_81_INC ) + GENLIST_PART_BG_IMAGE + GENLIST_PART_BOTTOM_LINE + GENLIST_PART_PADDING_TOP( GENLIST_PADDING_6_INC ) + GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_6_INC ) + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC ) + part { name: "elm.icon.1"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_40_INC GENLIST_SIZE_40_INC; + max: GENLIST_SIZE_40_INC GENLIST_SIZE_40_INC; + fixed: 1 1; + 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"; + } + align: 0.0 0.5; + } + GENLIST_DESCRIPTION_RENAME_ENABLED + } + part { name: "elm.padding.icon1.right"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_10_INC 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.icon.1"; + } + rel2.to_x: "elm.icon.1"; + align: 0.0 0.0; + visible: 0; + } + } + part { name: "elm.icon.2"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + align: 1.0 0.5; + } + GENLIST_DESCRIPTION_RENAME_ENABLED + } + part { name: "elm.padding.icon2.left"; + clip_to: "disclip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_10_INC 0; + fixed: 1 0; + rel1.to_x: "elm.icon.2"; + rel2 { + relative: 0.0 1.0; + to_x: "elm.icon.2"; + } + align: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.text.1"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_38_INC; + fixed: 0 1; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.icon1.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.icon2.left"; + to_y: "elm.padding.top"; + } + align: 0 0; + color: GENLIST_PART_TEXT_COLOR_INC; + text { + font: "SLP:style=Roman"; + size: GENLIST_FONT_28_INC; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; + } + GENLIST_DESCRIPTION_RENAME_ENABLED + } + part { name: "elm.swallow.progress"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon1.right"; + to_y: "elm.text.1"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.padding.icon2.left"; + to_y: "elm.text.2"; + } + align: 0.5 0.5; + } + GENLIST_DESCRIPTION_RENAME_ENABLED + } + part { name: "elm.text.2"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_30_INC; + fixed: 0 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon1.right"; + to_y: "elm.padding.bottom"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.icon2.left"; + to_y: "elm.padding.bottom"; + } + align: 0 1; + color: GENLIST_PART_SUB_TEXT_COLOR_INC; + text { + font: "SLP:style=Roman"; + size: GENLIST_FONT_20_INC; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; + } + GENLIST_DESCRIPTION_RENAME_ENABLED + } + part { name: "elm.text.3"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_SIZE_30_INC; + fixed: 0 1; + rel1 { + relative: 1.0 1.0; + to_x: "elm.padding.icon1.right"; + to_y: "elm.padding.bottom"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.icon2.left"; + to_y: "elm.padding.bottom"; + } + align: 1 1; + color: GENLIST_PART_SUB_TEXT_COLOR_INC; + text { + font: "SLP:style=Roman"; + size: GENLIST_FONT_20_INC; + min: 0 1; + align: 1.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: GENLIST_PART_TEXT_SELECTED_COLOR_INC; + } + GENLIST_DESCRIPTION_RENAME_ENABLED + } + GENLIST_PART_RENAME + GENLIST_PART_DISCLIP + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg_image"; + target: "elm.text.1"; + target: "elm.text.2"; + target: "elm.text.3"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg_image"; + target: "elm.text.1"; + target: "elm.text.2"; + target: "elm.text.3"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "rename_enabled"; + signal: "elm,state,rename,enabled"; + source: "elm"; + action: STATE_SET "rename_enabled" 0.0; + target: "elm.text.1"; + target: "elm.text.2"; + target: "elm.text.3"; + target: "elm.icon.1"; + target: "elm.icon.2"; + target: "elm.swallow.progress"; + target: "elm.edit.rename"; + } + program { name: "rename_disabled"; + signal: "elm,state,rename,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.1"; + target: "elm.text.2"; + target: "elm.text.3"; + target: "elm.icon.1"; + target: "elm.icon.2"; + target: "elm.swallow.progress"; + target: "elm.edit.rename"; + } + } } + ////////////////////////////////////////////////////////