Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

106 lines (91 sloc) 3.86 kb
//
// PointerPrefsController.h
// iTerm
//
// Created by George Nachman on 11/7/11.
// Copyright (c) 2011 George Nachman. All rights reserved.
//
#import <Cocoa/Cocoa.h>
extern NSString *kPasteFromClipboardPointerAction;
extern NSString *kPasteFromSelectionPointerAction;
extern NSString *kOpenTargetPointerAction;
extern NSString *kOpenTargetInBackgroundPointerAction;
extern NSString *kSmartSelectionPointerAction;
extern NSString *kSmartSelectionIgnoringNewlinesPointerAction;
extern NSString *kContextMenuPointerAction;
extern NSString *kNextTabPointerAction;
extern NSString *kPrevTabPointerAction;
extern NSString *kNextWindowPointerAction;
extern NSString *kPrevWindowPointerAction;
extern NSString *kMovePanePointerAction;
extern NSString *kSendEscapeSequencePointerAction;
extern NSString *kSendHexCodePointerAction;
extern NSString *kSendTextPointerAction;
extern NSString *kSelectPaneLeftPointerAction;
extern NSString *kSelectPaneRightPointerAction;
extern NSString *kSelectPaneAbovePointerAction;
extern NSString *kSelectPaneBelowPointerAction;
extern NSString *kNewWindowWithProfilePointerAction;
extern NSString *kNewTabWithProfilePointerAction;
extern NSString *kNewVerticalSplitWithProfilePointerAction;
extern NSString *kNewHorizontalSplitWithProfilePointerAction;
extern NSString *kSelectNextPanePointerAction;
extern NSString *kSelectPreviousPanePointerAction;
extern NSString *kExtendSelectionPointerAction;
extern NSString *kThreeFingerClickGesture;
extern NSString *kThreeFingerSwipeRight;
extern NSString *kThreeFingerSwipeLeft;
extern NSString *kThreeFingerSwipeUp;
extern NSString *kThreeFingerSwipeDown;
extern NSString *kPointerPrefsChangedNotification;
@interface PointerPrefsController : NSObject {
IBOutlet NSTableView *tableView_;
IBOutlet NSTableColumn *buttonColumn_;
IBOutlet NSTableColumn *actionColumn_;
IBOutlet NSPanel *panel_;
IBOutlet NSTextField *editButtonLabel_;
IBOutlet NSPopUpButton *editButton_;
IBOutlet NSTextField *editModifiersLabel_;
IBOutlet NSButton *editModifiersCommand_;
IBOutlet NSButton *editModifiersOption_;
IBOutlet NSButton *editModifiersShift_;
IBOutlet NSButton *editModifiersControl_;
IBOutlet NSTextField *editActionLabel_;
IBOutlet NSPopUpButton *editAction_;
IBOutlet NSTextField *editClickTypeLabel_;
IBOutlet NSPopUpButton *editClickType_;
IBOutlet NSTextField *editArgumentLabel_;
IBOutlet NSPopUpButton *editArgumentButton_;
IBOutlet NSTextField *editArgumentField_;
IBOutlet NSButton *ok_;
IBOutlet NSButton *remove_;
NSString *origKey_;
BOOL hasSelection_;
}
@property (nonatomic, assign) BOOL hasSelection;
+ (NSString *)actionWithButton:(int)buttonNumber
numClicks:(int)numClicks
modifiers:(int)modMask;
+ (NSString *)argumentWithButton:(int)buttonNumber
numClicks:(int)numClicks
modifiers:(int)modMask;
+ (NSString *)actionForTapWithTouches:(int)numTouches
modifiers:(int)modMask;
+ (NSString *)argumentForTapWithTouches:(int)numTouches
modifiers:(int)modMask;
+ (NSString *)actionForGesture:(NSString *)gesture
modifiers:(int)modMask;
+ (NSString *)argumentForGesture:(NSString *)gesture
modifiers:(int)modMask;
+ (BOOL)haveThreeFingerTapEvents;
- (void)setButtonNumber:(int)buttonNumber clickCount:(int)clickCount modifiers:(int)modMask;
- (void)setGesture:(NSString *)gesture modifiers:(int)modMask;
- (IBAction)buttonOrGestureChanged:(id)sender;
- (IBAction)ok:(id)sender;
- (IBAction)cancel:(id)sender;
- (IBAction)add:(id)sender;
- (IBAction)remove:(id)sender;
- (IBAction)actionChanged:(id)sender;
- (IBAction)clicksChanged:(id)sender;
- (IBAction)loadDefaults:(id)sender;
@end
Jump to Line
Something went wrong with that request. Please try again.