VocalEasel/Sources/VLSheetWindow.h

48 lines
989 B
C
Raw Normal View History

//
2007-04-27 06:41:34 +00:00
// File: VLSheetWindow.h - Control lead sheet editing window
//
2007-04-27 06:41:34 +00:00
// Author(s):
//
// (MN) Matthias Neeracher
//
2011-08-29 00:01:49 +00:00
// Copyright <20> 2005-2011 Matthias Neeracher
//
#import <Cocoa/Cocoa.h>
2008-05-29 18:54:30 +00:00
#import <AudioToolbox/AudioToolbox.h>
@interface VLEditable : NSObject
{
}
- (NSString *) stringValue;
- (void) setStringValue:(NSString*)val;
- (BOOL) validValue:(NSString*)val;
- (void) moveToNext;
- (void) moveToPrev;
- (void) highlightCursor;
@end
2011-08-29 00:01:49 +00:00
@class VLSheetView;
2011-07-24 03:31:17 +00:00
@interface VLSheetWindow : NSWindowController <NSToolbarDelegate> {
2011-08-29 00:01:49 +00:00
IBOutlet VLSheetView * sheetView;
IBOutlet NSProgressIndicator * progressIndicator;
VLEditable * editTarget;
2008-01-29 03:02:25 +00:00
int editNumTopLedgers;
int editNumBotLedgers;
int editNumStanzas;
}
- (VLEditable *) editTarget;
- (void) setEditTarget:(VLEditable *)editable;
- (void) startAnimation;
- (void) stopAnimation;
2008-05-29 18:54:30 +00:00
- (void) willPlaySequence:(MusicSequence)music;
- (IBAction) togglePlayElements:(id)sender;
@end