Changeset 5019
- Timestamp:
- 10/27/07 12:41:40 (8 months ago)
- Files:
-
- Footagehead/trunk/English.lproj/Slideshow.nib/classes.nib (modified) (1 diff)
- Footagehead/trunk/English.lproj/Slideshow.nib/info.nib (modified) (1 diff)
- Footagehead/trunk/English.lproj/Slideshow.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/FHImageView.h (modified) (2 diffs)
- Footagehead/trunk/FHImageView.m (modified) (9 diffs)
- Footagehead/trunk/FHSlideshowController.h (modified) (1 diff)
- Footagehead/trunk/FHSlideshowController.m (modified) (5 diffs)
- Footagehead/trunk/German.lproj/Slideshow.nib/classes.nib (modified) (1 diff)
- Footagehead/trunk/German.lproj/Slideshow.nib/info.nib (modified) (1 diff)
- Footagehead/trunk/German.lproj/Slideshow.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/Japanese.lproj/Slideshow.nib/classes.nib (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/Slideshow.nib/info.nib (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/Slideshow.nib/keyedobjects.nib (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Footagehead/trunk/English.lproj/Slideshow.nib/classes.nib
r4906 r5019 1 { 2 IBClasses = ( 3 { 4 CLASS = FHImageView; 5 LANGUAGE = ObjC; 6 OUTLETS = {"_scrollView" = NSScrollView; }; 7 SUPERCLASS = NSView; 8 }, 9 { 10 CLASS = FHSlideshowController; 11 LANGUAGE = ObjC; 12 SUPERCLASS = FHWindowController; 13 }, 14 {CLASS = FHSlideshowWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, 15 { 16 ACTIONS = { 17 firstFile = id; 18 lastFile = id; 19 nextImage = id; 20 nextPage = id; 21 previousImage = id; 22 previousPage = id; 23 rotateLeft = id; 24 rotateRight = id; 25 scalingMode = id; 26 }; 27 CLASS = FHWindowController; 28 LANGUAGE = ObjC; 29 OUTLETS = {"_imageView" = FHImageView; "_progressIndicator" = NSProgressIndicator; }; 30 SUPERCLASS = WIWindowController; 31 }, 32 {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 33 { 34 CLASS = WIWindowController; 35 LANGUAGE = ObjC; 36 SUPERCLASS = NSWindowController; 37 } 38 ); 39 IBVersion = 1; 40 } 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 <plist version="1.0"> 4 <dict> 5 <key>IBClasses</key> 6 <array> 7 <dict> 8 <key>CLASS</key> 9 <string>FirstResponder</string> 10 <key>LANGUAGE</key> 11 <string>ObjC</string> 12 <key>SUPERCLASS</key> 13 <string>NSObject</string> 14 </dict> 15 <dict> 16 <key>CLASS</key> 17 <string>NSObject</string> 18 <key>LANGUAGE</key> 19 <string>ObjC</string> 20 </dict> 21 <dict> 22 <key>CLASS</key> 23 <string>FHImageView</string> 24 <key>LANGUAGE</key> 25 <string>ObjC</string> 26 <key>OUTLETS</key> 27 <dict> 28 <key>_delegate</key> 29 <string>id</string> 30 <key>_scrollView</key> 31 <string>NSScrollView</string> 32 </dict> 33 <key>SUPERCLASS</key> 34 <string>NSView</string> 35 </dict> 36 <dict> 37 <key>CLASS</key> 38 <string>WIWindowController</string> 39 <key>LANGUAGE</key> 40 <string>ObjC</string> 41 <key>SUPERCLASS</key> 42 <string>NSWindowController</string> 43 </dict> 44 <dict> 45 <key>ACTIONS</key> 46 <dict> 47 <key>firstFile</key> 48 <string>id</string> 49 <key>lastFile</key> 50 <string>id</string> 51 <key>nextFile</key> 52 <string>id</string> 53 <key>nextImage</key> 54 <string>id</string> 55 <key>nextPage</key> 56 <string>id</string> 57 <key>previousFile</key> 58 <string>id</string> 59 <key>previousImage</key> 60 <string>id</string> 61 <key>previousPage</key> 62 <string>id</string> 63 <key>rotateLeft</key> 64 <string>id</string> 65 <key>rotateRight</key> 66 <string>id</string> 67 <key>scalingMode</key> 68 <string>id</string> 69 <key>spreadMode</key> 70 <string>id</string> 71 <key>spreadRightToLeft</key> 72 <string>id</string> 73 </dict> 74 <key>CLASS</key> 75 <string>FHWindowController</string> 76 <key>LANGUAGE</key> 77 <string>ObjC</string> 78 <key>OUTLETS</key> 79 <dict> 80 <key>_imageView</key> 81 <string>FHImageView</string> 82 <key>_progressIndicator</key> 83 <string>NSProgressIndicator</string> 84 </dict> 85 <key>SUPERCLASS</key> 86 <string>WIWindowController</string> 87 </dict> 88 <dict> 89 <key>ACTIONS</key> 90 <dict> 91 <key>showSlideshowWindow</key> 92 <string>id</string> 93 </dict> 94 <key>CLASS</key> 95 <string>FHSlideshowController</string> 96 <key>LANGUAGE</key> 97 <string>ObjC</string> 98 <key>OUTLETS</key> 99 <dict> 100 <key>_labelTextField</key> 101 <string>NSTextField</string> 102 </dict> 103 <key>SUPERCLASS</key> 104 <string>FHWindowController</string> 105 </dict> 106 </array> 107 <key>IBVersion</key> 108 <string>1</string> 109 </dict> 110 </plist> Footagehead/trunk/English.lproj/Slideshow.nib/info.nib
r4908 r5019 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 3 <plist version="1.0"> 4 4 <dict> 5 <key>IBDocumentLocation</key>6 <string>69 10 356 240 0 0 1920 1178 </string>7 5 <key>IBFramework Version</key> 8 <string>446.1</string> 6 <string>629</string> 7 <key>IBLastKnownRelativeProjectPath</key> 8 <string>../../Footagehead.xcodeproj</string> 9 <key>IBOldestOS</key> 10 <integer>5</integer> 9 11 <key>IBOpenObjects</key> 10 12 <array> 11 <integer> 5</integer>13 <integer>6</integer> 12 14 </array> 13 15 <key>IBSystem Version</key> 14 <string>8R2218</string> 16 <string>9A581</string> 17 <key>targetFramework</key> 18 <string>IBCocoaFramework</string> 15 19 </dict> 16 20 </plist> Footagehead/trunk/FHImageView.h
r4902 r5019 58 58 NSColor *_backgroundColor; 59 59 60 NSString *_label;61 NSMutableDictionary *_labelAttributes;62 63 60 BOOL _dragging; 64 61 BOOL _adjustingFrameSize; … … 80 77 - (void)setBackgroundColor:(NSColor *)color; 81 78 - (NSColor *)backgroundColor; 82 - (void)setLabel:(NSString *)label;83 - (NSString *)label;84 79 85 80 @end Footagehead/trunk/FHImageView.m
r4906 r5019 49 49 _backgroundColor = [[NSColor whiteColor] retain]; 50 50 51 _labelAttributes = [[NSMutableDictionary alloc] initWithObjectsAndKeys:52 [NSFont boldSystemFont], NSFontAttributeName,53 [NSColor blackColor], NSForegroundColorAttributeName,54 NULL];55 56 51 [[NSNotificationCenter defaultCenter] addObserver:self 57 52 selector:@selector(_FH_viewFrameDidChange:) … … 134 129 135 130 - (void)_adjustFrameSize { 131 NSRect frame; 136 132 NSSize visibleSize, imageSize, frameSize; 137 133 CGFloat diff, scrollerWidth, widthAdjustment, heightAdjustment; … … 143 139 _adjustingFrameSize = YES; 144 140 145 [_scrollView setHasHorizontalScroller:NO]; 146 [_scrollView setHasVerticalScroller:NO]; 147 148 visibleSize = [_scrollView documentVisibleRect].size; 149 150 _adjustedImageScaling = _imageScaling; 151 152 if(_imageScaling == FHScaleNone || 153 _imageScaling == FHScaleWidthProportionally || 154 _imageScaling == FHScaleHeightProportionally) { 155 scrollerWidth = [NSScroller scrollerWidth]; 156 widthAdjustment = heightAdjustment = 0.0; 157 horizontalScroller = verticalScroller = NO; 158 159 imageSize = [self _scaledSizeForSize:_rotatedImageSize usingScaling:_imageScaling bounds:visibleSize]; 160 161 if(_imageScaling == FHScaleNone) { 162 if(imageSize.height > visibleSize.height && imageSize.width > visibleSize.width) 163 horizontalScroller = verticalScroller = YES; 164 else if(imageSize.height > visibleSize.height) 165 verticalScroller = YES; 166 else if(imageSize.width > visibleSize.width) 167 horizontalScroller = YES; 141 if(_scrollView) { 142 [_scrollView setHasHorizontalScroller:NO]; 143 [_scrollView setHasVerticalScroller:NO]; 144 145 visibleSize = [_scrollView documentVisibleRect].size; 146 147 _adjustedImageScaling = _imageScaling; 148 149 if(_imageScaling == FHScaleNone || 150 _imageScaling == FHScaleWidthProportionally || 151 _imageScaling == FHScaleHeightProportionally) { 152 scrollerWidth = [NSScroller scrollerWidth]; 153 widthAdjustment = heightAdjustment = 0.0; 154 horizontalScroller = verticalScroller = NO; 155 156 imageSize = [self _scaledSizeForSize:_rotatedImageSize usingScaling:_imageScaling bounds:visibleSize]; 157 158 if(_imageScaling == FHScaleNone) { 159 if(imageSize.height > visibleSize.height && imageSize.width > visibleSize.width) 160 horizontalScroller = verticalScroller = YES; 161 else if(imageSize.height > visibleSize.height) 162 verticalScroller = YES; 163 else if(imageSize.width > visibleSize.width) 164 horizontalScroller = YES; 165 } 166 else if(_imageScaling == FHScaleWidthProportionally) { 167 if(imageSize.height - visibleSize.height > scrollerWidth) { 168 diff = scrollerWidth - (visibleSize.width - imageSize.width); 169 170 if(diff > 0.0) 171 heightAdjustment = ceil((imageSize.height / imageSize.width) * diff); 172 173 verticalScroller = YES; 174 } else { 175 _adjustedImageScaling = FHScaleProportionally; 176 } 177 } 178 else if(_imageScaling == FHScaleHeightProportionally) { 179 if(imageSize.width - visibleSize.width > scrollerWidth) { 180 diff = scrollerWidth - (visibleSize.height - imageSize.height); 181 182 if(diff > 0.0) 183 widthAdjustment = ceil((imageSize.width / imageSize.height) * diff); 184 185 horizontalScroller = YES; 186 } else { 187 _adjustedImageScaling = FHScaleProportionally; 188 } 189 } 190 191 if(_imageScaling != _adjustedImageScaling) 192 imageSize = [self _scaledSizeForSize:_rotatedImageSize usingScaling:_adjustedImageScaling bounds:visibleSize]; 193 194 frameSize = NSMakeSize(MAX(visibleSize.width, imageSize.width), MAX(visibleSize.height, imageSize.height)); 195 frameSize.width -= widthAdjustment; 196 frameSize.height -= heightAdjustment; 197 198 [self setFrameSize:frameSize]; 199 200 [_scrollView setHasHorizontalScroller:horizontalScroller]; 201 [_scrollView setHasVerticalScroller:verticalScroller]; 202 203 [self scrollPoint:NSMakePoint(0.0, frameSize.height)]; 204 } else { 205 [self setFrameSize:visibleSize]; 168 206 } 169 else if(_imageScaling == FHScaleWidthProportionally) {170 if(imageSize.height - visibleSize.height > scrollerWidth) {171 diff = scrollerWidth - (visibleSize.width - imageSize.width);172 173 if(diff > 0.0)174 heightAdjustment = ceil((imageSize.height / imageSize.width) * diff);175 176 verticalScroller = YES;177 } else {178 _adjustedImageScaling = FHScaleProportionally;179 }180 }181 else if(_imageScaling == FHScaleHeightProportionally) {182 if(imageSize.width - visibleSize.width > scrollerWidth) {183 diff = scrollerWidth - (visibleSize.height - imageSize.height);184 185 if(diff > 0.0)186 widthAdjustment = ceil((imageSize.width / imageSize.height) * diff);187 188 horizontalScroller = YES;189 } else {190 _adjustedImageScaling = FHScaleProportionally;191 }192 }193 194 if(_imageScaling != _adjustedImageScaling)195 imageSize = [self _scaledSizeForSize:_rotatedImageSize usingScaling:_adjustedImageScaling bounds:visibleSize];196 197 frameSize = NSMakeSize(MAX(visibleSize.width, imageSize.width), MAX(visibleSize.height, imageSize.height));198 frameSize.width -= widthAdjustment;199 frameSize.height -= heightAdjustment;200 201 [self setFrameSize:frameSize];202 203 [_scrollView setHasHorizontalScroller:horizontalScroller];204 [_scrollView setHasVerticalScroller:verticalScroller];205 206 [self scrollPoint:NSMakePoint(0.0, frameSize.height)];207 207 } else { 208 [self setFrameSize:visibleSize]; 208 visibleSize = [[self window] frame].size; 209 frameSize = [self _scaledSizeForSize:_rotatedImageSize usingScaling:_imageScaling bounds:visibleSize]; 210 frame.size = frameSize; 211 frame.origin.x = floor((visibleSize.width - frameSize.width) / 2.0); 212 frame.origin.y = floor((visibleSize.height - frameSize.height) / 2.0); 213 WILogSize(frameSize); 214 [self setFrame:frame]; 215 _adjustedImageScaling = _imageScaling; 209 216 } 210 217 … … 283 290 [_backgroundColor release]; 284 291 285 [_label release];286 [_labelAttributes release];287 288 292 [super dealloc]; 289 293 } … … 411 415 - (void)setImageScaling:(FHImageScaling)imageScaling { 412 416 _imageScaling = imageScaling; 413 417 414 418 [self _adjustFrameSize]; 415 419 … … 443 447 444 448 - (void)setBackgroundColor:(NSColor *)color { 445 NSColor *textColor;446 447 449 [color retain]; 448 450 [_backgroundColor release]; … … 450 452 _backgroundColor = color; 451 453 452 if([_backgroundColor whiteComponent] < 0.5)453 textColor = [NSColor whiteColor];454 else455 textColor = [NSColor blackColor];456 457 [_labelAttributes setObject:textColor forKey:NSForegroundColorAttributeName];458 459 454 [self setNeedsDisplay:YES]; 460 455 } … … 464 459 - (NSColor *)backgroundColor { 465 460 return _backgroundColor; 466 }467 468 469 470 - (void)setLabel:(NSString *)label {471 [label retain];472 [_label release];473 474 _label = label;475 476 [self setNeedsDisplay:YES];477 }478 479 480 481 - (NSString *)label {482 return _label;483 461 } 484 462 … … 762 740 CGContextRestoreGState(context); 763 741 } 764 765 if(_label && [_label length] > 0)766 [_label drawAtPoint:NSMakePoint(10.0, 10.0) withAttributes:_labelAttributes];767 742 } 768 743 } Footagehead/trunk/FHSlideshowController.h
r4717 r5019 32 32 33 33 @interface FHSlideshowController : FHWindowController { 34 IBOutlet NSTextField *_labelTextField; 35 34 36 FHSlideshowWindow *_slideshowWindow; 35 37 Footagehead/trunk/FHSlideshowController.m
r4891 r5019 85 85 index = [FHSettings intForKey:FHFullscreenScreen]; 86 86 87 if(index > [[NSScreen screens] count])87 if(index >= [[NSScreen screens] count]) 88 88 index = 0; 89 89 … … 107 107 [_slideshowWindow setReleasedWhenClosed:NO]; 108 108 [_slideshowWindow setTitle:[[self window] title]]; 109 [_slideshowWindow setContentView:[_imageView retain]]; 109 [[_slideshowWindow contentView] addSubview:_imageView]; 110 [[_slideshowWindow contentView] addSubview:_labelTextField]; 110 111 111 112 switch([FHSettings intForKey:FHFullscreenBackground]) { … … 116 117 } 117 118 119 if([color whiteComponent] < 0.5) 120 [_labelTextField setTextColor:[NSColor whiteColor]]; 121 else 122 [_labelTextField setTextColor:[NSColor blackColor]]; 123 124 [_slideshowWindow setBackgroundColor:color]; 118 125 [_imageView setBackgroundColor:color]; 119 126 [_imageView setImageScaling:[FHSettings intForKey:FHImageScalingMethod]]; … … 208 215 } 209 216 210 [_ imageView setLabel:[NSSWF:NSLS(@"%@ %C %u/%u", @"'image.jpg - 1/10'"),217 [_labelTextField setStringValue:[NSSWF:NSLS(@"%@ %C %u/%u", @"'image.jpg - 1/10'"), 211 218 [file name], 212 219 0x2014, … … 223 230 } 224 231 232 233 234 235 #pragma mark - 236 237 - (void)slideshow:(id)sender { 238 [_slideshowWindow close]; 239 } 240 225 241 @end Footagehead/trunk/German.lproj/Slideshow.nib/classes.nib
r4909 r5019 1 { 2 IBClasses = ( 3 { 4 CLASS = FHImageView; 5 LANGUAGE = ObjC; 6 OUTLETS = {"_scrollView" = NSScrollView; }; 7 SUPERCLASS = NSView; 8 }, 9 { 10 ACTIONS = {showSlideshowWindow = id; }; 11 CLASS = FHSlideshowController; 12 LANGUAGE = ObjC; 13 SUPERCLASS = FHWindowController; 14 }, 15 {CLASS = FHSlideshowWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, 16 { 17 ACTIONS = { 18 firstFile = id; 19 lastFile = id; 20 nextFile = id; 21 nextImage = id; 22 nextPage = id; 23 previousFile = id; 24 previousImage = id; 25 previousPage = id; 26 rotateLeft = id; 27 rotateRight = id; 28 scalingMode = id; 29 spreadMode = id; 30 spreadRightToLeft = id; 31 }; 32 CLASS = FHWindowController; 33 LANGUAGE = ObjC; 34 OUTLETS = {"_imageView" = FHImageView; "_progressIndicator" = NSProgressIndicator; }; 35 SUPERCLASS = WIWindowController; 36 }, 37 {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 38 { 39 CLASS = WIWindowController; 40 LANGUAGE = ObjC; 41 SUPERCLASS = NSWindowController; 42 } 43 ); 44 IBVersion = 1; 45 } 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 <plist version="1.0"> 4 <dict> 5 <key>IBClasses</key> 6 <array> 7 <dict> 8 <key>CLASS</key> 9 <string>FirstResponder</string> 10 <key>LANGUAGE</key> 11 <string>ObjC</string> 12 <key>SUPERCLASS</key> 13 <string>NSObject</string> 14 </dict> 15 <dict> 16 <key>CLASS</key> 17 <string>NSObject</string> 18 <key>LANGUAGE</key> 19 <string>ObjC</string> 20 </dict> 21 <dict> 22 <key>CLASS</key> 23 <string>FHImageView</string> 24 <key>LANGUAGE</key> 25 <string>ObjC</string> 26 <key>OUTLETS</key> 27 <dict> 28 <key>_delegate</key> 29 <string>id</string> 30 <key>_scrollView</key> 31 <string>NSScrollView</string> 32 </dict> 33 <key>SUPERCLASS</key> 34 <string>NSView</string> 35 </dict> 36 <dict> 37 <key>CLASS</key> 38 <string>WIWindowController</string> 39 <key>LANGUAGE</key> 40 <string>ObjC</string> 41 <key>SUPERCLASS</key> 42 <string>NSWindowController</string> 43 </dict> 44 <dict> 45 <key>ACTIONS</key> 46 <dict> 47 <key>firstFile</key> 48 <string>id</string> 49 <key>lastFile</key> 50 <string>id</string> 51 <key>nextFile</key> 52 <string>id</string> 53 <key>nextImage</key> 54 <string>id</string> 55 <key>nextPage</key> 56 <string>id</string> 57 <key>previousFile</key> 58 <string>id</string> 59 <key>previousImage</key> 60 <string>id</string> 61 <key>previousPage</key> 62 <string>id</string> 63 <key>rotateLeft</key> 64 <string>id</string> 65 <key>rotateRight</key> 66 <string>id</string> 67 <key>scalingMode</key> 68 <string>id</string> 69 <key>spreadMode</key> 70 <string>id</string> 71 <key>spreadRightToLeft</key> 72 <string>id</string> 73 </dict> 74 <key>CLASS</key> 75 <string>FHWindowController</string> 76 <key>LANGUAGE</key> 77 <string>ObjC</string> 78 <key>OUTLETS</key> 79 <dict> 80 <key>_imageView</key> 81 <string>FHImageView</string> 82 <key>_progressIndicator</key> 83 <string>NSProgressIndicator</string> 84 </dict> 85 <key>SUPERCLASS</key> 86 <string>WIWindowController</string> 87 </dict> 88 <dict> 89 <key>ACTIONS</key> 90 <dict> 91 <key>showSlideshowWindow</key> 92 <string>id</string> 93 </dict> 94 <key>CLASS</key> 95 <string>FHSlideshowController</string> 96 <key>LANGUAGE</key> 97 <string>ObjC</string> 98 <key>OUTLETS</key> 99 <dict> 100 <key>_labelTextField</key> 101 <string>NSTextField</string> 102 </dict> 103 <key>SUPERCLASS</key> 104 <string>FHWindowController</string> 105 </dict> 106 </array> 107 <key>IBVersion</key> 108 <string>1</string> 109 </dict> 110 </plist> Footagehead/trunk/German.lproj/Slideshow.nib/info.nib
r4908 r5019 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 3 <plist version="1.0"> 4 4 <dict> 5 <key>IBDocumentLocation</key>6 <string>69 10 356 240 0 0 1920 1178 </string>7 5 <key>IBFramework Version</key> 8 <string>446.1</string> 6 <string>629</string> 7 <key>IBLastKnownRelativeProjectPath</key> 8 <string>../../Footagehead.xcodeproj</string> 9 <key>IBOldestOS</key> 10 <integer>5</integer> 9 11 <key>IBOpenObjects</key> 10 12 <array> 11 <integer> 5</integer>13 <integer>6</integer> 12 14 </array> 13 15 <key>IBSystem Version</key> 14 <string>8R2218</string> 16 <string>9A581</string> 17 <key>targetFramework</key> 18 <string>IBCocoaFramework</string> 15 19 </dict> 16 20 </plist> Footagehead/trunk/Japanese.lproj/Slideshow.nib/classes.nib
r4909 r5019 1 { 2 IBClasses = ( 3 { 4 CLASS = FHImageView; 5 LANGUAGE = ObjC; 6 OUTLETS = {"_scrollView" = NSScrollView; }; 7 SUPERCLASS = NSView; 8 }, 9 { 10 ACTIONS = {showSlideshowWindow = id; }; 11 CLASS = FHSlideshowController; 12 LANGUAGE = ObjC; 13 SUPERCLASS = FHWindowController; 14 }, 15 {CLASS = FHSlideshowWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, 16 { 17 ACTIONS = { 18 firstFile = id; 19 lastFile = id; 20 nextFile = id; 21 nextImage = id; 22 nextPage = id; 23 previousFile = id; 24 previousImage = id; 25 previousPage = id; 26 rotateLeft = id; 27 rotateRight = id; 28 scalingMode = id; 29 spreadMode = id; 30 spreadRightToLeft = id; 31 }; 32 CLASS = FHWindowController; 33 LANGUAGE = ObjC; 34 OUTLETS = {"_imageView" = FHImageView; "_progressIndicator" = NSProgressIndicator; }; 35 SUPERCLASS = WIWindowController; 36 }, 37 {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 38 { 39 CLASS = WIWindowController; 40 LANGUAGE = ObjC; 41 SUPERCLASS = NSWindowController; 42 } 43 ); 44 IBVersion = 1; 45 } 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 <plist version="1.0"> 4 <dict> 5 <key>IBClasses</key> 6 <array> 7 <dict> 8 <key>CLASS</key> 9 <string>FirstResponder</string> 10 <key>LANGUAGE</key> 11 <string>ObjC</string> 12 <key>SUPERCLASS</key> 13 <string>NSObject</string> 14 </dict> 15 <dict> 16 <key>CLASS</key> 17 <string>NSObject</string> 18 <key>LANGUAGE</key> 19 <string>ObjC</string> 20 </dict> 21 <dict> 22 <key>CLASS</key> 23 <string>FHImageView</string> 24 <key>LANGUAGE</key> 25 <string>ObjC</string> 26 <key>OUTLETS</key> 27 <dict> 28 <key>_delegate</key> 29 <string>id</string> 30 <key>_scrollView</key> 31 <string>NSScrollView</string> 32 </dict> 33 <key>SUPERCLASS</key> 34 <string>NSView</string> 35 </dict> 36 <dict> 37 <key>CLASS</key> 38 <string>WIWindowController</string> 39 <key>LANGUAGE</key> 40 <string>ObjC</string> 41 <key>SUPERCLASS</key> 42 <string>NSWindowController</string> 43 </dict> 44 <dict> 45 <key>ACTIONS</key> 46 <dict> 47 <key>firstFile</key> 48 <string>id</string> 49 <key>lastFile</key> 50 <string>id</string> 51 <key>nextFile</key> 52 <string>id</string> 53 &nbs
