2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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.
17 #include "page_edit_util.edc"
18 #include "../../inc/conf.h"
21 image: "../images/btn_delete_nor.png" COMP;
22 image: "../images/btn_delete_press.png" COMP;
23 image: "../images/edit_all_page_drag.png" COMP;
24 image: "../images/edit_all_page_bg.png" COMP;
25 image: "../images/edit_all_page_create.png" COMP;
32 name: GROUP_ALL_PAGES;
41 rel1 { relative: 0.0 0.0;}
42 rel2 { relative: 1.0 1.0;}
52 rel1 { relative: 0.0 0.0; to:"base";}
53 rel2 { relative: 1.0 1.0; to:"base";}
58 name: PART_LAYOUT_CONTENT;
59 type: SWALLOW; //gengrid swallow
63 rel1 { relative: 0.0 0.0; to:"base";}
64 rel2 { relative: 1.0 1.0; to:"base";}
71 name: GROUP_GRID_ITEM;
79 rel1 {relative: 0.0 0.0;}
80 rel2 {relative: 1.0 1.0;}
85 name: PART_GRID_ITEM_CONTENT;
89 rel1 {relative: 0.0 0.0; to: "base";}
90 rel2 {relative: 1.0 1.0; to: "base";}
107 state: "default" 0.0;
108 rel1 {relative: 0.0 0.0;}
109 rel2 {relative: 1.0 1.0;}
118 state: "default" 0.0;
119 rel1 {relative: 0.0 0.0; to: PART_THUMB_CONTENT;}
120 rel2 {relative: 1.0 1.0; to: PART_THUMB_CONTENT;}
122 normal: "../images/edit_all_page_bg.png";
128 inherit: "default" 0.0;
133 state: "reposition" 0.0;
135 rel1 {relative: -0.05 -0.05;}
136 rel2 {relative: 1.05 1.05;}
140 normal: "../images/edit_all_page_drag.png";
148 state: "default" 0.0;
149 rel1 {relative: 0.34 0.34; to: "bg";}
150 rel2 {relative: 0.67 0.67; to: "bg";}
153 normal : "../images/edit_all_page_create.png";
157 state: "visible" 0.0;
158 inherit: "default" 0.0;
164 name: PART_THUMB_CONTENT;
168 state: "default" 0.0;
169 rel1 {relative: 0.0 0.0; to: "base";}
170 rel2 {relative: 1.0 1.0; to: "base";}
174 name: "remove_button";
177 state: "default" 0.0;
178 rel1{relative: BADGE_REL1_X BADGE_REL1_Y; to: "base";}
179 rel2{relative: BADGE_REL2_X BADGE_REL2_Y; to: "base";}
182 aspect_preference: BOTH;
185 normal: "../images/btn_delete_nor.png";
190 inherit: "default" 0.0;
192 normal: "../images/btn_delete_press.png";
197 inherit: "default" 0.0;
198 color: 255 255 255 0;
208 signal: SIGNAL_BG_HIDE;
210 action: STATE_SET "hide" 0.0;
215 name: "bg_reposition";
216 signal: SIGNAL_BG_REPOSITON;
218 action: STATE_SET "reposition" 0.0;
220 transition: DECELERATE 0.2;
225 signal: SIGNAL_BG_NORMAL;
227 action: STATE_SET "default" 0.0;
229 transition: DECELERATE 0.2;
232 name: "thumbnail_clicked";
233 signal: "mouse,clicked,1";
234 source: "page_thumbnail";
235 action: SIGNAL_EMIT SIGNAL_THUMBNAIL_CLICKED SIGNAL_SOURCE;
238 name: "add_icon_show";
239 signal: SIGNAL_ADD_ICON_SHOW;
241 action: STATE_SET "visible" 0.0;
245 name: "remove_button_clicked";
246 signal: "mouse,clicked,1";
247 source: "remove_button";
248 action: SIGNAL_EMIT SIGNAL_REMOVE_BUTTON_CLICKED SIGNAL_SOURCE;
251 name: "remove_button_show";
252 signal: SIGNAL_REMOVE_BUTTON_SHOW;
254 action: STATE_SET "default" 0.0;
255 target: "remove_button";
256 transition: DECELERATE 0.20;
259 name: "remove_button_hide";
260 signal: SIGNAL_REMOVE_BUTTON_HIDE;
262 action: STATE_SET "hidden" 0.0;
263 target: "remove_button";
264 transition: DECELERATE 0.20;
267 name: "remove_button_hide_instant";
268 signal: SIGNAL_REMOVE_BUTTON_HIDE_INSTANT;
270 action: STATE_SET "hidden" 0.0;
271 target: "remove_button";
274 name: "remove_button_mouse_down";
275 signal: "mouse,down,1";
276 source: "remove_button";
277 action: STATE_SET "pressed" 0.0;
278 target: "remove_button";
279 transition: DECELERATE 0.20;
282 name: "remove_button_mouse_up";
283 signal: "mouse,up,1";
284 source: "remove_button";
285 action: STATE_SET "default" 0.0;
286 target: "remove_button";
287 transition: DECELERATE 0.20;