projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
71da54a
)
Add voice test command for help in adjusting volume.
author
Keith Packard
<keithp@keithp.com>
Wed, 28 Jul 2010 20:10:11 +0000
(13:10 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 28 Jul 2010 20:10:11 +0000
(13:10 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosUI.java
patch
|
blob
|
history
diff --git
a/ao-tools/altosui/AltosUI.java
b/ao-tools/altosui/AltosUI.java
index 511c37093539fee08e7840862bc15e03088a807d..e1697ee1e280637524b15a8f96d0e051bd3f41e4 100644
(file)
--- a/
ao-tools/altosui/AltosUI.java
+++ b/
ao-tools/altosui/AltosUI.java
@@
-721,6
+721,13
@@
public class AltosUI extends JFrame {
}
});
menu.add(radioitem);
+ item = new JMenuItem("Test Voice",KeyEvent.VK_T);
+ item.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ voice.speak("That's one small step for man; one giant leap for mankind.");
+ }
+ });
+ menu.add(item);
}
// Channel menu