mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
71 lines
1.7 KiB
Objective-C
71 lines
1.7 KiB
Objective-C
//
|
|
// File: VLSheetWindow.h - Control lead sheet editing window
|
|
//
|
|
// Author(s):
|
|
//
|
|
// (MN) Matthias Neeracher
|
|
//
|
|
// Copyright © 2005-2011 Matthias Neeracher
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import <AudioToolbox/AudioToolbox.h>
|
|
#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:(size_t)measure at:(VLFract)at;
|
|
- (BOOL) hidden;
|
|
|
|
@end
|
|
|
|
@class VLSheetView;
|
|
@class VLLogWindow;
|
|
@class VLPDFWindow;
|
|
|
|
@interface VLSheetWindow : NSWindowController <NSToolbarDelegate,NSWindowDelegate> {
|
|
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
|