// // File: VLSheetWindow.h - Control lead sheet editing window // // Author(s): // // (MN) Matthias Neeracher // // Copyright © 2005-2011 Matthias Neeracher // #import #import #import "VLSheetView.h" @interface VLEditable : NSObject { } - (NSString *) stringValue; - (void) setStringValue:(NSString*)val; - (BOOL) validValue:(NSString*)val; - (void) moveToNext; - (void) moveToPrev; - (void) highlightCursor; - (BOOL) canExtendSelection:(VLRegion)region; - (void) extendSelection:(VLLocation)at; - (BOOL) hidden; - (void) deleteAtEndOfPlayback; @end @class VLSheetView; @class VLLogWindow; @class VLPDFWindow; @interface VLSheetWindow : NSWindowController { IBOutlet VLSheetView * sheetView; IBOutlet NSProgressIndicator * progressIndicator; IBOutlet VLLogWindow * logWin; IBOutlet VLPDFWindow * pdfWin; IBOutlet NSWindow * displaySheet; id soundStartObserver; id soundStopObserver; VLEditable * editTarget; int editNumTopLedgers; int editNumBotLedgers; int editNumStanzas; } @property (nonatomic,readonly) VLLogWindow * logWin; - (IBAction) togglePlayElements:(id)sender; - (IBAction) showOutput:(id)sender; - (IBAction) stop:(id)sender; - (IBAction) playStop:(id)sender; - (IBAction) playMusic:(id)sender; - (IBAction) adjustTempo:(id)sender; - (IBAction) zoomIn: (id) sender; - (IBAction) zoomOut: (id) sender; - (VLEditable *) editTarget; - (void) setEditTarget:(VLEditable *)editable; - (void) startAnimation; - (void) stopAnimation; - (void (^)()) willPlaySequence:(MusicSequence)music; - (void) showLogAndBeep; @end