Changeset 3893
- Timestamp:
- 03/13/06 21:48:32 (3 years ago)
- Files:
-
- Footagehead/trunk/English.lproj/MainMenu.nib/classes.nib (modified) (2 diffs)
- Footagehead/trunk/English.lproj/MainMenu.nib/info.nib (modified) (2 diffs)
- Footagehead/trunk/English.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/English.lproj/MainMenu.nib/objects.nib (modified) (previous)
- Footagehead/trunk/FHController.h (modified) (2 diffs)
- Footagehead/trunk/FHController.m (modified) (5 diffs)
- Footagehead/trunk/FHImageView.m (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/classes.nib (modified) (2 diffs)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/info.nib (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/objects.nib (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Footagehead/trunk/English.lproj/MainMenu.nib/classes.nib
r3887 r3893 20 20 reload = id; 21 21 revealInFinder = id; 22 rotateLeft = id; 22 23 rotateRight = id; 23 24 setAsDesktopPicture = id; … … 50 51 "_screenPanel" = NSPanel; 51 52 "_screenPopUpButton" = NSPopUpButton; 52 "_screenZoomMatrix" = NSMatrix;53 53 "_scrollView" = NSScrollView; 54 54 "_splitView" = WISplitView; Footagehead/trunk/English.lproj/MainMenu.nib/info.nib
r3887 r3893 8 8 <dict> 9 9 <key>29</key> 10 <string> 224 676 317 44 0 0 1280 1002</string>10 <string>373 800 317 44 0 0 1920 1178 </string> 11 11 <key>592</key> 12 12 <string>118 501 223 118 0 0 1280 1002 </string> … … 18 18 <key>IBOpenObjects</key> 19 19 <array> 20 <integer>21</integer> 20 21 <integer>438</integer> 22 <integer>29</integer> 21 23 </array> 22 24 <key>IBSystem Version</key> Footagehead/trunk/FHController.h
r3887 r3893 55 55 IBOutlet NSPanel *_screenPanel; 56 56 IBOutlet NSPopUpButton *_screenPopUpButton; 57 IBOutlet NSMatrix *_screenZoomMatrix;58 57 IBOutlet NSPopUpButton *_screenBackgroundPopUpButton; 59 58 IBOutlet NSButton *_screenAutoSwitchButton; … … 104 103 - (IBAction)zoom:(id)sender; 105 104 - (IBAction)rotateRight:(id)sender; 105 - (IBAction)rotateLeft:(id)sender; 106 106 - (IBAction)slideshow:(id)sender; 107 107 - (IBAction)autoSwitch:(id)sender; Footagehead/trunk/FHController.m
r3887 r3893 832 832 [self _reloadScreenBackgrounds]; 833 833 834 [_screenZoomMatrix selectCellWithTag:[FHSettings intForKey:FHFullscreenImageScalingMethod]];835 834 [_screenBackgroundPopUpButton selectItemWithTag:[FHSettings intForKey:FHFullscreenBackground]]; 836 835 … … 1419 1418 1420 1419 [_fullscreenImageView setImageScaling:scaling]; 1420 1421 [FHSettings setInt:scaling forKey:FHFullscreenImageScalingMethod]; 1421 1422 } else { 1422 1423 scaling = [_imageView imageScaling]; … … 1446 1447 else 1447 1448 rotation -= 90.0f; 1449 1450 [_imageView setImageRotation:rotation]; 1451 [_fullscreenImageView setImageRotation:rotation]; 1452 1453 [self _updateRightStatus]; 1454 1455 [FHSettings setFloat:rotation forKey:FHImageRotation]; 1456 } 1457 1458 1459 1460 - (IBAction)rotateLeft:(id)sender { 1461 float rotation; 1462 1463 rotation = [_imageView imageRotation]; 1464 1465 if(rotation == 270.0f) 1466 rotation = 0.0f; 1467 else 1468 rotation += 90.0f; 1448 1469 1449 1470 [_imageView setImageRotation:rotation]; … … 1477 1498 // --- save in prefs 1478 1499 [FHSettings setInt:[_screenPopUpButton indexOfSelectedItem] forKey:FHFullscreenScreen]; 1479 [FHSettings setInt:[[_screenZoomMatrix selectedCell] tag] forKey:FHFullscreenImageScalingMethod];1480 1500 [FHSettings setInt:[_screenBackgroundPopUpButton tagOfSelectedItem] forKey:FHFullscreenBackground]; 1481 1501 [FHSettings setBool:[_screenAutoSwitchButton state] forKey:FHFullscreenAutoSwitch]; … … 1505 1525 [_fullscreenWindow setTitle:[[self window] title]]; 1506 1526 [_fullscreenImageView setBackgroundColor:[_screenBackgroundPopUpButton representedObjectOfSelectedItem]]; 1507 [_fullscreenImageView setImageScaling:[ [_screenZoomMatrix selectedCell] tag]];1527 [_fullscreenImageView setImageScaling:[FHSettings intForKey:FHFullscreenImageScalingMethod]]; 1508 1528 [_fullscreenImageView setImageRotation:[_imageView imageRotation]]; 1509 1529 [_fullscreenPanel setFrame:screenRect display:NO]; Footagehead/trunk/FHImageView.m
r3887 r3893 263 263 264 264 265 - (void)rightMouseUp:(NSEvent *)event { 266 [[FHController controller] rotateRight:self]; 267 } 268 269 270 265 271 - (void)mouseDragged:(NSEvent *)event { 266 272 NSPoint point, originalPoint; Footagehead/trunk/Japanese.lproj/MainMenu.nib/classes.nib
r3887 r3893 20 20 reload = id; 21 21 revealInFinder = id; 22 rotateLeft = id; 22 23 rotateRight = id; 23 24 setAsDesktopPicture = id; … … 50 51 "_screenPanel" = NSPanel; 51 52 "_screenPopUpButton" = NSPopUpButton; 52 "_screenZoomMatrix" = NSMatrix;53 53 "_scrollView" = NSScrollView; 54 54 "_splitView" = WISplitView; Footagehead/trunk/Japanese.lproj/MainMenu.nib/info.nib
r3887 r3893 17 17 <array> 18 18 <integer>438</integer> 19 <integer>21</integer> 19 20 </array> 20 21 <key>IBSystem Version</key>
