2006-10-28 09:18:55 +00:00
|
|
|
//
|
2007-04-27 06:41:34 +00:00
|
|
|
// File: VLSheetWindow.h - Control lead sheet editing window
|
2006-10-28 09:18:55 +00:00
|
|
|
//
|
2007-04-27 06:41:34 +00:00
|
|
|
// Author(s):
|
|
|
|
//
|
|
|
|
// (MN) Matthias Neeracher
|
|
|
|
//
|
2008-05-29 18:54:30 +00:00
|
|
|
// Copyright © 2005-2008 Matthias Neeracher
|
2006-10-28 09:18:55 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2008-05-29 18:54:30 +00:00
|
|
|
#import <AudioToolbox/AudioToolbox.h>
|
2006-10-28 09:18:55 +00:00
|
|
|
|
|
|
|
@interface VLEditable : NSObject
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
- (NSString *) stringValue;
|
|
|
|
- (void) setStringValue:(NSString*)val;
|
|
|
|
- (BOOL) validValue:(NSString*)val;
|
|
|
|
- (void) moveToNext;
|
|
|
|
- (void) moveToPrev;
|
|
|
|
- (void) highlightCursor;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2011-07-24 03:31:17 +00:00
|
|
|
@interface VLSheetWindow : NSWindowController <NSToolbarDelegate> {
|
2006-10-28 09:18:55 +00:00
|
|
|
VLEditable * editTarget;
|
|
|
|
|
|
|
|
IBOutlet id outputToolItem;
|
|
|
|
IBOutlet id logToolItem;
|
2006-11-13 04:26:09 +00:00
|
|
|
IBOutlet id playToolItem;
|
2007-01-02 07:06:56 +00:00
|
|
|
IBOutlet id stopToolItem;
|
2008-05-29 18:54:30 +00:00
|
|
|
IBOutlet id fwdToolItem;
|
|
|
|
IBOutlet id bckToolItem;
|
|
|
|
IBOutlet id tobegToolItem;
|
|
|
|
IBOutlet id toendToolItem;
|
2006-12-02 23:05:12 +00:00
|
|
|
IBOutlet id zoomInToolItem;
|
|
|
|
IBOutlet id zoomOutToolItem;
|
2007-04-18 07:05:04 +00:00
|
|
|
IBOutlet id progressToolItem;
|
2007-04-21 07:09:52 +00:00
|
|
|
IBOutlet id displayToolItem;
|
|
|
|
|
2008-01-29 03:02:25 +00:00
|
|
|
IBOutlet id sheetView;
|
|
|
|
|
2007-04-21 07:09:52 +00:00
|
|
|
int editNumTopLedgers;
|
|
|
|
int editNumBotLedgers;
|
|
|
|
int editNumStanzas;
|
2006-10-28 09:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (VLEditable *) editTarget;
|
|
|
|
- (void) setEditTarget:(VLEditable *)editable;
|
2007-04-18 07:05:04 +00:00
|
|
|
- (void) startAnimation;
|
|
|
|
- (void) stopAnimation;
|
2008-05-29 18:54:30 +00:00
|
|
|
- (void) willPlaySequence:(MusicSequence)music;
|
2006-10-28 09:18:55 +00:00
|
|
|
|
|
|
|
@end
|