#define ICON_PROGRAMS(icon) \ group { \ name: icon; \ min: 70 70; \ max: 70 70; \ parts { \ part { \ name: icon"/bg"; \ type: IMAGE; \ description { \ state: "default" 0.0; \ color: 255 255 255 255; \ rel1 { \ relative: 0.0 0.0; \ offset: 0 0; \ } \ rel2 { \ relative: 1.0 1.0; \ offset: 0 0; \ } \ image { \ normal: icon"_fade.png"; \ } \ } \ description { \ state: "default" 0.0; \ color: 255 255 255 255; \ rel1 { \ relative: 0.0 0.0; \ offset: 0 0; \ } \ rel2 { \ relative: 1.0 1.0; \ offset: 0 0; \ } \ image { \ normal: icon".png"; \ } \ } \ } \ } \ programs { \ program { \ name, "icon_default"; \ signal, "icon_default"; \ source, "icon_default"; \ action, STATE_SET "default" 0.0; \ transition, LINEAR 0.5; \ target, icon"/bg"; \ } \ program { \ name, "icon_hilited"; \ signal, "icon_hilited"; \ source, "icon_hilited"; \ action, STATE_SET "hilited" 0.0; \ transition, LINEAR 0.5; \ target, icon"/bg"; \ } \ } \ }