part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
- clip_to: "clipper";
+ clip_to: "icon_disabler";
description { state: "default" 0.0;
visible: 0;
align: 0.0 0.5;
color: 255 255 255 255;
}
}
+ part { name: "icon_disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "icon_rect";
+ rel2.to: "icon_rect";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 127 127 127 127;
+ }
+ }
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- color: 127 127 127 127;
visible: 1;
}
}
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
+ target: "icon_disabler";
after: "disable_text";
}
program { name: "disable_text";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
+ target: "icon_disabler";
after: "enable_text";
}
program { name: "enable_text";