group {
name: "elm/panes/vertical/default";
images {
- image: "arrow_right.png" COMP;
- image: "arrow_left.png" COMP;
image: "00_splitscreen_handler_top.png" COMP;
+ image: "00_splitscreen_handler_top_press.png" COMP;
image: "00_splitscreen_handler_middle.png" COMP;
+ image: "00_splitscreen_handler_middle_press.png" COMP;
image: "00_splitscreen_handler_bottom.png" COMP;
+ image: "00_splitscreen_handler_bottom_press.png" COMP;
+ image: "00_splitscreen_fixed_divider_top.png" COMP;
+ image: "00_splitscreen_fixed_divider_middle.png" COMP;
+ image: "00_splitscreen_fixed_divider_bottom.png" COMP;
}
script {
public state_pair = 0; //0:both content are not set, 1:both content are set
{
name: "whole";
type: RECT;
- mouse_events: 1;
description
{
state: "default" 0.0;
state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 1.0 0.0;
- visible: 1;
}
}
part
normal: "00_splitscreen_handler_top.png";
}
}
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splitscreen_handler_top_press.png";
+ }
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- visible: 0;
+ image.normal: "00_splitscreen_fixed_divider_top.png";
}
}
//BAR
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
- color: 200 200 200 200;
+ image.normal: "00_splitscreen_handler_middle_press.png";
}
description { state: "clicked" 0.1;
inherit: "default" 0.1;
- color: 200 200 200 200;
+ image.normal: "00_splitscreen_handler_middle_press.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
inherit: "default" 0.1;
min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
max: PANES_STYLE_DEFAULT_FIXED_SIZE_INC PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
- visible: 0;
+ image.normal: "00_splitscreen_fixed_divider_middle.png";
}
}
part { name:"bar_bottom";
normal: "00_splitscreen_handler_bottom.png";
}
}
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splitscreen_handler_bottom_press.png";
+ }
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- visible: 0;
+ image.normal: "00_splitscreen_fixed_divider_bottom.png";
}
}
part { name: "over2";
mouse_events: 1;
repeat_events: 1;
description { state: "default" 0.0;
- color: 255 255 255 0;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
}
}
part { name:"bar_disabled";
description { state:"default" 0.0;
rel1 { relative: 0 0; to_x: "elm.bar"; }
rel2 { relative: 1 1; to_x: "elm.bar"; }
- color: PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC;
+ color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
visible: 1;
}
}
-
- //Arrow
- part {
- name: "arrow_right";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- max: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- color: 255 255 255 0;
-
- rel1.relative: 1.0 0.5;
- rel1.to_x: "elm.bar";
- rel1.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- rel2.relative: 1.0 0.5;
- rel2.to_x: "elm.bar";
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- image.normal: "arrow_right.png";
-
- fixed: 1 1;
- }
- description { state: "default" 0.1;
- inherit: "default" 0.0;
- image.normal: "arrow_left.png";
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_FROM_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 +PANES_STYLE_DEFAULT_ARROW_SIZE_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- description { state: "anim_1" 0.1;
- inherit: "default" 0.0;
- image.normal: "arrow_left.png";
- color: 255 255 255 200;
- rel1.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_FROM_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 +PANES_STYLE_DEFAULT_ARROW_FROM_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_TO_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_TO_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- description { state: "anim_2" 0.1;
- inherit: "default" 0.0;
- image.normal: "arrow_left.png";
- color: 255 255 255 0;
- rel1.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_TO_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_TO_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- }
- part {
- name: "arrow_left";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- max: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- color: 255 255 255 0;
-
- rel1.relative: 0.0 0.5;
- rel1.to_x: "elm.bar";
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- rel2.relative: 0.0 0.5;
- rel2.to_x: "elm.bar";
- rel2.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- image.normal: "arrow_left.png";
-
- fixed: 1 1;
- }
- description { state: "default" 0.1;
- inherit: "default" 0.0;
- image.normal: "arrow_right.png";
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_FROM_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_FROM_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- description { state: "anim_1" 0.1;
- inherit: "default" 0.0;
- image.normal: "arrow_right.png";
- color: 255 255 255 200;
- rel1.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_FROM_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_FROM_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_TO_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_TO_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- description { state: "anim_2" 0.1;
- inherit: "default" 0.0;
- image.normal: "arrow_right.png";
- color: 255 255 255 0;
- rel1.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_TO_INC) -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- rel2.offset: (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_TO_INC) PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
- }
- }
}
programs {
program {
source: "over2";
action: SIGNAL_EMIT "elm,action,press" "";
after: "button_click_anim";
- after: "arrow_anim_start";
}
program {
name: "button_click_anim";
script {
if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "clicked", 0.1);
+ set_state(PART:"elm.bar", "clicked", 0.1);
else
- set_state(PART:"elm.bar", "clicked", 0.0);
+ set_state(PART:"elm.bar", "clicked", 0.0);
+ set_state(PART:"bar_top", "clicked", 0.0);
+ set_state(PART:"bar_bottom", "clicked", 0.0);
}
}
program {
source: "over2";
action: SIGNAL_EMIT "elm,action,unpress" "";
after: "button_unclick_anim";
- after: "arrow_anim_stop";
}
program {
name: "button_unclick_anim";
script {
if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "default", 0.1);
+ set_state(PART:"elm.bar", "default", 0.1);
else
- set_state(PART:"elm.bar", "default", 0.0);
+ set_state(PART:"elm.bar", "default", 0.0);
+ set_state(PART:"bar_top", "default", 0.0);
+ set_state(PART:"bar_bottom", "default", 0.0);
}
}
program {
source: "over3";
action: SIGNAL_EMIT "elm,action,click,double" "";
}
-
- //arrows animation
- program {
- name: "arrow_anim_start";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow_left", st, 30, vl);
- if (vl == 0.0) {
- run_program(PROGRAM:"arrow_anim_start_ltr");
- }
- else {
- run_program(PROGRAM:"arrow_anim_start_rtl");
- }
- }
- }
- program {
- name: "arrow_anim_stop";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow_left", st, 30, vl);
- if (vl == 0.0) {
- run_program(PROGRAM:"arrow_anim_stop_ltr");
- }
- else {
- run_program(PROGRAM:"arrow_anim_stop_rtl");
- }
- }
- }
- program {
- name: "arrow_anim_start_ltr";
- action: STATE_SET "anim_1" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1_ltr";
- }
- program {
- name: "arrow_anim_1_ltr";
- action: STATE_SET "anim_2" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2_ltr";
- }
- program {
- name: "arrow_anim_2_ltr";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start_ltr";
- }
- program {
- name: "arrow_anim_stop_ltr";
- action: ACTION_STOP;
- target: "arrow_anim_start_ltr";
- target: "arrow_anim_1_ltr";
- target: "arrow_anim_2_ltr";
- after: "arrow_anim_stop_1_ltr";
- }
- program {
- name: "arrow_anim_stop_1_ltr";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
- program {
- name: "arrow_anim_start_rtl";
- action: STATE_SET "anim_1" 0.1;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1_rtl";
- }
- program {
- name: "arrow_anim_1_rtl";
- action: STATE_SET "anim_2" 0.1;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2_rtl";
- }
- program {
- name: "arrow_anim_2_rtl";
- action: STATE_SET "default" 0.1;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start_rtl";
- }
- program {
- name: "arrow_anim_stop_rtl";
- action: ACTION_STOP;
- target: "arrow_anim_start_rtl";
- target: "arrow_anim_1_rtl";
- target: "arrow_anim_2_rtl";
- after: "arrow_anim_stop_1_rtl";
- }
- program {
- name: "arrow_anim_stop_1_rtl";
- action: STATE_SET "default" 0.1;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
- program { name: "to_rtl";
- signal: "edje,state,rtl";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow_left", st, 30, vl);
- if (vl == 0.0) {
- set_state(PART:"arrow_left", st, 0.1);
- }
- get_state(PART:"arrow_right", st, 30, vl);
- if (vl == 0.0) {
- set_state(PART:"arrow_right", st, 0.1);
- }
- }
- }
- program { name: "to_ltr";
- signal: "edje,state,ltr";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow_left", st, 30, vl);
- if (vl == 0.1) {
- set_state(PART:"arrow_left", st, 0.0);
- }
- get_state(PART:"arrow_right", st, 30, vl);
- if (vl == 0.1) {
- set_state(PART:"arrow_right", st, 0.0);
- }
- }
- }
//fix the pane
program {
name: "panes_fixed";
group {
name: "elm/panes/horizontal/default";
images {
- image: "arrow_up.png" COMP;
- image: "arrow_down.png" COMP;
- image: "00_splitscreen_handler_left_hor.png" COMP;
- image: "00_splitscreen_handler_middle_hor.png" COMP;
- image: "00_splitscreen_handler_right_hor.png" COMP;
+ image: "00_splitscreen_handler_hor_left.png" COMP;
+ image: "00_splitscreen_handler_hor_left_press.png" COMP;
+ image: "00_splitscreen_handler_hor_middle.png" COMP;
+ image: "00_splitscreen_handler_hor_middle_press.png" COMP;
+ image: "00_splitscreen_handler_hor_right.png" COMP;
+ image: "00_splitscreen_handler_hor_right_press.png" COMP;
+ image: "00_splitscreen_fixed_divider_hor_left.png" COMP;
+ image: "00_splitscreen_fixed_divider_hor_middle.png" COMP;
+ image: "00_splitscreen_fixed_divider_hor_right.png" COMP;
}
script {
public state_pair = 0; //0:both content are not set, 1:both content are set
{
name: "whole";
type: RECT;
- mouse_events: 0;
description
{
state: "default" 0.0;
state: "default" 0.0;
rel1.to_y: "elm.bar";
rel1.relative: 0.0 1.0;
- visible: 1;
}
}
part
description { state:"default" 0.0;
rel1 { relative: 0 0; to_y: "elm.bar"; }
rel2 { relative: 0 1; to: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_left_hor.png";
- }
+ image.normal: "00_splitscreen_handler_hor_left.png";
+ }
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splitscreen_handler_hor_left_press.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- visible: 0;
+ image.normal: "00_splitscreen_fixed_divider_hor_left.png";
}
}
//BAR
rel1.relative: 0.5 0.0;
rel2.relative: 0.5 1.0;
align: 0.5 0.0;
- image {
- normal: "00_splitscreen_handler_middle_hor.png";
- }
- color: 255 255 255 255;
+ image.normal: "00_splitscreen_handler_hor_middle.png";
}
description { state: "default" 0.1;
inherit: "default" 0.0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
- color: 200 200 200 200;
}
description { state: "clicked" 0.1;
inherit: "default" 0.1;
- color: 200 200 200 200;
+ image.normal: "00_splitscreen_handler_hor_middle_press.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
inherit: "default" 0.1;
min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_FIXED_SIZE_INC;
max: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC PANES_STYLE_DEFAULT_FIXED_SIZE_INC;
- visible: 0;
+ image.normal: "00_splitscreen_fixed_divider_hor_middle.png";
}
}
part { name:"bar_right";
description { state:"default" 0.0;
rel1 { relative: 1 0; to: "elm.bar"; }
rel2 { relative: 1 1; to_y: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_right_hor.png";
- }
+ image.normal: "00_splitscreen_handler_hor_right.png";
+ }
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splitscreen_handler_hor_right_press.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- visible: 0;
+ image.normal: "00_splitscreen_fixed_divider_hor_right.png";
}
}
part { name: "over2";
mouse_events: 1;
repeat_events: 1;
description { state: "default" 0.0;
- color: 255 255 255 0;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
}
}
part { name:"bar_disabled";
description { state:"default" 0.0;
rel1 { relative: 0 0; to_y: "elm.bar"; }
rel2 { relative: 1 1; to_y: "elm.bar"; }
- color: PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC;
+ color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
visible: 1;
}
}
-
- //Arrow
- part {
- name: "arrow_right";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- max: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- color: 255 255 255 0;
-
- rel1.relative: 0.5 1.0;
- rel1.to_y: "elm.bar";
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- rel2.relative: 0.5 1.0;
- rel2.to_y: "elm.bar";
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- image.normal: "arrow_down.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 +PANES_STYLE_DEFAULT_ARROW_FROM_INC);
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 +PANES_STYLE_DEFAULT_ARROW_FROM_INC);
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_TO_INC);
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 + PANES_STYLE_DEFAULT_ARROW_TO_INC);
- }
- }
- part {
- name: "arrow_left";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- max: PANES_STYLE_DEFAULT_ARROW_SIZE_INC PANES_STYLE_DEFAULT_ARROW_SIZE_INC;
- color: 255 255 255 0;
-
- rel1.relative: 0.5 0.0;
- rel1.to_y: "elm.bar";
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- rel2.relative: 0.5 0.0;
- rel2.to_y: "elm.bar";
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2;
-
- image.normal: "arrow_up.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_FROM_INC);
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_FROM_INC);
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: -PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_TO_INC);
- rel2.offset: PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 (-PANES_STYLE_DEFAULT_ARROW_SIZE_INC/2 - PANES_STYLE_DEFAULT_ARROW_TO_INC);
- }
- }
}
programs {
program {
source: "over2";
action: SIGNAL_EMIT "elm,action,press" "";
after: "button_click_anim";
- after: "arrow_anim_start";
}
program {
name: "button_click_anim";
script {
if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "clicked", 0.1);
+ set_state(PART:"elm.bar", "clicked", 0.1);
else
- set_state(PART:"elm.bar", "clicked", 0.0);
+ set_state(PART:"elm.bar", "clicked", 0.0);
+ set_state(PART:"bar_left", "clicked", 0.0);
+ set_state(PART:"bar_right", "clicked", 0.0);
}
}
program {
source: "over2";
action: SIGNAL_EMIT "elm,action,unpress" "";
after: "button_unclick_anim";
- after: "arrow_anim_stop";
}
program {
name: "button_unclick_anim";
script {
if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "default", 0.1);
+ set_state(PART:"elm.bar", "default", 0.1);
else
- set_state(PART:"elm.bar", "default", 0.0);
+ set_state(PART:"elm.bar", "default", 0.0);
+ set_state(PART:"bar_left", "default", 0.0);
+ set_state(PART:"bar_right", "default", 0.0);
}
}
program {
source: "over3";
action: SIGNAL_EMIT "elm,action,click,double" "";
}
-
- //arrows animation
- program {
- name: "arrow_anim_start";
- action: STATE_SET "anim_1" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1";
- }
- program {
- name: "arrow_anim_1";
- action: STATE_SET "anim_2" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2";
- }
- program {
- name: "arrow_anim_2";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start";
- }
- program {
- name: "arrow_anim_stop";
- action: ACTION_STOP;
- target: "arrow_anim_start";
- target: "arrow_anim_1";
- target: "arrow_anim_2";
- after: "arrow_anim_stop_1";
- }
- program {
- name: "arrow_anim_stop_1";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
//fix the pane
program {
name: "panes_fixed";