group { name: "e/widgets/button";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
+ images.image: "win_glow.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
visible: 1;
}
}
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.to: "base";
+ rel1.offset: -1 -1;
+ rel2.to: "base";
+ rel2.offset: 1 1;
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
target: "label_clip";
target: "label2";
}
+ program { signal: "e,state,focused"; source: "e";
+ action: STATE_SET "focused" 0.0;
+ target: "glow";
+ }
+ program { signal: "e,state,unfocused"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "glow";
+ }
}
}