VocalEasel/Sources/VLSheetViewLyrics.h

48 lines
980 B
C
Raw Normal View History

2006-12-02 03:35:21 +00:00
//
2007-04-27 06:41:34 +00:00
// File: VLSheetViewLyrics.h - Lyrics editing functionality
2006-12-02 03:35:21 +00:00
//
2007-04-27 06:41:34 +00:00
// Author(s):
//
// (MN) Matthias Neeracher
//
// Copyright © 2006-2007 Matthias Neeracher
2006-12-02 03:35:21 +00:00
//
#import "VLSheetWindow.h"
@interface VLLyricsEditable : VLEditable {
2006-12-02 09:02:44 +00:00
VLSheetView * fView;
VLSong * fSong;
size_t fStanza;
size_t fMeasure;
2006-12-04 07:04:24 +00:00
VLFract fAt;
2007-04-13 04:26:35 +00:00
size_t fNextMeas;
VLFract fNextAt;
2006-12-02 03:35:21 +00:00
}
- (VLLyricsEditable *)initWithView:(VLSheetView *)view
song:(VLSong *)song
2006-12-02 09:02:44 +00:00
stanza:(int)stanza
2006-12-02 03:35:21 +00:00
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 (Lyrics)
- (void) editLyrics;
- (void) drawLyricsForSystem:(int)system stanza:(size_t)stanza;
2006-12-02 09:02:44 +00:00
- (void) highlightLyricsInStanza:(size_t)stanza measure:(int)measure at:(VLFraction)at;
2006-12-02 03:35:21 +00:00
@end
// Local Variables:
// mode:ObjC
// End: