Changeset 4732

Show
Ignore:
Timestamp:
04/27/07 23:37:50 (1 year ago)
Author:
morris
Message:

More spread fixes, only thing missing now is a reversed option

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/English.lproj/Localizable.strings

    r4721 r4732  
    11/* 'image.jpg - 1/10' */ 
    22"%@ %C %u/%u" = "%1$@ %2$C %3$u/%4$u"; 
     3 
     4/* 'image1.jpg' & 'image2.jpg' */ 
     5"%@ & %@" = "%1$@ & %2$@"; 
    36 
    47/* 'image.jpg, 640x480' */ 
     
    1922/* Actual size toolbar item */ 
    2023"Actual Size" = "Actual Size"; 
     24 
     25/* Color black */ 
     26"Black" = "Black"; 
     27 
     28/* Error message */ 
     29"error opening image" = "error opening image"; 
     30 
     31/* Color gray */ 
     32"Gray" = "Gray"; 
    2133 
    2234/* Menu item title */ 
     
    6577"Stretch To Fit" = "Stretch To Fit"; 
    6678 
     79/* Color white */ 
     80"White" = "White"; 
     81 
    6782/* Zoom to fit toolbar item */ 
    6883"Zoom To Fit" = "Zoom To Fit"; 
     84 
  • Footagehead/trunk/FHBrowserController.m

    r4731 r4732  
    4848- (void)_loadURL:(WIURL *)url; 
    4949- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row; 
    50 - (void)_loadURL:(WIURL *)url selectFile:(NSString *)file; 
    51 - (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row file:(NSString *)file; 
     50- (void)_loadURL:(WIURL *)url selectName:(NSString *)name; 
     51- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row name:(NSString *)name; 
    5252 
    5353- (void)_reload; 
     
    235235 
    236236- (void)_loadURL:(WIURL *)url { 
    237         [self _loadURL:url selectRow:0 file:NULL]; 
     237        [self _loadURL:url selectRow:0 name:NULL]; 
    238238} 
    239239 
     
    241241 
    242242- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row { 
    243         [self _loadURL:url selectRow:row file:NULL]; 
    244 } 
    245  
    246  
    247  
    248 - (void)_loadURL:(WIURL *)url selectFile:(NSString *)file { 
    249         [self _loadURL:url selectRow:0 file:file]; 
    250 } 
    251  
    252  
    253  
    254 - (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row file:(NSString *)file { 
     243        [self _loadURL:url selectRow:row name:NULL]; 
     244} 
     245 
     246 
     247 
     248- (void)_loadURL:(WIURL *)url selectName:(NSString *)name { 
     249        [self _loadURL:url selectRow:0 name:name]; 
     250} 
     251 
     252 
     253 
     254- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row name:(NSString *)name { 
    255255        NSArray                 *files; 
    256256        FHHandler               *handler; 
     257        FHFile                  *file; 
    257258        NSUInteger              i, count; 
    258259        BOOL                    select; 
     
    292293        if(file) { 
    293294                for(i = 0, count = [files count]; i < count; i++) { 
    294                         if([[[files objectAtIndex:i] name] isEqualToString:file]) { 
     295                        if([[[files objectAtIndex:i] name] isEqualToString:name]) { 
    295296                                row = i; 
    296297                                 
     
    307308                [_tableView selectRow:row byExtendingSelection:NO]; 
    308309        } else { 
    309                 [_imageLoader startLoadingImageAtIndex:row]; 
    310  
    311                 [self showFile:[self selectedFile]]; 
     310                file = [self selectedFile]; 
     311                 
     312                [self startLoadingImageForFile:file atIndex:row]; 
     313                [self showFile:file]; 
    312314        } 
    313315 
     
    325327 
    326328- (void)_reload { 
    327         NSString        *file; 
     329        NSString        *name; 
    328330        WIURL           *url; 
    329331         
    330332        url = [[_handler URL] retain]; 
    331         file = [[[self selectedFile] name] retain]; 
     333        name = [[[self selectedFile] name] retain]; 
    332334 
    333335        [[FHCache cache] dropThumbnailsForURL:url]; 
    334336 
    335         [self _loadURL:url selectFile:file]; 
     337        [self _loadURL:url selectName:name]; 
    336338         
    337339        [url release]; 
    338         [file release]; 
     340        [name release]; 
    339341} 
    340342 
     
    357359- (void)_updateRightStatus { 
    358360        NSMutableString         *string; 
     361        NSString                        *name; 
    359362        NSSize                          imageSize, frameSize; 
    360363        CGFloat                         zoom, size; 
     
    390393                zoom = 100.0; 
    391394         
     395        if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone) 
     396                name = [[self selectedFile] name]; 
     397        else 
     398                name = [[self selectedSpread] name]; 
     399         
    392400        string = [NSMutableString stringWithFormat:NSLS(@"%@, %.0fx%.0f", @"'image.jpg, 640x480'"), 
    393                 [[self selectedFile] name]
     401                name
    394402                imageSize.width, 
    395403                imageSize.height]; 
     
    519527                   selector:@selector(windowControllerChangedZoomMode:) 
    520528                           name:FHWindowControllerChangedZoomMode]; 
     529 
     530        [[NSNotificationCenter defaultCenter] 
     531                addObserver:self 
     532                   selector:@selector(windowControllerChangedSpreadMode:) 
     533                           name:FHWindowControllerChangedSpreadMode]; 
    521534} 
    522535 
     
    530543 
    531544- (void)windowControllerChangedZoomMode:(NSNotification *)notification { 
    532         if([notification object] != _imageView) 
     545        if([notification object] != _imageView) { 
    533546                [_imageView setImageScaling:[FHSettings intForKey:FHImageScalingMethod]]; 
    534547         
    535         [self _updateZoomModeToolbarItems]; 
    536  
    537         [self _updateRightStatus]; 
     548                [self _updateZoomModeToolbarItems]; 
     549 
     550                [self _updateRightStatus]; 
     551        } 
     552
     553 
     554 
     555 
     556- (void)windowControllerChangedSpreadMode:(NSNotification *)notification { 
     557        if([notification object] != _imageView) { 
     558                [self updateSpreads]; 
     559         
     560                [self showFile:[self selectedFile]]; 
     561        } 
    538562} 
    539563 
     
    891915                        name = [[[_handler URL] path] lastPathComponent]; 
    892916                         
    893                         [self _loadURL:url selectFile:name]; 
     917                        [self _loadURL:url selectName:name]; 
    894918                } 
    895919        } 
     
    10571081 
    10581082- (void)loadURL:(WIURL *)url { 
    1059         NSString        *file; 
     1083        NSString        *name; 
    10601084        Class           class; 
    10611085         
     
    10631087         
    10641088        if([url isFileURL] && ![class handlesURLAsDirectory:url]) { 
    1065                 file  = [[url path] lastPathComponent]; 
     1089                name  = [[url path] lastPathComponent]; 
    10661090                url             = [WIURL fileURLWithPath:[[url path] stringByDeletingLastPathComponent]]; 
    10671091 
     
    10691093                        return; 
    10701094 
    1071                 [self _loadURL:url selectFile:file]; 
     1095                [self _loadURL:url selectName:name]; 
    10721096        } else { 
    10731097                [self _loadURL:url]; 
     
    11381162 
    11391163- (void)tableViewSelectionDidChange:(NSNotification *)notification { 
     1164        FHFile                  *file; 
    11401165        NSInteger               row; 
    1141          
    1142         [self showFile:[self selectedFile]]; 
    1143          
     1166 
    11441167        row = [_tableView selectedRow]; 
     1168        file = [self selectedFile]; 
     1169         
     1170        [self startLoadingImageForFile:file atIndex:row]; 
     1171        [self showFile:file]; 
    11451172         
    11461173        if(!_switchingURL && row < _previousRow) { 
     
    11481175                        [_imageView scrollPoint:NSZeroPoint]; 
    11491176        } 
    1150  
    1151         [_imageLoader startLoadingImageAtIndex:row]; 
    11521177         
    11531178        _previousRow = row; 
  • Footagehead/trunk/FHImageLoader.m

    r4731 r4732  
    173173                                        goto next; 
    174174                                 
    175                                 if(i > index && _pixels >= _maxPixels) 
    176                                         break; 
    177                                  
    178175                                if([file image]) 
    179176                                        goto next; 
     177                         
     178                                if(i > index + 1 && _pixels >= _maxPixels) 
     179                                        break; 
    180180                                 
    181181                                url = [file URL]; 
  • Footagehead/trunk/FHImageView.m

    r4731 r4732  
    7676 
    7777- (void)_adjustScaling { 
    78         NSSize      contentSize, imageSize, frameSize; 
    79         CGFloat         size, scrollerWidth; 
     78        NSSize      contentSize, imageSize, combinedImageSize, frameSize; 
     79        CGFloat         scrollerWidth; 
    8080         
    8181        if(_adjustingScaling) 
     
    9696                        _imageScaling == FHScaleWidthProportionally || 
    9797                        _imageScaling == FHScaleHeightProportionally)) { 
    98                         imageSize = [self _scaledImageSizeForSize:_combinedImageSize bounds:contentSize]; 
    99                          
    100                         if(ABS(_imageRotation) == 90.0 || ABS(_imageRotation) == 270.0) { 
    101                                 size = imageSize.width; 
    102                                 imageSize.width = imageSize.height; 
    103                                 imageSize.height = size; 
     98                         
     99                        if(ABS(_imageRotation) == 0.0 || ABS(_imageRotation) == 180.0) { 
     100                                imageSize = [self _scaledImageSizeForSize:_combinedImageSize bounds:contentSize]; 
     101                        } else { 
     102                                if(_image) { 
     103                                        combinedImageSize.width = _combinedImageSize.height; 
     104                                        combinedImageSize.height = _combinedImageSize.width; 
     105                                } else { 
     106                                        combinedImageSize.width = MAX(_leftSize.height, _rightSize.height); 
     107                                        combinedImageSize.height = _leftSize.width + _rightSize.width; 
     108                                } 
     109 
     110                                imageSize = [self _scaledImageSizeForSize:combinedImageSize bounds:contentSize]; 
    104111                        } 
    105112                         
  • Footagehead/trunk/FHSlideshowController.m

    r4731 r4732  
    5454                           name:FHImageLoaderDidLoadImage]; 
    5555         
     56        [self updateSpreads]; 
     57 
    5658        [self retain]; 
    5759        [self window]; 
     
    7678        NSScreen                        *screen; 
    7779        NSColor                         *color; 
     80        FHFile                          *file; 
    7881        NSRect                          frame; 
    7982        NSUInteger                      index; 
     
    9598                                          defer:YES 
    9699                                         screen:screen]; 
    97          
     100 
     101#ifndef DEBUG 
    98102        [_slideshowWindow setLevel:NSScreenSaverWindowLevel]; 
     103#endif 
     104         
    99105        [_slideshowWindow setDelegate:self]; 
    100106        [_slideshowWindow setReleasedWhenClosed:NO]; 
     
    112118        [_imageView setImageScaling:[FHSettings intForKey:FHImageScalingMethod]]; 
    113119         
    114         [_imageLoader startLoadingImageAtIndex:[self selectedIndex]]; 
     120        file = [self selectedFile]; 
     121         
     122        [self showFile:[self selectedFile]]; 
     123        [self startLoadingImageForFile:file atIndex:[self selectedIndex]]; 
    115124         
    116125        if([FHSettings boolForKey:FHFullscreenAutoSwitch]) { 
     
    121130                                                                                                  repeats:YES] retain]; 
    122131        } 
    123          
    124         [self showFile:[self selectedFile]]; 
    125132} 
    126133 
     
    160167 
    161168- (void)selectFileAtIndex:(NSUInteger)index { 
     169        FHFile          *file; 
     170 
    162171        _index = index; 
     172         
     173        file = [self selectedFile]; 
     174 
     175        [self showFile:file]; 
     176        [self startLoadingImageForFile:file atIndex:_index]; 
    163177 
    164178        [_timer setFireDate:[NSDate distantFuture]]; 
    165  
    166         [self showFile:[self selectedFile]]; 
    167  
    168         [_imageLoader startLoadingImageAtIndex:_index]; 
    169179} 
    170180 
  • Footagehead/trunk/FHSpread.m

    r4731 r4732  
    6060#pragma mark - 
    6161 
     62- (NSString *)name { 
     63        if(_leftFile && _rightFile) { 
     64                return [NSSWF:NSLS(@"%@ & %@", @"'image1.jpg' & 'image2.jpg'"), 
     65                        [_leftFile name], [_rightFile name]]; 
     66        } 
     67        else if(_leftFile) { 
     68                return [_leftFile name]; 
     69        } 
     70        else if(_rightFile) { 
     71                return [_rightFile name]; 
     72        } 
     73         
     74        return NULL; 
     75} 
     76 
     77 
     78 
    6279- (FHFile *)leftFile { 
    6380        return _leftFile; 
  • Footagehead/trunk/FHTableView.m

    r4715 r4732  
    4848                        scroller = [_imageScrollView verticalScroller]; 
    4949                         
    50                         if((up && [scroller floatValue] > 0.0f) || (!up && [scroller floatValue] < 1.0f)) { 
     50                        if((up && [scroller floatValue] > 0.01) || (!up && [scroller floatValue] < 0.99)) { 
    5151                                rect = [_imageScrollView documentVisibleRect]; 
    5252                                delta = 0.75 * rect.size.height;  
     
    7171                        scroller = [_imageScrollView verticalScroller]; 
    7272                         
    73                         if((c == NSPageUpFunctionKey   && [scroller floatValue] > 0.0f) || 
    74                            (c == NSPageDownFunctionKey && [scroller floatValue] < 1.0f)) { 
     73                        if((c == NSPageUpFunctionKey   && [scroller floatValue] > 0.01) || 
     74                           (c == NSPageDownFunctionKey && [scroller floatValue] < 0.99)) { 
    7575                                rect = [_imageScrollView documentVisibleRect]; 
    7676                                delta = rect.size.height; 
     
    9595                        scroller = [_imageScrollView verticalScroller]; 
    9696                         
    97                         if((c == NSHomeFunctionKey && [scroller floatValue] > 0.0f) || 
    98                            (c == NSEndFunctionKey  && [scroller floatValue] < 1.0f)) { 
     97                        if((c == NSHomeFunctionKey && [scroller floatValue] > 0.01) || 
     98                           (c == NSEndFunctionKey  && [scroller floatValue] < 0.99)) { 
    9999                                rect = [_imageView frame]; 
    100100                                rect.origin.y = (c == NSHomeFunctionKey) ? rect.size.height : 0; 
     
    118118                        scroller = [_imageScrollView verticalScroller]; 
    119119                         
    120                         if((c == NSUpArrowFunctionKey   && [scroller floatValue] > 0.0f) || 
    121                            (c == NSDownArrowFunctionKey && [scroller floatValue] < 1.0f)) { 
     120                        if((c == NSUpArrowFunctionKey   && [scroller floatValue] > 0.01) || 
     121                           (c == NSDownArrowFunctionKey && [scroller floatValue] < 0.99)) { 
    122122                                rect = [_imageScrollView documentVisibleRect]; 
    123123                                delta = 0.75 * rect.size.height;  
     
    128128                        } 
    129129                } 
     130                 
     131                if(!handled) { 
     132                        if(c == NSUpArrowFunctionKey) 
     133                                [[self delegate] previousFile:self]; 
     134                        else 
     135                                [[self delegate] nextFile:self]; 
     136                 
     137                        handled = YES; 
     138                } 
    130139        } 
    131140        else if(c == NSRightArrowFunctionKey || c == NSLeftArrowFunctionKey) { 
     
    133142                        scroller = [_imageScrollView horizontalScroller]; 
    134143                         
    135                         if((c == NSRightArrowFunctionKey && [scroller floatValue] < 1.0f) || 
    136                            (c == NSLeftArrowFunctionKey  && [scroller floatValue] > 0.0f)) { 
     144                        if((c == NSRightArrowFunctionKey && [scroller floatValue] < 0.99) || 
     145                           (c == NSLeftArrowFunctionKey  && [scroller floatValue] > 0.01)) { 
    137146                                rect = [_imageScrollView documentVisibleRect]; 
    138147                                delta = 0.75 * rect.size.height;  
  • Footagehead/trunk/FHWindowController.h

    r4731 r4732  
    5252- (NSUInteger)selectedIndex; 
    5353- (void)selectFileAtIndex:(NSUInteger)index; 
     54- (void)startLoadingImageForFile:(FHFile *)file atIndex:(NSUInteger)index; 
    5455- (void)showFile:(FHFile *)file; 
    5556- (void)updateFileStatus; 
     
    6061- (void)firstFile:(id)sender; 
    6162- (void)lastFile:(id)sender; 
     63- (void)previousFile:(id)sender; 
     64- (void)nextFile:(id)sender; 
    6265- (void)previousImage:(id)sender; 
    6366- (void)nextImage:(id)sender; 
  • Footagehead/trunk/FHWindowController.m

    r4731 r4732  
    9292 
    9393- (void)setImageLoader:(FHImageLoader *)imageLoader { 
     94        [[_imageLoader notificationCenter] removeObserver:self]; 
     95 
    9496        [imageLoader retain]; 
    9597        [_imageLoader release]; 
     
    150152 
    151153- (void)selectFileAtIndex:(NSUInteger)index { 
     154} 
     155 
     156 
     157 
     158- (void)startLoadingImageForFile:(FHFile *)file atIndex:(NSUInteger)index { 
     159        if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone || index == 0) { 
     160                [_imageLoader startLoadingImageAtIndex:index]; 
     161        } else { 
     162                if(file == [[self spreadForFile:file] rightFile]) 
     163                        index--; 
     164 
     165                [_imageLoader startLoadingImageAtIndex:index]; 
     166        } 
    152167} 
    153168 
     
    297312 
    298313 
     314- (void)previousFile:(id)sender { 
     315        NSUInteger      index, newIndex; 
     316         
     317        index = [self selectedIndex]; 
     318         
     319        if(index == NSNotFound) 
     320                return; 
     321         
     322        if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone) 
     323                newIndex = index - 1; 
     324        else 
     325                newIndex = index - 2; 
     326         
     327        if((NSInteger) newIndex >= 0) 
     328                [self selectFileAtIndex:newIndex]; 
     329} 
     330 
     331 
     332 
     333- (void)nextFile:(id)sender { 
     334        NSUInteger      index, newIndex; 
     335         
     336        index = [self selectedIndex]; 
     337         
     338        if(index == NSNotFound) 
     339                return; 
     340         
     341        if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone) 
     342                newIndex = index + 1; 
     343        else 
     344                newIndex = index + 2; 
     345         
     346        if(newIndex < [[self files] count]) 
     347                [self selectFileAtIndex:newIndex]; 
     348} 
     349 
     350 
     351 
    299352- (void)previousImage:(id)sender { 
    300353        NSArray                 *files; 
    301         NSUInteger              i, count, index, newIndex; 
     354        NSUInteger              i, count, start, index, newIndex; 
    302355         
    303356        index = [self selectedIndex]; 
     
    311364         
    312365        if(index > 0) { 
    313                 i = index - 1; 
     366                if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone) 
     367                        start = index - 1; 
     368                else 
     369                        start = index - 2; 
     370                 
     371                i = start; 
    314372                 
    315373                do { 
     
    330388- (void)nextImage:(id)sender { 
    331389        NSArray                 *files; 
    332         NSUInteger              i, count, index, newIndex; 
     390        NSUInteger              i, count, start, index, newIndex; 
    333391 
    334392        index = [self selectedIndex]; 
     
    345403        newIndex = NSNotFound; 
    346404         
    347         if(index + 1 < count) { 
    348                 for(i = index + 1; i < count; i++) { 
     405        if([FHSettings intForKey:FHSpreadMode] == FHSpreadNone) 
     406                start = index + 1; 
     407        else 
     408                start = index + 2; 
     409         
     410        if(start < count) { 
     411                for(i = start; i < count; i++) { 
    349412                        if(![[files objectAtIndex:i] isDirectory]) { 
    350413                                newIndex = i; 
     
    375438        step = (double) count / 10.0; 
    376439        step = WI_CLAMP(step, 2, 10); 
    377  
     440         
     441        if([FHSettings intForKey:FHSpreadMode] != FHSpreadNone && step % 2 != 0) 
     442                step++; 
     443         
    378444        if(index > step) { 
    379445                for(i = index - step; i > 0; i--) { 
     
    412478        step = WI_CLAMP(step, 2, 10); 
    413479         
     480        if([FHSettings intForKey:FHSpreadMode] != FHSpreadNone && step % 2 != 0) 
     481                step++; 
     482 
    414483        if(index + step < count) { 
    415484                for(i = index + step; i < count; i++) { 
     
    449518         
    450519        [self updateSpreads]; 
     520         
    451521        [self showFile:[self selectedFile]]; 
    452522 
     
    457527 
    458528- (void)rotateRight:(id)sender { 
    459         float           rotation; 
    460          
    461         rotation = [_imageView imageRotation]; 
    462          
    463         if(rotation == -270.0) 
    464                 rotation = 0.0; 
    465         else 
    466                 rotation -= 90.0; 
    467          
    468         [_imageView setImageRotation:rotation]; 
    469  
    470         [FHSettings setFloat:rotation forKey:FHImageRotation]; 
    471 } 
    472  
    473  
    474  
    475 - (void)rotateLeft:(id)sender { 
    476529        float           rotation; 
    477530         
     
    484537         
    485538        [_imageView setImageRotation:rotation]; 
    486          
     539 
    487540        [FHSettings setFloat:rotation forKey:FHImageRotation]; 
    488541} 
    489542 
     543 
     544 
     545- (void)rotateLeft:(id)sender { 
     546        float           rotation; 
     547         
     548        rotation = [_imageView imageRotation]; 
     549         
     550        if(rotation == 0.0) 
     551                rotation = 270.0; 
     552        else 
     553                rotation -= 90.0; 
     554         
     555        [_imageView setImageRotation:rotation]; 
     556         
     557        [FHSettings setFloat:rotation forKey:FHImageRotation]; 
     558} 
     559 
    490560@end 
  • Footagehead/trunk/Footagehead.xcodeproj/project.pbxproj

    r4731 r4732  
    498498                                A599A10E075F94F400A03BA5 /* FHFileCell.m */, 
    499499                                A599A10D075F94F400A03BA5 /* FHFileCell.h */, 
    500                                 77B151860BD8FEBB009B6183 /* FHImageLoader.m */, 
    501                                 77B151850BD8FEBB009B6183 /* FHImageLoader.h */, 
    502500                                77CDB021083B6B85003BE654 /* FHImageView.m */, 
    503501                                77CDB020083B6B85003BE654 /* FHImageView.h */, 
     
    746744                                77494702085A57F600BA0915 /* FHImage.m */, 
    747745                                77494701085A57F600BA0915 /* FHImage.h */, 
     746                                77B151860BD8FEBB009B6183 /* FHImageLoader.m */, 
     747                                77B151850BD8FEBB009B6183 /* FHImageLoader.h */, 
    748748                                A587DF7B055AA418005D2097 /* FHSettings.m */, 
    749749                                A587DF76055AA418005D2097 /* FHSettings.h */, 
  • Footagehead/trunk/Japanese.lproj/Localizable.strings

    r4720 r4732  
    11/* 'image.jpg - 1/10' */ 
    22"%@ %C %u/%u" = "%1$@ %2$C %3$u/%4$u"; 
     3 
     4/* 'image1.jpg' & 'image2.jpg' */ 
     5"%@ & %@" = "%1$@ & %2$@"; 
    36 
    47/* 'image.jpg, 640x480' */ 
     
    1922/* Actual size toolbar item */ 
    2023"Actual Size" = "Actual Size"; 
     24 
     25/* Color black */ 
     26"Black" = "Black"; 
     27 
     28/* Error message */ 
     29"error opening image" = "error opening image"; 
     30 
     31/* Color gray */ 
     32"Gray" = "Gray"; 
    2133 
    2234/* Menu item title */ 
     
    6577"Stretch To Fit" = "Stretch To Fit"; 
    6678 
     79/* Color white */ 
     80"White" = "White"; 
     81 
    6782/* Zoom to fit toolbar item */ 
    6883"Zoom To Fit" = "Zoom To Fit"; 
     84