} \
description { state: "pressed" 0.0; \
inherit: "default" 0.0; \
- image.normal: "00_check_press_bg.png"; \
} \
description { state: "disabled" 0.0; \
inherit: "default" 0.0; \
inherit: "visible" 0.0; \
} \
} \
+ part { name: "pressed_effect"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "bg"; \
+ rel2.to: "bg"; \
+ visible: 0; \
+ image.normal: "00_check_press_bg.png"; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
part { name: "sequence_clip"; \
type: RECT; \
mouse_events: 0; \
action: STATE_SET "default" 0.0; \
target: "bg"; \
target: "check"; \
+ target: "pressed_effect"; \
} \
program { name: "pressed"; \
signal: "mouse,down,1"; \
action: STATE_SET "pressed" 0.0; \
target: "bg"; \
target: "check"; \
+ target: "pressed_effect"; \
} \
program { name: "mouse,out"; \
signal: "mouse,out"; \
} \
description { state: "pressed" 0.0; \
inherit: "default" 0.0; \
- image.normal: "00_button_radio_press_bg.png"; \
} \
} \
part { name: "radio"; \
color: 255 255 255 255; \
} \
} \
+ part { name: "pressed_bg"; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "bg"; \
+ rel2.to: "bg"; \
+ image.normal: "00_button_radio_press_bg.png"; \
+ visible: 0; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
part { name: "elm.swallow.content"; \
type: SWALLOW; \
clip_to: "disclip"; \
set_state(PART:"radio", "visible", 0.0); \
else \
set_state(PART:"radio", "default", 0.0); \
- set_state(PART:"bg", "default", 0.0); \
+ set_state(PART:"pressed_bg", "default", 0.0); \
} \
} \
program { name: "pressed"; \
set_state(PART:"radio", "pressed", 0.0); \
else \
set_state(PART:"radio", "default", 0.0); \
- set_state(PART:"bg", "pressed", 0.0); \
+ set_state(PART:"pressed_bg", "pressed", 0.0); \
} \
} \
program { name: "mouse,out"; \