VocalEasel/Sources/VLSheetViewLyrics.h

48 lines
1.0 KiB
C
Raw Permalink 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
//
2011-09-10 21:33:40 +00:00
// Copyright <20> 2006-2011 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;
2011-09-11 02:03:22 +00:00
VLLocation fSelection;
VLLocation fAnchor;
VLLocation fNext;
2011-09-10 23:15:21 +00:00
NSString * fText;
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
2011-09-11 02:03:22 +00:00
at:(VLLocation)at;
2006-12-02 03:35:21 +00:00
- (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;
2011-09-11 02:03:22 +00:00
- (void) highlightLyricsInStanza:(size_t)stanza at:(VLLocation)at;
- (void) highlightTextInStanza:(size_t)stanza start:(VLLocation)start end:(VLLocation)end;
2006-12-02 03:35:21 +00:00
@end
// Local Variables:
// mode:ObjC
// End: