5 // Created by Sam McCall on 5/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
9 @
class KeyInputTextView
;
10 @
class ConfigsController
;
11 @
class JoystickController
;
13 @
class TargetMouseMove
;
15 @interface TargetController
: NSObject
{
16 IBOutlet KeyInputTextView
* keyInput
;
17 IBOutlet NSButtonCell
*radioNoAction
, *radioKey
, *radioConfig
;
18 IBOutlet NSMatrix
* radioButtons
;
19 IBOutlet NSSegmentedControl
* mouseDirSelect
;
20 IBOutlet NSSegmentedControl
* mouseBtnSelect
;
21 IBOutlet NSSegmentedControl
* scrollDirSelect
;
22 IBOutlet NSTextField
* title
;
23 IBOutlet NSPopUpButton
* configPopup
;
24 IBOutlet ConfigsController
* configsController
;
25 IBOutlet JoystickController
* joystickController
;
34 -(void) refreshConfigsPreservingSelection
: (BOOL
) preserve
;
35 -(IBAction
)configChosen
:(id
)sender
;
36 -(IBAction
)radioChanged
:(id
)sender
;
37 -(IBAction
)mdirChanged
:(id
)sender
;
38 -(IBAction
)mbtnChanged
:(id
)sender
;
39 -(IBAction
)sdirChanged
:(id
)sender
;
42 @
property(readwrite
) BOOL enabled
;