2 * Copyright (c) 2009 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include "genlist_macro.edc"
22 name: "elm/layout/item/editfield/lockscreen-options";
26 image: "editfield/00_edit_field_rename.png" COMP;
27 image: "editfield/00_focus.png" COMP;
28 image: "editfield/00_list_group_bg.png" COMP;
31 data.item: "contents" "elm.icon.entry elm.icon.eraser";
35 GENLIST_PART_BG_NORMAL
36 GENLIST_PART_BOTTOM_LINE
37 GENLIST_PART_PADDING_LEFT
38 GENLIST_PART_PADDING_RIGHT
39 GENLIST_PART_PADDING_TOP_SIZE(22)
40 GENLIST_PART_PADDING_BOTTOM_SIZE(22)
42 GENLIST_PART_ICON("elm.icon.entry",
44 "elm.padding.left", "elm.icon.eraser",
45 "elm.padding.top", "elm.padding.bottom",
46 min: 0 72; // This is tuned value for exact entry size.
49 GENLIST_PART_IMAGE("elm.image.rename",
51 GENLIST_DESCRIPTION_ENVELOP("elm.icon.eraser",
56 color: GENLIST_ENTRY_RENAME_COLOR;
58 description { state: "hide" 0.0;
59 inherit: "default" 0.0;
63 GENLIST_PART_ICON("elm.icon.eraser",
64 GENLIST_DESCRIPTION_RTB("elm.padding.right",
65 "elm.padding.top", "elm.padding.bottom",
71 description { state: "show" 0.0;
72 inherit: "default" 0.0;
79 GENLIST_PROGRAMS_NORMAL( target: "elm.icon.entry"; target: "elm.image.rename"; )
80 GENLIST_PROGRAMS_ENTRY
84 name: "elm/layout/dialogue/editfield/lockscreen-options";
85 inherit: "elm/layout/item/editfield/lockscreen-options";
87 GENLIST_PROLOG_DIALOGUE
89 data.item: "contents" "elm.icon.entry elm.image.rename elm.icon.eraser elm.icon.edit";
91 GENLIST_DIALOGUE_INHERIT_BODY( ; )
92 GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon.entry"; target: "elm.image.rename"; target: "elm.icon.edit";)