Add Stop Toolbar Item

This commit is contained in:
Matthias Neeracher 2007-01-02 07:01:55 +00:00
parent 3d880853b3
commit 10910e809b
7 changed files with 10 additions and 4 deletions

View File

@ -54,6 +54,7 @@
outputToolItem = id;
playToolItem = id;
runToolItem = id;
stopToolItem = id;
zoomInToolItem = id;
zoomOutToolItem = id;
};

View File

@ -3,13 +3,13 @@
<plist version="1.0">
<dict>
<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>
<string>454.0</string>
<key>IBOpenObjects</key>
<array>
<integer>144</integer>
<integer>5</integer>
<integer>144</integer>
</array>
<key>IBSystem Version</key>
<string>9A321</string>

Binary file not shown.

BIN
Resources/stop.tiff Normal file

Binary file not shown.

View File

@ -384,6 +384,11 @@
[self fileURLWithExtension:@"mid"]]));
}
- (IBAction) stop:(id)sender
{
VLSoundOut::Instance()->Stop();
}
- (IBAction) showOutput:(id)sender
{
[[self pdfWin] showWindow:sender];

View File

@ -27,10 +27,9 @@ public:
virtual void PlayNote(const VLNote & note);
virtual void PlayChord(const VLChord & chord);
virtual void PlayFile(CFDataRef file);
virtual void Stop();
virtual ~VLAUSoundOut();
void Stop();
protected:
VLAUSoundOut(bool fileOutput);

View File

@ -36,6 +36,7 @@ public:
virtual void PlayNote(const VLNote & note) = 0;
virtual void PlayChord(const VLChord & chord) = 0;
virtual void PlayFile(CFDataRef file) = 0;
virtual void Stop() = 0;
virtual ~VLSoundOut();
};