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;
|
2011-09-11 02:03:22 +00:00
|
|
|
VLLocation fSelection;
|
2006-10-08 05:56:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (VLChordEditable *)initWithView:(VLSheetView *)view
|
|
|
|
song:(VLSong *)song
|
2011-09-11 02:03:22 +00:00
|
|
|
at:(VLLocation)at;
|
2006-10-08 05:56:25 +00:00
|
|
|
- (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;
|
2011-09-11 02:03:22 +00:00
|
|
|
- (void) highlightChord:(VLLocation)at;
|
2006-09-11 02:49:56 +00:00
|
|
|
|
|
|
|
@end
|
2006-10-02 08:32:25 +00:00
|
|
|
|
|
|
|
// Local Variables:
|
|
|
|
// mode:ObjC
|
|
|
|
// End:
|