File:  [mozdev] / chimera / ToolbarIconServer.m
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sun Mar 3 09:34:52 2002 UTC (17 years ago) by macserv
Branches: MAIN
CVS tags: HEAD
Intermediary checkin: Groundwork for the icon colorization server object, most of a new specialized version of my extended tab view class, changes to the browser window's controller, and nib, and of course, to the project itself.

//
//  ToolbarIconServer.m
//  Chimera
//
//  Created by Matt L.  Judy on Tue Feb 26 2002.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//

#import "ToolbarIconServer.h"


@implementation ToolbarIconServer

- (id)init
{
    if ( self = [super init] ) {

        NSColor *hueFromPrefs = [NSUnarchiver unarchiveObjectWithData:
            [[NSUserDefaults standardUserDefaults] dataForKey:@"toolbarIconHue"]];

        if ( hueFromPrefs ) {
            [self updateIconsWithHue:hueFromPrefs];
        } else {
            [self updateIconsWithOSTintHue];
        }
    }

    return self;
}

- (NSDictionary *)icons
{
    return _icons;
}    

- (void)updateIconsWithOSTintHue
{

}

- (void)updateIconsWithHue:(NSColor *)newHue
{
    
}

- (void)postHueChangeNotification
{

}

- (void)handleHueChangeInPrefs
{

}

@end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>