X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=KeyInputTextView.h;h=a3cd4ff00c501c1e6f05243dfc6891cb90ff397e;hp=e327c7851ba19602595f21af851932bcbd7627e3;hb=0a402879ee3beb79bb4d2270f909ad75eead0c96;hpb=5a79f9f05829ca1aecc70aeadb8c980ec4f3556d diff --git a/KeyInputTextView.h b/KeyInputTextView.h index e327c78..a3cd4ff 100644 --- a/KeyInputTextView.h +++ b/KeyInputTextView.h @@ -1,28 +1,25 @@ // -// KeyInputTextField.h +// KeyInputTextView.h // Enjoy // // Created by Sam McCall on 5/05/09. // Copyright 2009 University of Otago. All rights reserved. // -#import @class TargetController; -@interface KeyInputTextView: NSTextView { - IBOutlet NSWindow* window; - IBOutlet TargetController* targetController; - BOOL hasKey; - int vk; - NSString* descr; - BOOL enabled; +@interface KeyInputTextView : NSTextField { + IBOutlet NSWindow *window; + IBOutlet TargetController *targetController; } -@property(readonly) BOOL hasKey; -@property(readwrite) int vk; -@property(copy) NSString* descr; -@property(readwrite) BOOL enabled; +@property (copy) NSString* descr; +@property (assign) int vk; +@property (readonly) BOOL hasKey; +@property (assign) BOOL enabled; --(void) clear; ++ (NSString *)stringForKeyCode:(int)keycode; + +- (void)clear; @end