diff options
Diffstat (limited to 'layout/mp-genlist-edit.edc')
-rwxr-xr-x | layout/mp-genlist-edit.edc | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/layout/mp-genlist-edit.edc b/layout/mp-genlist-edit.edc new file mode 100755 index 0000000..0ff784b --- /dev/null +++ b/layout/mp-genlist-edit.edc @@ -0,0 +1,158 @@ +/* + * 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/select_all/music/default"; + alias: "elm/genlist/item_odd/select_all/music/default"; + alias: "elm/genlist/item_compress/select_all/music/default"; + alias: "elm/genlist/item_compress_odd/select_all/music/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.icon"; + images { + image: "00_list_bar_press_1x80.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_113_INC; + color: GENLIST_EDIT_SELECT_ALL_BG_COLOR_INC; + } + } + part { name: "bg"; + type: RECT; + clip_to: "disclip"; + repeat_events: 0; + mouse_events: 0; + description { state: "default" 0.0; + color: GENLIST_EDIT_SELECT_ALL_BG_COLOR_INC; + } + } + GENLIST_PART_BG_IMAGE + GENLIST_PART_BOTTOM_LINE + GENLIST_PART_PADDING_TOP( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + + part { name: "elm.padding.icon.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_PADDING_10_INC 0; + fixed: 1 0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.icon"; + } + rel2.to_x: "elm.icon"; + align: 0.0 0.0; + } + } + part { name: "elm.icon"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC; + max: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + to_x: "elm.padding.left"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 1.0 0.0; + offset: 0 0; + to_x: "elm.padding.left"; + to_y: "elm.padding.bottom"; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + to_x: "elm.padding.icon.right"; + to_y: "elm.padding.top"; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + to_x: "elm.padding.right"; + to_y: "elm.padding.bottom"; + } + color: GENLIST_PART_TEXT_COLOR_INC; + text { + font: "SLP:style=Roman"; + size: GENLIST_FONT_44_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_PART_DISCLIP + } + programs { + 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"; + } + } + } + |