Ignore:
Timestamp:
Dec 12, 2007, 3:21:11 AM (15 years ago)
Author:
livings124
Message:

use 10.5's built-in ability to generate the textured bottom border instead of a custom view with images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r4127 r4128  
    248248    [fWindow setContentMinSize: contentMinSize];
    249249   
     250    if ([NSApp isOnLeopardOrBetter])
     251        [fWindow setContentBorderThickness: [[fTableView enclosingScrollView] frame].origin.y forEdge: NSMinYEdge];
     252   
    250253    //set info and filter keyboard shortcuts
    251254    unichar rightChar = NSRightArrowFunctionKey, leftChar = NSLeftArrowFunctionKey;
     
    301304    statusBarFrame.size.width = windowSize.width;
    302305    [fStatusBar setFrame: statusBarFrame];
    303 
     306   
    304307    [contentView addSubview: fStatusBar];
    305308    [fStatusBar setFrameOrigin: NSMakePoint(0, NSMaxY([contentView frame]))];
Note: See TracChangeset for help on using the changeset viewer.