added volume controll

This commit is contained in:
Jeena 2014-11-14 00:09:38 +01:00
parent 9be22a3f91
commit 0415fdd974
3 changed files with 211 additions and 26 deletions

View file

@ -13,7 +13,6 @@
NSTextView *textView;
NSMenu *__weak languageMenu;
NSPopUpButton *__weak languageMenuPopupButton;
NSSpeechSynthesizer *synth;
NSRange oldRange;
BOOL isNewLocation;
NSArray *languages;
@ -24,10 +23,12 @@
@property (weak) IBOutlet NSMenu *languageMenu;
@property (weak) IBOutlet NSPopUpButton *languageMenuPopupButton;
@property (weak) IBOutlet NSToolbarItem *speakButton;
@property (weak) IBOutlet NSSpeechSynthesizer *synth;
-(IBAction)speakAction:(id)sender;
-(IBAction)seekForward:(id)sender;
-(IBAction)seekBack:(id)sender;
-(IBAction)setVolume:(NSSlider *)sender;
-(void)stopSpeaking;
-(void)startSpeaking;