/* * Copyright 2012 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.tizenopensource.org/license * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ group { name: "elm/genlist/item/ivug/2text.2/default"; alias: "elm/genlist/item_odd/ivug/2text.2/default"; alias: "elm/genlist/item_compress/ivug/2text.2/default"; alias: "elm/genlist/item_compress_odd/ivug/2text.2/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.text.1 elm.text.2"; data.item: "renames" "elm.edit.rename"; images { //image: "00_list_bar_press_1x80.png" COMP; } parts { GENLIST_PART_BASE( GENLIST_HEIGHT_72_INC ) GENLIST_PART_BG_IMAGE GENLIST_PART_BOTTOM_LINE GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC ) GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC ) GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC ) GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC ) part { name: "elm.text.1"; clip_to: "disclip"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 0 GENLIST_SIZE_26_INC; fixed: 0 1; rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "elm.padding.top"; } align: 0.0 0.0; color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC; text { font: "SLP:style=Roman"; size: GENLIST_FONT_20_INC; min: 0 1; align: 0.0 0.5; text_class: "slp_roman"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: GENLIST_PART_TEXT_PRESS_COLOR_INC; } GENLIST_DESCRIPTION_FLIP_ENABLED } part { name: "elm.text.2"; clip_to: "disclip"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.text.1"; } rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; } align: 0.0 0.0; color: GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC; text { font: "SLP:style=Medium"; size: GENLIST_FONT_28_INC; min: 0 1; align: 0.0 0.5; text_class: "slp_medium"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: GENLIST_PART_TEXT_PRESS_COLOR_INC; } GENLIST_DESCRIPTION_FLIP_ENABLED } GENLIST_PART_FLIP 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"; } 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"; transition: LINEAR 0.1; } program { name: "go_disabled"; signal: "elm,state,disabled"; source: "elm"; action: STATE_SET "disabled" 0.0; target: "disclip"; } program { name: "go_enabled"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default" 0.0; target: "disclip"; } GENLIST_PROGRAM_FLIP_2TEXT } } group { name: "elm/genlist/item_compress/ivug/multiline/2text.1icon/default"; alias: "elm/genlist/item_compress_odd/ivug/multiline/2text.1icon/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.text.1 elm.text.2"; data.item: "contents" "elm.icon"; parts { part { name: "base"; type: RECT; repeat_events: 1; description { state: "default" 0.0; color: GENLIST_PART_BG_COLOR_INC; } } GENLIST_PART_BG_IMAGE GENLIST_PART_BOTTOM_LINE GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC ) GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC ) GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC ) GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC ) part { name: "elm.text.1"; clip_to: "disclip"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 0 GENLIST_SIZE_26_INC; fixed: 0 1; rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } rel2 { relative: 0.0 1.0; to_x: "elm.padding.icon.left"; to_y: "elm.padding.top"; } align: 0.0 0.0; color: 160 160 160 255; //GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC; text { font: "SLP:style=Roman"; size: GENLIST_FONT_32_INC; min: 0 1; align: 0.0 0.5; text_class: "list_item"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: GENLIST_PART_TEXT_PRESS_COLOR_INC; } } part { name: "elm.icon"; 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_FLIP_ENABLED } part { name: "elm.padding.icon.left"; clip_to: "disclip"; type: RECT; scale: 1; description { state: "default" 0.0; min: GENLIST_PADDING_16_INC 0; fixed: 1 0; rel1.to_x: "elm.icon"; rel2 { relative: 0.0 1.0; to_x: "elm.icon"; } align: 1.0 0.0; visible: 0; } } part { name: "elm.text.2"; clip_to: "disclip"; type: TEXTBLOCK; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.text.1"; } rel2 { relative: 0.0 0.0; to_x: "elm.padding.icon.left"; to_y: "elm.padding.bottom"; } text { style: "genlist_textblock_sub_style"; min: 0 1; align: 0.0 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; text.style: "genlist_textblock_sub_selected_style"; } } 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"; } 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"; 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_compress/ivug/multiline/2text/default"; alias: "elm/genlist/item_compress_odd/ivug/multiline/2text/default"; alias: "elm/genlist/item_compress/ivug/multiline.2text/default"; alias: "elm/genlist/item_compress_odd/ivug/multiline.2text/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.text.1 elm.text.2"; parts { part { name: "base"; type: RECT; repeat_events: 1; description { state: "default" 0.0; color: GENLIST_PART_BG_COLOR_INC; } } GENLIST_PART_BG_IMAGE GENLIST_PART_BOTTOM_LINE GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC ) GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC ) GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC ) GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC ) part { name: "elm.text.1"; clip_to: "disclip"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 0 GENLIST_SIZE_26_INC; fixed: 0 1; rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "elm.padding.top"; } align: 0.0 0.0; color: 160 160 160 255; //GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC; text { font: "SLP:style=Roman"; size: GENLIST_FONT_32_INC; min: 0 1; align: 0.0 0.5; text_class: "list_item"; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: GENLIST_PART_TEXT_PRESS_COLOR_INC; } } part { name: "elm.text.2"; clip_to: "disclip"; type: TEXTBLOCK; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.text.1"; } rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; } text { style: "genlist_textblock_sub_style"; min: 0 1; align: 0.0 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; text.style: "genlist_textblock_sub_selected_style"; } } 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"; } 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"; 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"; } } }