mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Add Stop Toolbar Item
This commit is contained in:
parent
3d880853b3
commit
10910e809b
1
English.lproj/VLDocument.nib/classes.nib
generated
1
English.lproj/VLDocument.nib/classes.nib
generated
|
@ -54,6 +54,7 @@
|
||||||
outputToolItem = id;
|
outputToolItem = id;
|
||||||
playToolItem = id;
|
playToolItem = id;
|
||||||
runToolItem = id;
|
runToolItem = id;
|
||||||
|
stopToolItem = id;
|
||||||
zoomInToolItem = id;
|
zoomInToolItem = id;
|
||||||
zoomOutToolItem = id;
|
zoomOutToolItem = id;
|
||||||
};
|
};
|
||||||
|
|
4
English.lproj/VLDocument.nib/info.nib
generated
4
English.lproj/VLDocument.nib/info.nib
generated
|
@ -3,13 +3,13 @@
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>IBDocumentLocation</key>
|
<key>IBDocumentLocation</key>
|
||||||
<string>372 26 356 240 0 0 1280 778 </string>
|
<string>427 29 356 240 0 0 1280 778 </string>
|
||||||
<key>IBFramework Version</key>
|
<key>IBFramework Version</key>
|
||||||
<string>454.0</string>
|
<string>454.0</string>
|
||||||
<key>IBOpenObjects</key>
|
<key>IBOpenObjects</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>144</integer>
|
|
||||||
<integer>5</integer>
|
<integer>5</integer>
|
||||||
|
<integer>144</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
<string>9A321</string>
|
<string>9A321</string>
|
||||||
|
|
BIN
English.lproj/VLDocument.nib/keyedobjects.nib
generated
BIN
English.lproj/VLDocument.nib/keyedobjects.nib
generated
Binary file not shown.
BIN
Resources/stop.tiff
Normal file
BIN
Resources/stop.tiff
Normal file
Binary file not shown.
|
@ -384,6 +384,11 @@
|
||||||
[self fileURLWithExtension:@"mid"]]));
|
[self fileURLWithExtension:@"mid"]]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (IBAction) stop:(id)sender
|
||||||
|
{
|
||||||
|
VLSoundOut::Instance()->Stop();
|
||||||
|
}
|
||||||
|
|
||||||
- (IBAction) showOutput:(id)sender
|
- (IBAction) showOutput:(id)sender
|
||||||
{
|
{
|
||||||
[[self pdfWin] showWindow:sender];
|
[[self pdfWin] showWindow:sender];
|
||||||
|
|
|
@ -27,10 +27,9 @@ public:
|
||||||
virtual void PlayNote(const VLNote & note);
|
virtual void PlayNote(const VLNote & note);
|
||||||
virtual void PlayChord(const VLChord & chord);
|
virtual void PlayChord(const VLChord & chord);
|
||||||
virtual void PlayFile(CFDataRef file);
|
virtual void PlayFile(CFDataRef file);
|
||||||
|
virtual void Stop();
|
||||||
|
|
||||||
virtual ~VLAUSoundOut();
|
virtual ~VLAUSoundOut();
|
||||||
|
|
||||||
void Stop();
|
|
||||||
protected:
|
protected:
|
||||||
VLAUSoundOut(bool fileOutput);
|
VLAUSoundOut(bool fileOutput);
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ public:
|
||||||
virtual void PlayNote(const VLNote & note) = 0;
|
virtual void PlayNote(const VLNote & note) = 0;
|
||||||
virtual void PlayChord(const VLChord & chord) = 0;
|
virtual void PlayChord(const VLChord & chord) = 0;
|
||||||
virtual void PlayFile(CFDataRef file) = 0;
|
virtual void PlayFile(CFDataRef file) = 0;
|
||||||
|
virtual void Stop() = 0;
|
||||||
|
|
||||||
virtual ~VLSoundOut();
|
virtual ~VLSoundOut();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user