rel1.offset: -5 -5;
rel2.to: "elm.swallow.slot.middle";
rel2.offset: 4 4;
+ image {
+ normal: "bt_dis_base.png";
+ border: 4 4 4 4;
+ }
}
}
part { name: "elm.swallow.slot.middle";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.slot.middle";
rel2.offset: 4 4;
+ image {
+ normal: "bt_dis_base.png";
+ border: 4 4 4 4;
+ }
}
}
part { name: "elm.swallow.slot.middle";
}
}
///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/hover/base/hoversel_horizontal/default";
+ alias: "elm/hover/base/hoversel_horizontal/entry";
+ images {
+ image: "bt_base2.png" COMP;
+ image: "bt_hilight.png" COMP;
+ image: "bt_shine.png" COMP;
+ image: "outdent-top.png" COMP;
+ image: "outdent-bottom.png" COMP;
+ //image: "shad_circ.png" COMP;
+ }
+ parts {
+ part { name: "elm.swallow.offset";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "base";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 1.0;
+ color: 0 0 0 64;
+ }
+ }
+ /* part { name: "shad";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shad_circ.png";
+ rel1.to: "elm.swallow.size";
+ rel1.offset: -32 -32;
+ rel2.to: "elm.swallow.size";
+ rel2.offset: 31 31;
+ fill.smooth: 0;
+ }
+ }*/
+ part { name: "button_image";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.slot.left";
+ rel1.to_y: "elm.swallow.slot.left";
+ rel1.offset: -2 -6;
+ rel2.to_x: "elm.swallow.slot.right";
+ rel2.to_y: "elm.swallow.slot.left";
+ rel2.offset: 1 5;
+ image {
+ normal: "bt_base2.png";
+ border: 7 7 7 7;
+ }
+ image.middle: SOLID;
+ }
+ description { state: "right" 0.0;
+ rel1.to_x: "elm.swallow.slot.left";
+ rel1.to_y: "elm.swallow.slot.left";
+ rel1.offset: -2 -6;
+ rel2.to_x: "elm.swallow.slot.right";
+ rel2.to_y: "elm.swallow.slot.right";
+ rel2.offset: 1 5;
+ image {
+ normal: "bt_base2.png";
+ border: 7 7 7 7;
+ }
+ image.middle: SOLID;
+ }
+ }
+ part { name: "leftclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_x: "edge_left";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 7;
+ }
+ }
+ part { name: "elm.swallow.slot.left";
+ type: SWALLOW;
+ clip_to: "leftclip";
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: -1 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "rightclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_x: "edge_right";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 -8;
+ }
+ }
+ part { name: "elm.swallow.slot.right";
+ type: SWALLOW;
+ clip_to: "rightclip";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "over1";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ rel2.relative: 1.0 0.5;
+ image {
+ normal: "bt_hilight.png";
+ border: 7 7 7 0;
+ }
+ }
+ }
+ part { name: "over2";
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "button_image";
+ rel2.to: "button_image";
+ image {
+ normal: "bt_shine.png";
+ border: 7 7 7 7;
+ }
+ }
+ }
+ part { name: "edge_left";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "elm.swallow.size";
+ offset: 0 -10;
+ }
+ rel2 {
+ to: "elm.swallow.size";
+ }
+ image.normal: "outdent-bottom.png";
+ image.border: 0 0 13 0;
+ fill.smooth: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "edge_right";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "elm.swallow.size";
+ }
+ rel2 {
+ to: "elm.swallow.size";
+ offset: -1 9;
+ }
+ image.normal: "outdent-top.png";
+ image.border: 0 0 0 13;
+ fill.smooth: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.slot.middle";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1";
+ source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "";
+ }
+ program { name: "show";
+ signal: "elm,action,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ }
+
+ program { name: "leftshow";
+ signal: "elm,action,slot,left,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "edge_left";
+ after: "leftshow2";
+ }
+ program { name: "leftshow2";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.left";
+ }
+ program { name: "leftshow3";
+ signal: "elm,action,slot,left,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "button_image";
+ }
+
+ program { name: "lefthide";
+ signal: "elm,action,slot,left,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.left";
+ after: "lefthide2";
+ }
+ program { name: "lefthide2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "edge_left";
+ }
+ program { name: "rightshow";
+ signal: "elm,action,slot,right,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "edge_right";
+ after: "rightshow2";
+ }
+ program { name: "rightshow2";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.right";
+ }
+ program { name: "rightshow3";
+ signal: "elm,action,slot,right,show";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ transition: DECELERATE 0.5;
+ target: "button_image";
+ }
+
+ program { name: "righthide";
+ signal: "elm,action,slot,right,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.right";
+ after: "righthide2";
+ }
+ program { name: "righthide2";
+ action: STATE_SET "default" 0.0;
+ target: "edge_right";
+ }
+ }
+}