4 * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
6 * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
7 * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
8 * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
10 * This library is free software; you can redistribute it and/or modify it under
11 * the terms of the GNU Lesser General Public License as published by the
12 * Free Software Foundation; either version 2.1 of the License, or (at your option)
15 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
16 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 * License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this library; if not, write to the Free Software Foundation, Inc., 51
22 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30 group { name: "elm/genlist/item/slide2/default";
31 alias: "elm/genlist/item_odd/slide2/default";
33 data.item: "stacking" "above";
34 data.item: "selectraise" "on";
35 data.item: "labels" "elm.slide_base.text";
36 data.item: "icons" "";
37 data.item: "sweep_labels" "elm.base.text";
38 data.item: "sweep_icons" "elm.base.swallow.button1 elm.base.swallow.button2";
39 data.item: "treesize" "20";
40 data.item: "allow_slide" "1";
43 image: "00_sweep_list_bg.png" COMP;
47 // Base parts when slide right.
51 description { state: "default" 0.0;
53 image.normal: "00_sweep_list_bg.png";
56 part { name: "bottom_line";
60 description { state: "default" 0.0;
64 color: 212 212 212 255;
73 part { name: "base.padding.left";
78 description { state: "default" 0.0;
89 part { name: "base.padding.right";
94 description { state: "default" 0.0;
105 part { name: "base.padding.bottom";
110 description { state: "default" 0.0;
125 part { name: "elm.base.text";
130 description { state: "default" 0.0;
136 to_x: "base.padding.left";
141 to_x: "base.padding.right";
144 color: 255 255 255 255;
146 font: "SLP:style=Roman";
153 part { name: "base.padding.center";
158 description { state: "default" 0.0;
173 part { name: "elm.base.swallow.button1";
176 description { state: "default" 0.0;
179 to_x: "base.padding.left";
180 to_y: "elm.base.text";
184 to_x: "base.padding.center";
185 to_y: "base.padding.bottom";
189 part { name: "elm.base.swallow.button2";
192 description { state: "default" 0.0;
195 to_x: "base.padding.center";
196 to_y: "elm.base.text";
200 to_x: "base.padding.right";
201 to_y: "base.padding.bottom";
206 // Transparent part between base parts and slidable parts.
207 part { name: "elm.between.layer";
211 description { state: "default" 0.0;
216 description { state: "repeat_events" 0.0;
217 inherit: "default" 0.0;
223 part { name: "slide_base";
227 description { state: "default" 0.0;
228 color: 246 245 237 255;
232 description { state: "hide" 0.0;
233 inherit: "default" 0.0;
234 rel1 { relative: 0.025 0.0; }
235 rel2 { relative: 1.025 1.0; }
237 description { state: "hide" 0.1;
238 inherit: "default" 0.0;
239 rel1 { relative: 0.13 0.0; }
240 rel2 { relative: 1.13 1.0; }
242 description { state: "hide" 0.2;
243 inherit: "default" 0.0;
244 rel1 { relative: 0.5 0.0; }
245 rel2 { relative: 1.5 1.0; }
247 description { state: "hide" 0.3;
248 inherit: "default" 0.0;
249 rel1 { relative: 1.0 0.0; }
250 rel2 { relative: 2.0 1.0; }
253 part { name: "slide_base.bg_image";
256 description { state: "default" 0.0;
258 rel1.to: "slide_base";
259 rel2.to: "slide_base";
260 color: GENLIST_PART_BG_SELECTED_COLOR_INC;
262 description { state: "selected" 0.0;
263 inherit: "default" 0.0;
267 part { name: "slide_bottom_line";
271 description { state: "default" 0.0;
275 color: 212 212 212 255;
281 rel2.to: "slide_base";
284 part { name: "slide_base.padding.left";
289 description { state: "default" 0.0;
293 rel1.to: "slide_base";
300 part { name: "slide_base.padding.right";
305 description { state: "default" 0.0;
313 rel2.to: "slide_base";
316 part { name: "elm.slide_base.text";
320 description { state: "default" 0.0;
324 to_x: "slide_base.padding.left";
329 to_x: "slide_base.padding.right";
334 font: "SLP:style=Roman";
340 description { state: "selected" 0.0;
341 inherit: "default" 0.0;
342 color: 225 225 225 255;
345 part { name: "disclip";
347 description { state: "default" 0.0;
351 description { state: "disabled" 0.0;
352 inherit: "default" 0.0;
353 color: 255 255 255 64;
360 program { name: "go_active";
361 signal: "elm,state,selected";
363 action: STATE_SET "selected" 0.0;
364 target: "elm.slide_base.text";
365 target: "slide_base.bg_image";
367 program { name: "go_passive";
368 signal: "elm,state,unselected";
370 action: STATE_SET "default" 0.0;
371 target: "elm.slide_base.text";
372 target: "slide_base.bg_image";
373 transition: LINEAR 0.1;
375 program { name: "go_disabled";
376 signal: "elm,state,disabled";
378 action: STATE_SET "disabled" 0.0;
381 program { name: "go_enabled";
382 signal: "elm,state,enabled";
384 action: STATE_SET "default" 0.0;
389 program { name: "go_slide_right";
390 signal: "elm,state,slide,right";
392 action: STATE_SET "hide" 0.0;
393 target: "slide_base";
394 after: "slide_right_step1";
396 program { name: "slide_right_step1";
397 action: STATE_SET "hide" 0.1;
398 target: "slide_base";
399 transition: LINEAR 0.3;
400 after: "slide_right_step2";
402 program { name: "slide_right_step2";
403 action: STATE_SET "hide" 0.2;
404 target: "slide_base";
405 transition: LINEAR 0.3;
406 after: "slide_right_step3";
408 program { name: "slide_right_step3";
409 action: STATE_SET "hide" 0.3;
410 target: "slide_base";
411 transition: LINEAR 0.3;
412 after: "slide_right_step4";
414 program { name: "slide_right_step4";
415 action: STATE_SET "repeat_events" 0.0;
416 target: "elm.between.layer";
420 program { name: "go_slide_left";
421 signal: "elm,state,slide,left";
423 action: STATE_SET "hide" 0.3;
424 target: "slide_base";
425 after: "slide_left_step1";
427 program { name: "slide_left_step1";
428 action: STATE_SET "default" 0.0;
429 target: "elm.between.layer";
430 after: "slide_left_step2";
432 program { name: "slide_left_step2";
433 action: STATE_SET "hide" 0.2;
434 target: "slide_base";
435 transition: LINEAR 0.3;
436 after: "slide_left_step3";
438 program { name: "slide_left_step3";
439 action: STATE_SET "hide" 0.1;
440 target: "slide_base";
441 transition: LINEAR 0.3;
442 after: "slide_left_step4";
444 program { name: "slide_left_step4";
445 action: STATE_SET "hide" 0.0;
446 target: "slide_base";
447 transition: LINEAR 0.3;
448 after: "slide_left_step5";
450 program { name: "slide_left_step5";
451 action: STATE_SET "default" 0.0;
452 target: "slide_base";
453 transition: LINEAR 0.3;
454 after: "slide_left_finish";
456 program { name: "slide_left_finish";
457 action: SIGNAL_EMIT "elm,action,sweep,left,finish" "elm";