Forked Enjoy, mouse movement
[enjoyable.git] / KeyInputTextView.h
1 //
2 // KeyInputTextField.h
3 // Enjoy
4 //
5 // Created by Sam McCall on 5/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10 @class TargetController;
11
12 @interface KeyInputTextView: NSTextView {
13 IBOutlet NSWindow* window;
14 IBOutlet TargetController* targetController;
15 BOOL hasKey;
16 int vk;
17 NSString* descr;
18 BOOL enabled;
19 }
20
21 @property(readonly) BOOL hasKey;
22 @property(readwrite) int vk;
23 @property(readonly) NSString* descr;
24 @property(readwrite) BOOL enabled;
25
26 -(void) clear;
27
28 @end