author | smxx |
Wed, 10 Feb 2010 17:53:21 +0000 | |
changeset 2797 | 98b990feec7d |
parent 2743 | 39d097ac2276 |
child 2803 | 1f446fc5c8ec |
permissions | -rw-r--r-- |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
1 |
// |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
2 |
// SettingsViewController.h |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
3 |
// hwengine |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
4 |
// |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
5 |
// Created by Vittorio on 08/01/10. |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
6 |
// Copyright 2010 __MyCompanyName__. All rights reserved. |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
7 |
// |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
8 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
9 |
#import <UIKit/UIKit.h> |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
10 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
11 |
|
2720 | 12 |
@interface SettingsViewController : UIViewController |
13 |
<UITableViewDelegate, UITableViewDataSource, UIActionSheetDelegate> { |
|
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
14 |
UITextField *username; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
15 |
UITextField *password; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
16 |
UISwitch *musicSwitch; |
2702
48fc46a922fd
rewrite gamesetup to use less memory, rename effects to sound plus some nice actions, settings work in game again
koda
parents:
2701
diff
changeset
|
17 |
UISwitch *soundsSwitch; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
18 |
UISwitch *altDamageSwitch; |
2743 | 19 |
UITableView *settingsTable; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
20 |
UITableViewCell *volumeCell; |
2720 | 21 |
UIView *buttonContainer; |
2743 | 22 |
UIView *parentView; |
2720 | 23 |
BOOL needsReset; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
24 |
} |
2720 | 25 |
|
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
26 |
@property (nonatomic, retain) IBOutlet UITextField *username; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
27 |
@property (nonatomic, retain) IBOutlet UITextField *password; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
28 |
@property (nonatomic, retain) UISwitch *musicSwitch; |
2702
48fc46a922fd
rewrite gamesetup to use less memory, rename effects to sound plus some nice actions, settings work in game again
koda
parents:
2701
diff
changeset
|
29 |
@property (nonatomic, retain) UISwitch *soundsSwitch; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
30 |
@property (nonatomic, retain) UISwitch *altDamageSwitch; |
2743 | 31 |
@property (nonatomic, retain) IBOutlet UITableView *settingsTable; |
2720 | 32 |
@property (nonatomic, retain) IBOutlet UIView *buttonContainer; |
2743 | 33 |
@property (nonatomic, retain) UIView *parentView; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
34 |
|
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
35 |
-(IBAction) backgroundTap: (id)sender; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
36 |
-(IBAction) textFieldDoneEditing: (id)sender; |
2720 | 37 |
-(IBAction) deleteData: (id)sender; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
38 |
@end |