• R/O
  • SSH
  • HTTPS

alchemusica: コミット


コミットメタ情報

リビジョン148 (tree)
日時2017-12-17 15:18:27
作者toshinagata1964

ログメッセージ

The background of the audio effect layout panel is now correctly drawn.

変更サマリ

差分

--- trunk/Classes/AudioEffectPanelController.h (revision 147)
+++ trunk/Classes/AudioEffectPanelController.h (revision 148)
@@ -23,6 +23,8 @@
2323 IBOutlet NSSplitView *splitView;
2424 IBOutlet AudioEffectLayoutView *layoutView;
2525 IBOutlet NSView *customContainerView;
26+ IBOutlet NSScrollView *effectLayoutScrollView;
27+ IBOutlet NSScrollView *effectContentScrollView;
2628 NSView *customView;
2729 int busIndex;
2830 int selectedEffect;
--- trunk/Classes/AudioEffectPanelController.m (revision 147)
+++ trunk/Classes/AudioEffectPanelController.m (revision 148)
@@ -275,6 +275,10 @@
275275 selector: @selector(updateRequested:)
276276 name: sAudioEffectPanelShouldUpdate
277277 object:nil];
278+ [effectLayoutScrollView setDrawsBackground:YES];
279+ [effectLayoutScrollView setBackgroundColor:[NSColor windowBackgroundColor]];
280+ [effectContentScrollView setDrawsBackground:YES];
281+ [effectContentScrollView setBackgroundColor:[NSColor windowBackgroundColor]];
278282 [self updateWindow];
279283 }
280284
--- trunk/Classes/MyClipView.m (revision 147)
+++ trunk/Classes/MyClipView.m (revision 148)
@@ -15,9 +15,10 @@
1515 return YES;
1616 }
1717
18-- (void)drawRect:(NSRect)rect
18+/*- (void)drawRect:(NSRect)rect
1919 {
20+ NSLog(@"rect=%@, bounds=%@", NSStringFromRect(rect), NSStringFromRect([self bounds]));
2021 NSDrawWindowBackground(rect);
2122 }
22-
23+*/
2324 @end
旧リポジトリブラウザで表示