From 266308da7d80f04bce98af84fd421e2635b2e82a Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 11 Sep 2011 01:54:34 +0200 Subject: [PATCH] Hide playback editor --- English.lproj/VLDocument.xib | 161 ++++++++++++++++++++++++-------- Sources/VLSheetViewSelection.mm | 6 ++ Sources/VLSheetWindow.h | 1 + Sources/VLSheetWindow.mm | 5 + 4 files changed, 132 insertions(+), 41 deletions(-) diff --git a/English.lproj/VLDocument.xib b/English.lproj/VLDocument.xib index 8b922ec..2d14c48 100644 --- a/English.lproj/VLDocument.xib +++ b/English.lproj/VLDocument.xib @@ -2,10 +2,10 @@ 1070 - 11B26 + 11C48 1617 - 1138 - 566.00 + 1138.18 + 567.00 com.apple.InterfaceBuilder.CocoaPlugin 1617 @@ -2403,7 +2403,7 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA {213, 107} - + 256 @@ -2411,7 +2411,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{334, 12}, {82, 32}} - 1001 YES @@ -2436,8 +2435,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{416, 12}, {113, 32}} - - 1000 YES @@ -2469,7 +2466,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{109, 72}, {69, 17}} - YES @@ -2487,7 +2483,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{164, 66}, {65, 26}} - YES @@ -2580,7 +2575,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{109, 46}, {62, 17}} - YES @@ -2598,7 +2592,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{164, 40}, {65, 26}} - YES @@ -2691,7 +2684,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{15, 72}, {92, 17}} - YES @@ -2709,7 +2701,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{15, 14}, {114, 17}} - YES @@ -2727,7 +2718,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA256 {{164, 8}, {65, 26}} - YES @@ -2863,13 +2853,11 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA {{1, 1}, {244, 100}} - {{17, 200}, {246, 116}} - {0, 0} @@ -2902,7 +2890,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 153}, {60, 26}} - YES @@ -2985,7 +2972,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{99, 158}, {54, 17}} - YES @@ -3003,7 +2989,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{97, 214}, {54, 17}} - YES @@ -3021,7 +3006,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{15, 185}, {69, 17}} - YES @@ -3039,7 +3023,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{99, 185}, {54, 17}} - YES @@ -3057,7 +3040,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 181}, {60, 26}} - YES @@ -3139,7 +3121,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{76, 103}, {77, 17}} - YES @@ -3157,7 +3138,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{15, 130}, {55, 17}} - YES @@ -3175,7 +3155,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{120, 130}, {33, 17}} - YES @@ -3193,7 +3172,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 126}, {60, 26}} - YES @@ -3276,7 +3254,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 99}, {60, 26}} - YES @@ -3359,7 +3336,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{55, 75}, {98, 17}} - YES @@ -3377,7 +3353,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 71}, {60, 26}} - YES @@ -3460,7 +3435,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{59, 47}, {94, 17}} - YES @@ -3478,7 +3452,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 43}, {60, 26}} - YES @@ -3561,7 +3534,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{65, 19}, {88, 17}} - YES @@ -3579,7 +3551,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 15}, {60, 26}} - YES @@ -3662,7 +3633,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{156, 209}, {60, 26}} - YES @@ -3744,7 +3714,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA268 {{15, 214}, {69, 17}} - YES @@ -3760,13 +3729,11 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA {{1, 1}, {231, 243}} - {{293, 56}, {233, 259}} - {0, 0} @@ -3788,8 +3755,6 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA {537, 336} - - {{0, 0}, {2560, 1418}} @@ -3905,7 +3870,7 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAAhidden: editTarget - + hidden: editTarget @@ -4512,6 +4477,29 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA 100526 + + + hidden2: editTarget.hidden + + + + + + hidden2: editTarget.hidden + hidden2 + editTarget.hidden + + + + + + + + 2 + + + 100528 + @@ -6490,7 +6478,7 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA - 100526 + 100528 @@ -6512,6 +6500,84 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA + + IKImageView + + crop: + id + + + crop: + + crop: + id + + + + IBProjectSource + ./Classes/IKImageView.h + + + + NSDocument + + id + id + id + id + id + id + + + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + IBProjectSource + ./Classes/NSDocument.h + + + + VLLogWindow + NSWindowController + + log + id + + + log + + log + id + + + + IBProjectSource + ./Classes/VLLogWindow.h + + VLPDFWindow NSWindowController @@ -6547,6 +6613,7 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAAid id id + id id id id @@ -6594,6 +6661,10 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAAinsertJumpToCoda: id + + insertMeasure: + id + insertStartCoda: id @@ -6766,6 +6837,14 @@ AAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIENvbXB1dGVyLCBJbmMuLCAyMDA1AAAAAA./Classes/VLSheetWindow.h + + VLToolbarButton + NSButton + + IBProjectSource + ./Classes/VLToolbarButton.h + + 0 diff --git a/Sources/VLSheetViewSelection.mm b/Sources/VLSheetViewSelection.mm index a9d8f81..4b4a036 100644 --- a/Sources/VLSheetViewSelection.mm +++ b/Sources/VLSheetViewSelection.mm @@ -32,6 +32,7 @@ - (VLPlaybackEditable *)initWithView:(VLSheetView *)view; - (void) userEvent:(const VLMIDIUserEvent *)event; - (void) highlightCursor; +- (BOOL) hidden; @end @@ -77,6 +78,11 @@ [fView highlightChordInMeasure:fChordMeasure at:fChordAt]; } +- (BOOL) hidden +{ + return YES; +} + @end @interface NSMenuItem (VLSetStateToOff) diff --git a/Sources/VLSheetWindow.h b/Sources/VLSheetWindow.h index 813cef2..f8957be 100644 --- a/Sources/VLSheetWindow.h +++ b/Sources/VLSheetWindow.h @@ -24,6 +24,7 @@ - (void) highlightCursor; - (BOOL) canExtendSelection:(VLRegion)region; - (void) extendSelection:(size_t)measure at:(VLFract)at; +- (BOOL) hidden; @end diff --git a/Sources/VLSheetWindow.mm b/Sources/VLSheetWindow.mm index f8a205e..a6b1086 100644 --- a/Sources/VLSheetWindow.mm +++ b/Sources/VLSheetWindow.mm @@ -53,6 +53,11 @@ { } +- (BOOL)hidden +{ + return NO; +} + @end @implementation VLSheetWindow