1 // |
|
2 // SettingsViewController.h |
|
3 // hwengine |
|
4 // |
|
5 // Created by Vittorio on 08/01/10. |
|
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
|
7 // |
|
8 |
|
9 #import <UIKit/UIKit.h> |
|
10 |
|
11 |
|
12 @interface SettingsViewController : UIViewController |
|
13 <UITableViewDelegate, UITableViewDataSource, UIActionSheetDelegate> { |
|
14 UITextField *username; |
|
15 UITextField *password; |
|
16 UISwitch *musicSwitch; |
|
17 UISwitch *soundsSwitch; |
|
18 UISwitch *altDamageSwitch; |
|
19 UITableView *settingsTable; |
|
20 UITableViewCell *volumeCell; |
|
21 UIView *buttonContainer; |
|
22 UIView *parentView; |
|
23 } |
|
24 |
|
25 @property (nonatomic, retain) IBOutlet UITextField *username; |
|
26 @property (nonatomic, retain) IBOutlet UITextField *password; |
|
27 @property (nonatomic, retain) UISwitch *musicSwitch; |
|
28 @property (nonatomic, retain) UISwitch *soundsSwitch; |
|
29 @property (nonatomic, retain) UISwitch *altDamageSwitch; |
|
30 @property (nonatomic, retain) IBOutlet UITableView *settingsTable; |
|
31 @property (nonatomic, retain) IBOutlet UIView *buttonContainer; |
|
32 @property (nonatomic, retain) UIView *parentView; |
|
33 |
|
34 -(IBAction) backgroundTap: (id)sender; |
|
35 -(IBAction) textFieldDoneEditing: (id)sender; |
|
36 -(IBAction) deleteData: (id)sender; |
|
37 @end |
|