Changeset 2046 for trunk/AICustomTabDragWindow.m
- Timestamp:
- 10/21/04 22:11:14 (4 years ago)
- Files:
-
- trunk/AICustomTabDragWindow.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/AICustomTabDragWindow.m
r1823 r2046 34 34 floaterTabImage = [[self dragTabImageForTabCell:inTabCell inCustomTabsView:inTabView] retain]; 35 35 floaterWindowImage = [[self dragWindowImageForWindow:[inTabView window] customTabsView:inTabView tabCell:inTabCell] retain]; 36 useFancyAnimations = ( NSAppKitVersionNumber >= 700. && floaterWindowImage);36 useFancyAnimations = ( floaterWindowImage ? YES : NO ); 37 37 38 38 if(useFancyAnimations){ 39 39 //Create a floating window for our tab 40 40 dragTabFloater = [ESFloater floaterWithImage:floaterTabImage styleMask:NSBorderlessWindowMask title:nil]; 41 [dragTabFloater setMaxOpacity: ( transparent ? 0.75 : 1. )];41 [dragTabFloater setMaxOpacity:1.0]; 42 42 43 43 //Create a floating window for the stand-alone window our tab would produce 44 dragWindowFloater = [ESFloater floaterWithImage:floaterWindowImage styleMask: [[inTabView window] styleMask]title:[[inTabView window] title]];45 [dragWindowFloater setMaxOpacity:( transparent ? 0.75 : 1.)];44 dragWindowFloater = [ESFloater floaterWithImage:floaterWindowImage styleMask:NSTitledWindowMask title:[[inTabView window] title]]; 45 [dragWindowFloater setMaxOpacity:(transparent ? 0.75 : 1.00)]; 46 46 } 47 47
