2 name: "elm/index/item/horizontal/pagecontrol";
3 alias: "elm/index/item_odd/horizontal/pagecontrol";
5 image: "whitetheme/index_pagecontrol_bar_bg0.png" COMP;
6 image: "whitetheme/index_pagecontrol_bar_bg1.png" COMP;
12 description { state: "default" 0.0;
13 min: INDEX_PAGECONTROL_IND_INC;
14 max: INDEX_PAGECONTROL_IND_INC;
19 part { name: "indicator1";
22 description { state: "default" 0.0;
28 normal: "whitetheme/index_pagecontrol_bar_bg0.png";
31 description { state: "active" 0.0;
32 inherit: "default" 0.0;
36 part { name: "indicator2";
39 description { state: "default" 0.0;
42 min: INDEX_PAGECONTROL_IND_MIN_INC;
43 max: INDEX_PAGECONTROL_IND_MIN_INC;
44 image.normal: "whitetheme/index_pagecontrol_bar_bg1.png";
47 description { state: "active" 0.0;
48 inherit: "default" 0.0;
49 min: INDEX_PAGECONTROL_IND_INC;
50 max: INDEX_PAGECONTROL_IND_INC;
54 part { name: "elm.text";
58 description { state: "default" 0.0;
60 color: INDEX_PAGECONTROL_FONT_COLOR_INC 0;
63 font: "Tizen:style=Medium";
64 size: INDEX_PAGECONTROL_FONT_SIZE_INC;
69 rel1 { to: "indicator2"; }
70 rel2 { to: "indicator2"; }
72 description { state: "active" 0.0;
73 inherit: "default" 0.0;
74 color: INDEX_PAGECONTROL_FONT_COLOR_INC 255;
79 program { name: "active";
80 signal: "elm,state,active";
82 action: STATE_SET "active" 0.0;
86 transition: LINEAR 0.2;
88 program { name: "inactive";
89 signal: "elm,state,inactive";
91 action: STATE_SET "default" 0.0;
95 transition: LINEAR 0.2;
100 group { name: "elm/index/base/horizontal/default";
103 public index_hide_timer(val) {
104 if (get_int(timer_flag) == 1)
105 run_program(PROGRAM:"index0.inactive");
110 image: "whitetheme/index_scroll_popup_bg.png" COMP;
113 item: "min_obj_height" "32";
114 item: "min_1st_level_obj_height" "32";
115 item: "special_char" "*";
122 description { state: "default" 0.0;
124 color: 255 255 255 0;
126 description { state: "active" 0.0;
128 color: 255 255 255 255;
131 part { name: "clip2";
136 description { state: "default" 0.0;
138 color: 255 255 255 0;
140 description { state: "active" 0.0;
142 color: 255 255 255 255;
145 part { name: "elm.dragable.index.1";
152 confine: "elm.swallow.index.0";
154 description { state: "default" 0.0;
160 to: "elm.swallow.index.0";
165 to: "elm.swallow.index.0";
169 part { name: "elm.swallow.index.1.padding.right";
172 description { state: "default" 0.0;
173 min: 0 INDEX_LEVEL_PADDING_INC;
186 part { name: "elm.swallow.index.1";
190 description { state: "default" 0.0;
194 to_y: "elm.dragable.index.1";
199 to_y: "elm.dragable.index.1";
203 color: 255 255 255 0;
205 description { state: "active" 0.0;
206 inherit: "default" 0.0;
209 to_x: "elm.swallow.index.1.padding.right";
214 to_x: "elm.swallow.index.1.padding.right";
218 color: 255 255 255 255;
221 part { name: "elm.swallow.index.0";
225 description { state: "default" 0.0;
237 color: 255 255 255 50;
239 description { state: "active" 0.0;
240 inherit: "default" 0.0;
241 color: 255 255 255 255;
244 part { name: "button_image_padding";
249 description { state: "default" 0.0;
264 part { name: "button_image";
267 description { state: "default" 0.0;
269 min: INDEX_POPUP_HEIGHT_INC INDEX_POPUP_HEIGHT_INC;
280 normal: "whitetheme/index_scroll_popup_bg.png";
281 border: INDEX_POPUP_BG_NINEPATCH_INC;
286 description { state: "invisible" 0.0;
287 inherit: "default" 0.0;
290 description { state: "index1" 0.0;
291 inherit: "default" 0.0;
292 min: INDEX_POPUP_HEIGHT_INC INDEX_POPUP_HEIGHT_INC;
294 description { state: "active" 0.0;
295 inherit: "default" 0.0;
299 part { name: "elm.text";
304 description { state: "default" 0.0;
310 to_y: "button_image_padding";
314 to_y: "button_image_padding";
317 color: INDEX_POPUP_TEXT_COLOR_INC;
320 font: "Tizen:style=Bold";
321 size: INDEX_POPUP_TEXT_SIZE_INC;
325 description { state: "active" 0.0;
326 inherit: "default" 0.0;
330 part { name: "elm.dragable.pointer";
339 description { state: "default" 0.0;
354 part { name: "elm.swallow.event.0.bottom.padding";
357 description { state: "default" 0.0;
362 relative: 1.0 1.0; offset: 0 0;
366 part { name: "elm.swallow.event.0";
369 description { state: "default" 0.0;
379 to_y: "elm.swallow.event.0.bottom.padding";
384 part { name: "elm.swallow.event.1";
387 description { state: "default" 0.0;
391 to: "elm.swallow.index.1";
396 to: "elm.swallow.index.1";
404 program { name: "load";
408 run_program(PROGRAM:"initial.index0.active");
409 run_program(PROGRAM:"button.image.hidden");
410 timer(2.0, "index_hide_timer", 0);
413 program { name: "drag2";
415 source: "elm.dragable.index.1";
419 get_drag(PART:"elm.dragable.index.1", dx, dy);
420 custom_state(PART:"elm.dragable.index.1", "default", 0.0);
421 set_state_val(PART:"elm.dragable.index.1", STATE_ALIGNMENT, 0.5, dy);
424 program { name: "index0.active";
425 signal: "elm,state,active";
427 action: STATE_SET "active" 0.0;
428 transition: DECELERATE 0.3;
429 target: "elm.swallow.index.0";
431 after: "disable_timer";
433 program { name: "initial.index0.active";
434 action: STATE_SET "active" 0.0;
435 transition: DECELERATE 0.3;
436 target: "elm.swallow.index.0";
438 after: "enable_timer";
440 program { name: "index0.inactive";
441 signal: "elm,state,inactive";
443 action: STATE_SET "default" 0.0;
444 transition: DECELERATE 0.3;
445 target: "elm.swallow.index.0";
448 program { name: "index1.inactive";
449 signal: "elm,state,level,0";
451 action: STATE_SET "default" 0.0;
452 transition: DECELERATE 0.3;
453 target: "elm.swallow.index.1";
456 program { name: "index1.active";
457 signal: "elm,state,level,1";
459 action: STATE_SET "active" 0.0;
460 transition: DECELERATE 0.3;
461 target: "elm.swallow.index.1";
464 program { name: "index.active";
465 signal: "elm,indicator,state,active";
467 action: STATE_SET "active" 0.0;
468 transition: DECELERATE 0.5;
470 target: "elm.swallow.index.0";
473 target: "button_image";
475 program { name: "index.inactive";
476 signal: "elm,indicator,state,inactive";
478 action: STATE_SET "default" 0.0;
479 transition: DECELERATE 0.5;
482 program { name: "button.image.hidden";
483 signal: "elm,state,button,image,hide";
485 action: STATE_SET "invisible" 0.0;
486 target: "button_image";
488 program { name: "disable_timer";
490 set_int(timer_flag, 0);
493 program { name: "enable_timer";
495 set_int(timer_flag, 1);
501 group { name: "elm/index/item/horizontal/default";
502 alias: "elm/index/item_odd/horizontal/default";
503 data.item: "stacking" "above";
504 data.item: "selectraise" "on";
506 image: "whitetheme/index_rollover_bg_h.png" COMP;
509 part { name: "scroll.bg";
514 state: "default" 0.0;
518 color: INDEX_SCROLL_BG_COLOR_INC;
521 part { name: "top.line";
525 description { state: "default" 0.0;
535 color: INDEX_LEFT_LINE_COLOR_INC;
537 description { state: "active" 0.0;
538 inherit: "default" 0.0;
545 color: INDEX_SCROLL_BG_COLOR_INC;
548 part { name: "elm.padding.left.line.top";
551 description { state: "default" 0.0;
563 part { name: "elm.padding.left.line.bottom";
566 description { state: "default" 0.0;
578 part { name: "left.line";
581 description { state: "default" 0.0;
583 to: "elm.padding.left.line.top";
587 to: "elm.padding.left.line.bottom";
590 color: INDEX_BOTTOM_LINE_COLOR_INC;
593 part { name: "elm.padding.item.left";
596 description { state: "default" 0.0;
598 min: INDEX_HORIZONTAL_ITEM_WIDTH_INC INDEX_HORIZONTAL_ITEM_HEIGHT_INC-4;
608 part { name: "elm.padding.item.right";
611 description { state: "default" 0.0;
613 min: INDEX_HORIZONTAL_ITEM_WIDTH_INC INDEX_HORIZONTAL_ITEM_HEIGHT_INC-4;
623 part { name: "item.bg";
626 description { state: "default" 0.0;
629 to: "elm.padding.item.left";
633 to: "elm.padding.item.right";
637 normal: "whitetheme/index_rollover_bg_h.png";
638 border: INDEX_BG_NINEPATCH_INC;
642 description { state: "active" 0.0;
643 inherit: "default" 0.0;
647 part { name: "elm.text";
651 description { state: "default" 0.0;
652 min: INDEX_HORIZONTAL_ITEM_WIDTH_INC INDEX_HORIZONTAL_ITEM_HEIGHT_INC;
660 color: INDEX_ROLLOVER_TEXT_COLOR_INC;
662 font: "Tizen:style=Medium";
663 size: INDEX_ROLLOVER_TEXT_SIZE_INC;
669 description { state: "active" 0.0;
670 inherit: "default" 0.0;
671 color: INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC;
676 program { name: "active";
677 signal: "elm,state,active";
679 action: STATE_SET "active" 0.0;
680 transition: DECELERATE 0.0;
685 program { name: "inactive";
686 signal: "elm,state,inactive";
688 action: STATE_SET "default" 0.0;
689 transition: DECELERATE 0.0;