Opened 13 years ago
Last modified 5 years ago
#948 closed enhancement
Add buttonSound attribute to buttons — at Version 1
Reported by: | brian | Owned by: | Sound Department |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 14 |
Component: | Core engine | Keywords: | patch simple |
Cc: | matt@… | Patch: |
Description (last modified by )
We want all buttons to sound the same. To avoid editing all the onPress functions scattered throughout, we should add an attribute that can reference the sound file. Ideally, this attribute would be included in the style so it would only have to be changed in one place.
It will probably involve adding another GUI property and making CButton detect it and do whatever PlaySound does.
Note:
See TracTickets
for help on using tickets.