tizen 2.4 release
[apps/home/ug-lockscreen-setting-efl.git] / ug-lockscreen-setting-efl / res / edje / lockscreen-options-theme / lockscreen-options-theme-editfield.edc
1 /*
2  * Copyright (c) 2009 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18
19 #include "genlist_macro.edc"
20
21 group {
22         name: "elm/layout/item/editfield/lockscreen-options";
23
24         GENLIST_PROLOG_NORMAL
25         images {
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;
29         }
30
31         data.item: "contents" "elm.icon.entry elm.icon.eraser";
32
33         parts {
34                 GENLIST_PART_BASE
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)
41
42                 GENLIST_PART_ICON("elm.icon.entry",
43                         GENLIST_DESCRIPTION(
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.
47                         )
48                 )
49                 GENLIST_PART_IMAGE("elm.image.rename",
50                         mouse_events: 0;
51                         GENLIST_DESCRIPTION_ENVELOP("elm.icon.eraser",
52                                 fixed: 1 0;
53                                 visible: 1;
54                                 min: 0 0;
55                                 max: 0 0;
56                                 color: GENLIST_ENTRY_RENAME_COLOR;
57                         )
58                         description { state: "hide" 0.0;
59                                 inherit: "default" 0.0;
60                                 visible: 0;
61                         }
62                 )
63                 GENLIST_PART_ICON("elm.icon.eraser",
64                         GENLIST_DESCRIPTION_RTB("elm.padding.right",
65                                 "elm.padding.top", "elm.padding.bottom",
66                                 fixed: 1 0;
67                                 visible: 0;
68                                 min: 0 0;
69                                 max: 0 0;
70                         )
71                         description { state: "show" 0.0;
72                                 inherit: "default" 0.0;
73                                 visible: 1;
74                         }
75                 )
76                 GENLIST_PART_FLIP
77                 GENLIST_PART_FOCUS
78         }
79         GENLIST_PROGRAMS_NORMAL( target: "elm.icon.entry"; target: "elm.image.rename"; )
80         GENLIST_PROGRAMS_ENTRY
81 }
82
83 group {
84         name: "elm/layout/dialogue/editfield/lockscreen-options";
85         inherit: "elm/layout/item/editfield/lockscreen-options";
86
87         GENLIST_PROLOG_DIALOGUE
88
89         data.item: "contents" "elm.icon.entry elm.image.rename elm.icon.eraser elm.icon.edit";
90
91         GENLIST_DIALOGUE_INHERIT_BODY( ; )
92         GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon.entry"; target: "elm.image.rename"; target: "elm.icon.edit";)
93 }