mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-23 03:34:00 +00:00
44 lines
840 B
Objective-C
44 lines
840 B
Objective-C
//
|
|
// File: VLSheetViewChords.h - Chord editing functionality
|
|
//
|
|
// Author(s):
|
|
//
|
|
// (MN) Matthias Neeracher
|
|
//
|
|
// Copyright © 2006-2007 Matthias Neeracher
|
|
//
|
|
|
|
#import "VLSheetWindow.h"
|
|
|
|
@interface VLChordEditable : VLEditable {
|
|
VLSheetView * fView;
|
|
VLSong * fSong;
|
|
int fMeasure;
|
|
VLFract fAt;
|
|
}
|
|
|
|
- (VLChordEditable *)initWithView:(VLSheetView *)view
|
|
song:(VLSong *)song
|
|
measure:(int)measure
|
|
at:(VLFract)at;
|
|
- (NSString *) stringValue;
|
|
- (void) setStringValue:(NSString*)val;
|
|
- (BOOL) validValue:(NSString*)val;
|
|
- (void) moveToNext;
|
|
- (void) moveToPrev;
|
|
- (void) highlightCursor;
|
|
|
|
@end
|
|
|
|
@interface VLSheetView (Chords)
|
|
|
|
- (void) editChord;
|
|
- (void) drawChordsForSystem:(int)system;
|
|
- (void) highlightChordInMeasure:(int)measure at:(VLFraction)at;
|
|
|
|
@end
|
|
|
|
// Local Variables:
|
|
// mode:ObjC
|
|
// End:
|