mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 07:30:40 +00:00
1fec3f120c
git-svn-id: svn://qnap.local/TwoTerm/trunk@3146 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
69 lines
1.7 KiB
Objective-C
69 lines
1.7 KiB
Objective-C
//
|
|
// NewTerminalWindowController.h
|
|
// 2Term
|
|
//
|
|
// Created by Kelvin Sherlock on 10/5/2010.
|
|
// Copyright (c) 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@class ExampleView;
|
|
|
|
@interface NewTerminalWindowController : NSWindowController <NSWindowDelegate> {
|
|
@private
|
|
|
|
NSPopUpButton *_terminalTypeButton;
|
|
NSPopUpButton *_colorSchemeButton;
|
|
|
|
|
|
NSColorWell *_foregroundColorControl;
|
|
NSColorWell *_backgroundColorControl;
|
|
|
|
|
|
NSButton *_effectsButton;
|
|
NSSlider *_blurSlider;
|
|
NSSlider *_lightenSlider;
|
|
NSSlider *_darkenSlider;
|
|
|
|
|
|
ExampleView *_exampleView;
|
|
|
|
BOOL _effectsEnabled;
|
|
|
|
}
|
|
|
|
@property (nonatomic, assign) IBOutlet ExampleView *exampleView;
|
|
|
|
@property (nonatomic, assign) IBOutlet NSPopUpButton *terminalTypeButton;
|
|
@property (nonatomic, assign) IBOutlet NSPopUpButton *colorSchemeButton;
|
|
|
|
|
|
@property (nonatomic, assign) IBOutlet NSColorWell *foregroundColorControl;
|
|
@property (nonatomic, assign) IBOutlet NSColorWell *backgroundColorControl;
|
|
|
|
@property (nonatomic, assign) IBOutlet NSButton *effectsButton;
|
|
@property (nonatomic, assign) IBOutlet NSSlider *blurSlider;
|
|
@property (nonatomic, assign) IBOutlet NSSlider *lightenSlider;
|
|
@property (nonatomic, assign) IBOutlet NSSlider *darkenSlider;
|
|
@property (nonatomic, assign) IBOutlet NSSlider *bloomSlider;
|
|
@property (nonatomic, assign) IBOutlet NSSlider *vignetteSlider;
|
|
|
|
@property (nonatomic, assign) BOOL effectsEnabled;
|
|
|
|
|
|
|
|
-(IBAction)cancelButton: (id)sender;
|
|
-(IBAction)connectButton: (id)sender;
|
|
|
|
-(IBAction)colorChanged: (id)sender;
|
|
-(IBAction)setColorScheme: (id)sender;
|
|
|
|
-(IBAction)filterParameterChanged: (id)sender;
|
|
|
|
-(NSMenu *)colorMenu;
|
|
|
|
-(NSColor *)recalcBackground;
|
|
|
|
@end
|