2010-10-05 18:56:45 +00:00
|
|
|
//
|
|
|
|
// NewTerminalWindowController.h
|
|
|
|
// 2Term
|
|
|
|
//
|
|
|
|
// Created by Kelvin Sherlock on 10/5/2010.
|
|
|
|
// Copyright (c) 2010 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2011-02-14 16:34:05 +00:00
|
|
|
@class ExampleView;
|
2010-10-05 18:56:45 +00:00
|
|
|
|
|
|
|
@interface NewTerminalWindowController : NSWindowController <NSWindowDelegate> {
|
|
|
|
@private
|
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
NSPopUpButton *_terminalTypeButton;
|
2011-02-14 16:34:05 +00:00
|
|
|
NSPopUpButton *_colorSchemeButton;
|
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
|
|
|
|
NSColorWell *_foregroundColorControl;
|
|
|
|
NSColorWell *_backgroundColorControl;
|
|
|
|
|
2011-02-14 16:34:05 +00:00
|
|
|
|
|
|
|
NSButton *_effectsButton;
|
|
|
|
NSSlider *_blurSlider;
|
|
|
|
NSSlider *_lightenSlider;
|
|
|
|
NSSlider *_darkenSlider;
|
|
|
|
|
|
|
|
|
|
|
|
ExampleView *_exampleView;
|
|
|
|
|
|
|
|
BOOL _effectsEnabled;
|
|
|
|
|
2010-10-05 18:56:45 +00:00
|
|
|
}
|
|
|
|
|
2011-02-14 16:34:05 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet ExampleView *exampleView;
|
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet NSPopUpButton *terminalTypeButton;
|
2011-02-14 16:34:05 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet NSPopUpButton *colorSchemeButton;
|
|
|
|
|
|
|
|
|
2010-12-20 23:37:02 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet NSColorWell *foregroundColorControl;
|
|
|
|
@property (nonatomic, retain) IBOutlet NSColorWell *backgroundColorControl;
|
|
|
|
|
2011-02-14 16:34:05 +00:00
|
|
|
@property (nonatomic, retain) IBOutlet NSButton *effectsButton;
|
|
|
|
@property (nonatomic, retain) IBOutlet NSSlider *blurSlider;
|
|
|
|
@property (nonatomic, retain) IBOutlet NSSlider *lightenSlider;
|
|
|
|
@property (nonatomic, retain) IBOutlet NSSlider *darkenSlider;
|
|
|
|
|
|
|
|
@property (nonatomic, assign) BOOL effectsEnabled;
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-05 18:56:45 +00:00
|
|
|
-(IBAction)cancelButton: (id)sender;
|
|
|
|
-(IBAction)connectButton: (id)sender;
|
|
|
|
|
2011-02-14 16:34:05 +00:00
|
|
|
-(IBAction)colorChanged: (id)sender;
|
|
|
|
-(IBAction)setColorScheme: (id)sender;
|
|
|
|
|
|
|
|
-(IBAction)filterParameterChanged: (id)sender;
|
2010-10-05 18:56:45 +00:00
|
|
|
|
2011-02-14 16:34:05 +00:00
|
|
|
-(NSMenu *)colorMenu;
|
2010-10-05 18:56:45 +00:00
|
|
|
|
|
|
|
@end
|