2006-09-11 02:49:56 +00:00
|
|
|
//
|
2007-04-27 06:41:34 +00:00
|
|
|
// File: VLSheetViewChords.h - Chord editing functionality
|
2006-09-11 02:49:56 +00:00
|
|
|
//
|
2007-04-27 06:41:34 +00:00
|
|
|
// Author(s):
|
|
|
|
//
|
|
|
|
// (MN) Matthias Neeracher
|
|
|
|
//
|
|
|
|
// Copyright © 2006-2007 Matthias Neeracher
|
2006-09-11 02:49:56 +00:00
|
|
|
//
|
|
|
|
|
2006-10-28 09:18:55 +00:00
|
|
|
#import "VLSheetWindow.h"
|
2006-10-08 05:56:25 +00:00
|
|
|
|
|
|
|
@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
|
|
|
|
|
2006-09-11 02:49:56 +00:00
|
|
|
@interface VLSheetView (Chords)
|
|
|
|
|
2006-10-03 17:52:54 +00:00
|
|
|
- (void) editChord;
|
2006-10-02 08:32:25 +00:00
|
|
|
- (void) drawChordsForSystem:(int)system;
|
2006-10-08 05:56:25 +00:00
|
|
|
- (void) highlightChordInMeasure:(int)measure at:(VLFraction)at;
|
2006-09-11 02:49:56 +00:00
|
|
|
|
|
|
|
@end
|
2006-10-02 08:32:25 +00:00
|
|
|
|
|
|
|
// Local Variables:
|
|
|
|
// mode:ObjC
|
|
|
|
// End:
|