VocalEasel/Sources/VLSheetWindow.h
2008-01-29 03:02:25 +00:00

51 lines
968 B
Objective-C

//
// File: VLSheetWindow.h - Control lead sheet editing window
//
// Author(s):
//
// (MN) Matthias Neeracher
//
// Copyright © 2005-2007 Matthias Neeracher
//
#import <Cocoa/Cocoa.h>
@interface VLEditable : NSObject
{
}
- (NSString *) stringValue;
- (void) setStringValue:(NSString*)val;
- (BOOL) validValue:(NSString*)val;
- (void) moveToNext;
- (void) moveToPrev;
- (void) highlightCursor;
@end
@interface VLSheetWindow : NSWindowController {
VLEditable * editTarget;
IBOutlet id outputToolItem;
IBOutlet id logToolItem;
IBOutlet id playToolItem;
IBOutlet id stopToolItem;
IBOutlet id zoomInToolItem;
IBOutlet id zoomOutToolItem;
IBOutlet id progressToolItem;
IBOutlet id displayToolItem;
IBOutlet id sheetView;
int editNumTopLedgers;
int editNumBotLedgers;
int editNumStanzas;
}
- (VLEditable *) editTarget;
- (void) setEditTarget:(VLEditable *)editable;
- (void) startAnimation;
- (void) stopAnimation;
@end