/* * 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. */ #include "ug-picker-efl_macro.edc" collections { BUTTON(done, "00_picker_btn_normal.png", "00_picker_btn_press.png", 4, 4, 4, 4); BUTTON(prev, "00_picker_btn_normal.png", "00_picker_btn_press.png", 4, 4, 4, 4); BUTTON(next, "00_picker_btn_normal.png", "00_picker_btn_press.png", 4, 4, 4, 4); group { name: "elm/genlist/item/ug-picker-efl/1line_textonly/default"; alias: "elm/genlist/item_odd/ug-picker-efl/1line_textonly/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.text"; images { image: "images/00_list_bar_press_1x80.png" COMP; } parts { BEAT_GENLIST_PART_BASE( 105 ) BEAT_GENLIST_PART_BG_IMAGE BEAT_GENLIST_PART_BOTTOM_LINE BEAT_GENLIST_PART_PADDING_LEFT( 16 ) BEAT_GENLIST_PART_PADDING_RIGHT( 16 ) part { name: "elm.text"; clip_to: "disclip"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; } rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.right"; } color: 16 16 16 255; text { font: FONT_ROM; size: 42; min: 0 1; align: 0.0 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; // color: 225 225 225 255; } } 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"; target: "elm.text"; } program { name: "go_passive"; signal: "elm,state,unselected"; source: "elm"; action: STATE_SET "default" 0.0; target: "bg_image"; 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"; } } } }