File:  [mozdev] / chimera / ColorTest / ImageController.h
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Wed Feb 6 16:14:57 2002 UTC (17 years, 8 months ago) by macserv
Branches: MAIN
CVS tags: HEAD
Added another feature to the ColorTest app.  We have 2 icons which have badges: Show File and Open File.  The spyglass and application badges need to be applied after the color transformation.  This commit introduces a new menu, allowing you to badge the test icon.

/* ImageController */

#import <Cocoa/Cocoa.h>

@interface ImageController : NSObject
    NSBitmapImageRep	*workingImageRep;
    NSImage				*workingImage;
    IBOutlet NSImageView *imageView;
    IBOutlet NSTextField *statusField;

    IBOutlet NSTextField *midPointValueField;
    IBOutlet NSColorWell *toColorColorWell;
    IBOutlet NSColorWell *blackMappingColorWell;
    IBOutlet NSColorWell *whiteMappingColorWell;

- (IBAction)loadTestImage:(id)sender;
- (IBAction)colorizeImage:(id)sender;
- (IBAction)displayNewImage:(id)sender;
- (IBAction)choosePresetColor:(id)sender;
- (IBAction)addOrRemoveBadge:(id)sender;


FreeBSD-CVSweb <>