Ignore:
Timestamp:
Jul 15, 2006, 8:33:53 PM (16 years ago)
Author:
livings124
Message:

Filter bar background is now from an image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FilterBarView.m

    r586 r588  
    3131        if ((self = [super initWithFrame: frameRect]))
    3232    {
    33                 fBackgroundColor = [[NSColor colorWithCalibratedRed: 0.7137 green: 0.7529 blue: 0.8118 alpha: 1.0] retain];
     33                fBackgroundColor = [[NSColor colorWithPatternImage:
     34                            [NSImage imageNamed: @"FilterBarBackground.tiff"]] retain];
    3435        }
    3536        return self;
     
    4546{
    4647    [fBackgroundColor set];
     48    [[NSGraphicsContext currentContext] setPatternPhase: [self frame].origin];
    4749    NSRectFill([self bounds]);
    4850}
Note: See TracChangeset for help on using the changeset viewer.