cog/Preferences/General/HotKeyControl.m

22 lines
494 B
Matlab
Raw Normal View History

2006-09-10 21:53:38 +00:00
//
// HotKeyControl.m
// General
//
// Created by Zaphod Beeblebrox on 9/4/06.
// Copyright 2006 __MyCompanyName__. All rights reserved.
//
#import "HotKeyControl.h"
#import <NDHotKey/NDHotKeyEvent.h>
2006-09-10 21:53:38 +00:00
@implementation HotKeyControl
- (void)mouseDown:(NSEvent *)theEvent
{
[self setStringValue:NSLocalizedStringFromTableInBundle(@"Press Key...", nil, [NSBundle bundleForClass:[self class]], @"")];
[self setRequiresModifierKeys:YES];
[self setReadyForHotKeyEvent:YES];
2006-09-10 21:53:38 +00:00
}
@end