Changeset 3628
- Timestamp:
- 03/18/07 17:20:57 (1 year ago)
- Files:
-
- trunk/Controllers/JVChatWindowController.m (modified) (2 diffs)
- trunk/Controllers/JVSidebarChatWindowController.m (modified) (2 diffs)
- trunk/Controllers/JVTabbedChatWindowController.m (modified) (4 diffs)
- trunk/Panels/JVChatConsolePanel.m (modified) (2 diffs)
- trunk/Panels/JVDirectChatPanel.m (modified) (2 diffs)
- trunk/Views/JVStyleView.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Controllers/JVChatWindowController.m
r3544 r3628 988 988 if( ! item ) return; 989 989 990 [[self window] disableFlushWindow];991 992 990 if( ( [item conformsToProtocol:@protocol( JVChatViewController )] && item != (id) _activeViewController ) || ( ! _activeViewController && [[item parent] conformsToProtocol:@protocol( JVChatViewController )] && ( item = [item parent] ) ) ) { 993 991 id lastActive = _activeViewController; … … 1021 1019 1022 1020 [self _refreshWindowTitle]; 1023 1024 if( [[self window] isFlushWindowDisabled] )1025 [[self window] enableFlushWindow];1026 [[self window] displayIfNeeded];1027 1021 } 1028 1022 trunk/Controllers/JVSidebarChatWindowController.m
r3471 r3628 74 74 if( ! item ) return; 75 75 76 [[self window] disableFlushWindow];77 78 76 if( ( [item conformsToProtocol:@protocol( JVChatViewController )] && item != (id) _activeViewController ) || ( ! _activeViewController && [[item parent] conformsToProtocol:@protocol( JVChatViewController )] && ( item = [item parent] ) ) ) { 79 77 id lastActive = _activeViewController; … … 110 108 111 109 [self _refreshWindowTitle]; 112 113 if( [[self window] isFlushWindowDisabled] )114 [[self window] enableFlushWindow];115 [[self window] displayIfNeeded];116 110 } 117 111 @end trunk/Controllers/JVTabbedChatWindowController.m
r3544 r3628 517 517 if( absolute || ( distance > -1 && distance < 1 ) ) distance = destHeight - tabSize.height; 518 518 519 [[self window] disableFlushWindow];520 521 519 tabSize.height += distance; 522 520 [customTabsView setFrameSize:tabSize]; … … 530 528 [tabView setNeedsDisplay:YES]; 531 529 532 if( [[self window] isFlushWindowDisabled] )533 [[self window] enableFlushWindow];534 [[self window] displayIfNeeded];535 536 530 // return YES when the desired height is reached 537 531 return ( tabSize.height == destHeight ); … … 541 535 id item = [(JVChatTabItem *)[tabView selectedTabViewItem] chatViewController]; 542 536 if( ! item ) return; 543 544 [[self window] disableFlushWindow];545 537 546 538 if( ( [item conformsToProtocol:@protocol( JVChatViewController )] && item != (id) _activeViewController ) || ( ! _activeViewController && [[item parent] conformsToProtocol:@protocol( JVChatViewController )] && ( item = [item parent] ) ) ) { … … 571 563 572 564 [self _refreshWindowTitle]; 573 574 if( [[self window] isFlushWindowDisabled] )575 [[self window] enableFlushWindow];576 [[self window] displayIfNeeded];577 565 } 578 566 trunk/Panels/JVChatConsolePanel.m
r3597 r3628 478 478 sendFrame.origin.y = NSHeight( displayFrame ) + dividerThickness; 479 479 480 [[display window] disableFlushWindow]; // prevent any draw (white) flashing that might occur481 482 480 NSScrollView *scrollView = [display enclosingScrollView]; 483 481 NSScroller *scroller = [scrollView verticalScroller]; … … 493 491 494 492 [splitView setNeedsDisplay:YES]; // makes the divider redraw correctly later 495 if( [[display window] isFlushWindowDisabled] )496 [[display window] enableFlushWindow]; // flush everything we have drawn497 [[display window] displayIfNeeded];498 493 } 499 494 trunk/Panels/JVDirectChatPanel.m
r3614 r3628 1301 1301 sendFrame.origin.y = NSHeight( webFrame ) + dividerThickness; 1302 1302 1303 [[display window] disableFlushWindow]; // prevent any draw (white) flashing that might occur1304 1305 1303 JVMarkedScroller *scroller = [display verticalMarkedScroller]; 1306 1304 if( ! scroller || [scroller floatValue] >= 0.985 ) _scrollerIsAtBottom = YES; … … 1314 1312 1315 1313 [splitView setNeedsDisplay:YES]; // makes the divider redraw correctly later 1316 if( [[display window] isFlushWindowDisabled] )1317 [[display window] enableFlushWindow]; // flush everything we have drawn1318 [[display window] displayIfNeeded];1319 1314 } 1320 1315 trunk/Views/JVStyleView.m
r3627 r3628 577 577 [self clearScrollbarMarks]; 578 578 579 [[self window] displayIfNeeded];580 579 if( [[self window] isFlushWindowDisabled] ) 581 580 [[self window] enableFlushWindow]; 582 [[self window] flushWindowIfNeeded];583 581 584 582 [self performSelector:@selector( _contentFrameIsReady ) withObject:nil afterDelay:0.];
