X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetController.h;h=7f9e1590c88259cacac70a9603c997c2a8cb983e;hp=9c9ee2cb770890e0323be434dbb9ba10ab945d37;hb=f864d363128de19fc6591b77ae9226b34166d715;hpb=60710a84810cfbfa39ada9a9e44f61ceb2f144c5 diff --git a/TargetController.h b/TargetController.h index 9c9ee2c..7f9e159 100644 --- a/TargetController.h +++ b/TargetController.h @@ -6,14 +6,15 @@ // Copyright 2009 University of Otago. All rights reserved. // -@class KeyInputTextView; +#import "NJKeyInputField.h" + @class ConfigsController; -@class JoystickController; +@class NJInputController; @class Target; @class TargetMouseMove; -@interface TargetController : NSObject { - IBOutlet KeyInputTextView *keyInput; +@interface TargetController : NSObject { + IBOutlet NJKeyInputField *keyInput; IBOutlet NSMatrix *radioButtons; IBOutlet NSSegmentedControl *mouseDirSelect; IBOutlet NSSegmentedControl *mouseBtnSelect; @@ -21,12 +22,11 @@ IBOutlet NSTextField *title; IBOutlet NSPopUpButton *configPopup; IBOutlet ConfigsController *configsController; - IBOutlet JoystickController *joystickController; + IBOutlet NJInputController *joystickController; } @property (assign) BOOL enabled; -- (void)keyChanged; - (void)loadCurrent; - (void)refreshConfigs; - (IBAction)configChosen:(id)sender;