コミットメタ情報
ログメッセージ
The background of the audio effect layout panel is now correctly drawn.
変更サマリ
差分
| | @@ -23,6 +23,8 @@ | 23 | 23 | IBOutlet NSSplitView *splitView; | 24 | 24 | IBOutlet AudioEffectLayoutView *layoutView; | 25 | 25 | IBOutlet NSView *customContainerView; | | 26 | + IBOutlet NSScrollView *effectLayoutScrollView; | | 27 | + IBOutlet NSScrollView *effectContentScrollView; | 26 | 28 | NSView *customView; | 27 | 29 | int busIndex; | 28 | 30 | int selectedEffect; |
| | @@ -275,6 +275,10 @@ | 275 | 275 | selector: @selector(updateRequested:) | 276 | 276 | name: sAudioEffectPanelShouldUpdate | 277 | 277 | object:nil]; | | 278 | + [effectLayoutScrollView setDrawsBackground:YES]; | | 279 | + [effectLayoutScrollView setBackgroundColor:[NSColor windowBackgroundColor]]; | | 280 | + [effectContentScrollView setDrawsBackground:YES]; | | 281 | + [effectContentScrollView setBackgroundColor:[NSColor windowBackgroundColor]]; | 278 | 282 | [self updateWindow]; | 279 | 283 | } | 280 | 284 | |
| | @@ -15,9 +15,10 @@ | 15 | 15 | return YES; | 16 | 16 | } | 17 | 17 | | 18 | | -- (void)drawRect:(NSRect)rect | | 18 | +/*- (void)drawRect:(NSRect)rect | 19 | 19 | { | | 20 | + NSLog(@"rect=%@, bounds=%@", NSStringFromRect(rect), NSStringFromRect([self bounds])); | 20 | 21 | NSDrawWindowBackground(rect); | 21 | 22 | } | 22 | | - | | 23 | +*/ | 23 | 24 | @end |
旧リポジトリブラウザで表示
|