new Float:vl; \
get_state(PART:"base", st, 30, vl); \
if (strcmp(st, "disabled")) \
- run_program(PROGRAM:"play_button_press"SRC); \
+ play_sample("touch_sound", 1.0); \
} \
- } \
- program { name: "play_button_press"SRC; \
- action: PLAY_SAMPLE "touch_sound" 1.0; \
}
#define GENLIST_PROGRAM_REORDER_SOUND( SRC ) \
#define GENLIST_PROGRAMS_NORMAL( TARGET ) \
programs { \
GENLIST_PROGRAM_DEFAULT( TARGET \
+ target: "base"; \
target: "bg"; \
target: "bg_clip"; \
target: "bottom_line"; \
#define GENLIST_PROGRAMS_DIALOGUE( TARGET ) \
programs { \
GENLIST_PROGRAM_DEFAULT( TARGET \
+ target: "base"; \
target: "bg_dialogue"; \
target: "elm.padding.left"; \
target: "elm.padding.right"; \
#define GENLIST_PROGRAMS_ENTRY( TARGET ) \
GENLIST_PROGRAM_DEFAULT( TARGET \
+ target: "base"; \
target: "bg"; \
target: "bg_clip"; \
target: "bottom_line"; \