)
GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_RECT("sound_left",
+ description { state: "default" 0.0;
+ color: 128 0 0 128;
+ rel2.to_x: "elm.swallow.decorate.content";
+ rel2.relative: 0 1;
+ }
+ )
+ GENLIST_PART_RECT("sound_right",
+ description { state: "default" 0.0;
+ color: 128 0 0 128;
+ rel1.to_x: "elm.swallow.decorate.content";
+ rel1.relative: 1 0;
+ }
+ )
GENLIST_PART_ICON("elm.edit.icon.1",
GENLIST_DESCRIPTION_L("elm.padding.left",
align: 1 0.5;
target: "bottom_line";
target: "bottom_line2";
)
+ // FIXME: GENLIST_PROGRAM_SOUND("base") makes duplicated clicked sounds because
+ // swallowed edje also makes sound.
+ // I don't know why "base" part can receive "mouse,clicked,1" events
+ // even though it is below the "elm.swallow.decorate.content" and events should
+ // not be repeated!!!!!!!!
+ GENLIST_PROGRAM_SOUND("sound_left")
+ GENLIST_PROGRAM_SOUND("sound_right")
+ GENLIST_PROGRAM_CHECK("elm.edit.icon.1")
GENLIST_PROGRAM_REORDER(
target: "bg_clip";
target: "bottom_line_clip";
// If check is swallowed, genlist selected/unselected should be synched with check.
#define GENLIST_PROGRAM_CHECK(CHECK) \
- program { name: "selected_check"; \
+ program { name: "selected"CHECK; \
signal: "mouse,down,1"; \
source: CHECK; \
script { \
run_program(PROGRAM:"selected"); \
} \
} \
- program { name: "unselected_check"; \
+ program { name: "unselected"CHECK; \
signal: "mouse,up,1"; \
source: CHECK; \
script { \