Changeset 3876
- Timestamp:
- 03/04/06 18:37:34 (3 years ago)
- Files:
-
- Footagehead/trunk/Black.tiff (added)
- Footagehead/trunk/English.lproj/Localizable.strings (modified) (2 diffs)
- Footagehead/trunk/English.lproj/MainMenu.nib/classes.nib (modified) (1 diff)
- Footagehead/trunk/English.lproj/MainMenu.nib/info.nib (modified) (1 diff)
- Footagehead/trunk/English.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/English.lproj/MainMenu.nib/objects.nib (modified) (previous)
- Footagehead/trunk/English.lproj/ReleaseNotes.rtf (modified) (3 diffs)
- Footagehead/trunk/FHController.h (modified) (1 diff)
- Footagehead/trunk/FHController.m (modified) (9 diffs)
- Footagehead/trunk/FHFileHandler.m (modified) (1 diff)
- Footagehead/trunk/FHSettings.h (modified) (1 diff)
- Footagehead/trunk/FHSettings.m (modified) (1 diff)
- Footagehead/trunk/Footagehead.xcodeproj/project.pbxproj (modified) (4 diffs)
- Footagehead/trunk/Gray.tiff (added)
- Footagehead/trunk/Japanese.lproj/Localizable.strings (modified) (2 diffs)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/classes.nib (modified) (2 diffs)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/info.nib (modified) (2 diffs)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/objects.nib (modified) (previous)
- Footagehead/trunk/White.tiff (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Footagehead/trunk/English.lproj/Localizable.strings
r3295 r3876 11 11 "\"%@\"" = "\"%@\""; 12 12 13 /* No comment provided by engineer. */ 13 /* Color black */ 14 "Black" = "Black"; 15 16 /* Error message */ 14 17 "error opening image" = "error opening image"; 18 19 /* Color gray */ 20 "Gray" = "Gray"; 15 21 16 22 /* 'image' singular */ … … 29 35 "Screen %u, %.0fx%.0f" = "Screen %1$u, %2$.0fx%3$.0f"; 30 36 37 /* Color white */ 38 "White" = "White"; 39 Footagehead/trunk/English.lproj/MainMenu.nib/classes.nib
r3875 r3876 46 46 "_screenAutoSwitchButton" = NSButton; 47 47 "_screenAutoSwitchTextField" = NSTextField; 48 "_screenBackgroundPopUpButton" = NSPopUpButton; 48 49 "_screenPanel" = NSPanel; 49 50 "_screenPopUpButton" = NSPopUpButton; Footagehead/trunk/English.lproj/MainMenu.nib/info.nib
r3875 r3876 18 18 <key>IBOpenObjects</key> 19 19 <array> 20 <integer>438</integer> 20 21 <integer>21</integer> 21 22 </array> Footagehead/trunk/English.lproj/ReleaseNotes.rtf
r3387 r3876 1 {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf 2301 {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf330 2 2 {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 Helvetica-Oblique; 3 3 } … … 74 74 \cf2 1.2 75 75 \f1\b0 \cf0 \ 76 - Make binary universal\ 76 77 - Improved performance of loading and displaying all images\ 77 78 - Multithreaded preloading of next few images\ … … 80 81 - RSS/Atom stream support\ 81 82 - Zoom command\ 83 - Option to set background color in fullscreen mode\ 82 84 - Improvements to RAR/Zip handling\ 83 85 - Automatic detection of added/removed/renamed files and folders\ 84 86 - Deprecate Mac OS X 10.2 support\ 85 - Universal binary\86 87 87 88 \f0\b \cf2 \ Footagehead/trunk/FHController.h
r3875 r3876 55 55 IBOutlet NSPanel *_screenPanel; 56 56 IBOutlet NSPopUpButton *_screenPopUpButton; 57 IBOutlet NSPopUpButton *_screenBackgroundPopUpButton; 57 58 IBOutlet NSButton *_screenAutoSwitchButton; 58 59 IBOutlet NSTextField *_screenAutoSwitchTextField; Footagehead/trunk/FHController.m
r3875 r3876 58 58 - (void)_reloadPathMenu; 59 59 - (void)_reloadScreens; 60 - (void)_reloadScreenBackgrounds; 60 61 61 62 - (void)_startSpinning; … … 408 409 // --- display error in window mode 409 410 [_imageView setImage:[FHImage imageNamed:@"Error"]]; 410 [_rightStatusTextField setStringValue:[NSSWF:NSLS(@"error opening image", @" ")]];411 [_rightStatusTextField setStringValue:[NSSWF:NSLS(@"error opening image", @"Error message")]]; 411 412 } 412 413 } … … 598 599 599 600 601 - (void)_reloadScreenBackgrounds { 602 NSMenuItem *item; 603 604 [_screenBackgroundPopUpButton removeAllItems]; 605 606 item = [[NSMenuItem alloc] initWithTitle:NSLS(@"Black", @"Color black") action:NULL keyEquivalent:@""]; 607 [item setImage:[NSImage imageNamed:@"Black"]]; 608 [item setRepresentedObject:[NSColor blackColor]]; 609 [item setTag:FHBackgroundBlack]; 610 [[_screenBackgroundPopUpButton menu] addItem:item]; 611 [item release]; 612 613 item = [[NSMenuItem alloc] initWithTitle:NSLS(@"Gray", @"Color gray") action:NULL keyEquivalent:@""]; 614 [item setImage:[NSImage imageNamed:@"Gray"]]; 615 [item setRepresentedObject:[NSColor grayColor]]; 616 [item setTag:FHBackgroundGray]; 617 [[_screenBackgroundPopUpButton menu] addItem:item]; 618 [item release]; 619 620 item = [[NSMenuItem alloc] initWithTitle:NSLS(@"White", @"Color white") action:NULL keyEquivalent:@""]; 621 [item setImage:[NSImage imageNamed:@"White"]]; 622 [item setRepresentedObject:[NSColor whiteColor]]; 623 [item setTag:FHBackgroundWhite]; 624 [[_screenBackgroundPopUpButton menu] addItem:item]; 625 [item release]; 626 } 627 628 629 600 630 #pragma mark - 601 631 … … 775 805 if([FHSettings intForKey:FHScreen] < [_screenPopUpButton numberOfItems]) 776 806 [_screenPopUpButton selectItemAtIndex:[FHSettings intForKey:FHScreen]]; 807 808 [self _reloadScreenBackgrounds]; 809 810 [_screenBackgroundPopUpButton selectItemWithTag:[FHSettings intForKey:FHBackground]]; 777 811 778 812 [_screenAutoSwitchButton setState:[FHSettings boolForKey:FHAutoSwitch]]; … … 781 815 782 816 [_imageView setImageScaling:[FHSettings intForKey:FHImageScaling]]; 783 [_fullscreenImageView setBackgroundColor:[NSColor blackColor]];784 817 785 818 // --- create locks … … 1367 1400 modalForWindow:[self window] 1368 1401 modalDelegate:self 1369 didEndSelector:@selector(s creenPanelDidEnd:returnCode:contextInfo:)1402 didEndSelector:@selector(slideshowPanelDidEnd:returnCode:contextInfo:) 1370 1403 contextInfo:NULL]; 1371 1404 } … … 1373 1406 1374 1407 1375 - (void)s creenPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo {1408 - (void)slideshowPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo { 1376 1409 NSScreen *screen; 1377 1410 NSRect screenRect; … … 1383 1416 // --- save in prefs 1384 1417 [FHSettings setInt:[_screenPopUpButton indexOfSelectedItem] forKey:FHScreen]; 1418 [FHSettings setInt:[_screenBackgroundPopUpButton tagOfSelectedItem] forKey:FHBackground]; 1385 1419 [FHSettings setBool:[_screenAutoSwitchButton state] forKey:FHAutoSwitch]; 1386 1420 [FHSettings setInt:[_screenAutoSwitchTextField intValue] forKey:FHAutoSwitchTime]; … … 1407 1441 [_fullscreenWindow setDelegate:self]; 1408 1442 [_fullscreenWindow setReleasedWhenClosed:YES]; 1409 [_fullscreenWindow setBackgroundColor:[NSColor blackColor]];1410 1443 [_fullscreenWindow setTitle:[[self window] title]]; 1444 [_fullscreenImageView setBackgroundColor:[_screenBackgroundPopUpButton representedObjectOfSelectedItem]]; 1411 1445 [_fullscreenPanel setFrame:screenRect display:NO]; 1412 1446 [_fullscreenWindow setContentView:[[_fullscreenPanel contentView] retain]]; Footagehead/trunk/FHFileHandler.m
r3400 r3876 136 136 path = [_rootPath stringByAppendingPathComponent:name]; 137 137 138 if([name hasPrefix:@"."] )138 if([name hasPrefix:@"."]) 139 139 continue; 140 140 Footagehead/trunk/FHSettings.h
r3400 r3876 32 32 #define FHScreen @"FHScreen" 33 33 #define FHImageScaling @"FHImageScaling" 34 #define FHBackground @"FHBackground" 35 #define FHBackgroundBlack 0 36 #define FHBackgroundGray 1 37 #define FHBackgroundWhite 2 34 38 #define FHAutoSwitch @"FHAutoSwitch" 35 39 #define FHAutoSwitchTime @"FHAutoSwitchTime" Footagehead/trunk/FHSettings.m
r3400 r3876 40 40 [NSNumber numberWithInt:NSScaleProportionally], 41 41 FHImageScaling, 42 [NSNumber numberWithInt:FHBackgroundBlack], 43 FHBackground, 42 44 [NSNumber numberWithBool:NO], 43 45 FHAutoSwitch, Footagehead/trunk/Footagehead.xcodeproj/project.pbxproj
r3544 r3876 141 141 A587DF83055AA418005D2097 /* FHController.m in Sources */ = {isa = PBXBuildFile; fileRef = A587DF79055AA418005D2097 /* FHController.m */; }; 142 142 A587DF85055AA418005D2097 /* FHSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = A587DF7B055AA418005D2097 /* FHSettings.m */; }; 143 A58BE56909BA054F00C3C20D /* Black.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A58BE56609BA054F00C3C20D /* Black.tiff */; }; 144 A58BE56A09BA054F00C3C20D /* White.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A58BE56709BA054F00C3C20D /* White.tiff */; }; 145 A58BE56B09BA054F00C3C20D /* Gray.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A58BE56809BA054F00C3C20D /* Gray.tiff */; }; 143 146 A599A110075F94F400A03BA5 /* FHFileCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A599A10E075F94F400A03BA5 /* FHFileCell.m */; }; 144 147 A5B1F611067B3AA100111D0A /* FHHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = A5B1F60F067B3AA100111D0A /* FHHandler.m */; }; … … 420 423 A587DF7B055AA418005D2097 /* FHSettings.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = FHSettings.m; sourceTree = "<group>"; }; 421 424 A587DF7D055AA418005D2097 /* FHController.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = FHController.h; sourceTree = "<group>"; }; 425 A58BE56609BA054F00C3C20D /* Black.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Black.tiff; sourceTree = "<group>"; }; 426 A58BE56709BA054F00C3C20D /* White.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = White.tiff; sourceTree = "<group>"; }; 427 A58BE56809BA054F00C3C20D /* Gray.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Gray.tiff; sourceTree = "<group>"; }; 422 428 A591E22C056686CB00215980 /* prefix.pch */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = prefix.pch; sourceTree = "<group>"; }; 423 429 A599A10D075F94F400A03BA5 /* FHFileCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FHFileCell.h; sourceTree = "<group>"; }; … … 660 666 29B97318FDCFA39411CA2CEA /* MainMenu.nib */, 661 667 A51395F405771ED4007FE220 /* Footagehead.icns */, 662 A587DF6E055AA3C4005D2097 /* Delete.tiff */, 668 A58BE56609BA054F00C3C20D /* Black.tiff */, 669 A58BE56709BA054F00C3C20D /* White.tiff */, 663 670 A52DF8F50566E76000D2BE94 /* Error.tiff */, 664 671 A587DF6F055AA3C4005D2097 /* Finder.tiff */, 665 672 A5DEB66F05CBEFD30074DA63 /* Fullscreen.tiff */, 673 A58BE56809BA054F00C3C20D /* Gray.tiff */, 666 674 A583338D069E30D100D6A96D /* Reload.tiff */, 667 675 A50933FA083F5141006646D1 /* Spotlight.tiff */, 668 676 A587DF70055AA3C4005D2097 /* Up.tiff */, 669 677 A5DE34850567F307003E7FE9 /* URL.tiff */, 678 A587DF6E055AA3C4005D2097 /* Delete.tiff */, 670 679 77EA9C1508460B9C006C9F69 /* Zoom.tiff */, 671 680 ); … … 1176 1185 A5DE34860567F307003E7FE9 /* URL.tiff in Resources */, 1177 1186 77EA9C1608460B9C006C9F69 /* Zoom.tiff in Resources */, 1187 A58BE56909BA054F00C3C20D /* Black.tiff in Resources */, 1188 A58BE56A09BA054F00C3C20D /* White.tiff in Resources */, 1189 A58BE56B09BA054F00C3C20D /* Gray.tiff in Resources */, 1178 1190 ); 1179 1191 runOnlyForDeploymentPostprocessing = 0; Footagehead/trunk/Japanese.lproj/Localizable.strings
r3295 r3876 11 11 "\"%@\"" = "“%@”"; 12 12 13 /* No comment provided by engineer. */ 13 /* Color black */ 14 "Black" = "黒"; 15 16 /* Error message */ 14 17 "error opening image" = "エラーがあってイメージを開けません"; 18 19 /* Color gray */ 20 "Gray" = "灰色"; 15 21 16 22 /* 'image' singular */ … … 28 34 /* 'Screen 1, 1024x768' */ 29 35 "Screen %u, %.0fx%.0f" = "ディスプレイ %1$u, %2$.0fx%3$.0f"; 36 37 /* Color white */ 38 "White" = "白"; Footagehead/trunk/Japanese.lproj/MainMenu.nib/classes.nib
r3407 r3876 46 46 "_screenAutoSwitchButton" = NSButton; 47 47 "_screenAutoSwitchTextField" = NSTextField; 48 "_screenBackgroundPopUpButton" = NSPopUpButton; 48 49 "_screenPanel" = NSPanel; 49 50 "_screenPopUpButton" = NSPopUpButton; … … 51 52 "_splitView" = WISplitView; 52 53 "_tableView" = WITableView; 54 "_zoomButton" = NSButton; 53 55 }; 54 56 SUPERCLASS = WIWindowController; Footagehead/trunk/Japanese.lproj/MainMenu.nib/info.nib
r3407 r3876 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 59 235 395 374 0 0 1152 746</string>6 <string>1464 275 395 374 1280 0 1280 1024 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> … … 16 16 <key>IBOpenObjects</key> 17 17 <array> 18 <integer>534</integer> 18 19 <integer>571</integer> 20 <integer>29</integer> 21 <integer>438</integer> 19 22 <integer>21</integer> 20 <integer>29</integer>21 <integer>534</integer>22 23 </array> 23 24 <key>IBSystem Version</key> 24 <string>8 F46</string>25 <string>8H14</string> 25 26 </dict> 26 27 </plist>
