author | smxx |
Sun, 31 Jan 2010 22:52:42 +0000 | |
changeset 2735 | f2008d0ce3f8 |
parent 2720 | a5111ec4d25f |
child 2743 | 39d097ac2276 |
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; |
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
19 |
UISlider *volumeSlider; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
20 |
UILabel *volumeLabel; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
21 |
UITableView *table; |
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
22 |
UITableViewCell *volumeCell; |
2720 | 23 |
UIView *buttonContainer; |
24 |
BOOL needsReset; |
|
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
25 |
} |
2720 | 26 |
|
2694
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 *username; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
28 |
@property (nonatomic, retain) IBOutlet UITextField *password; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
29 |
@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
|
30 |
@property (nonatomic, retain) UISwitch *soundsSwitch; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
31 |
@property (nonatomic, retain) UISwitch *altDamageSwitch; |
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
32 |
@property (nonatomic, retain) IBOutlet UISlider *volumeSlider; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
33 |
@property (nonatomic, retain) IBOutlet UILabel *volumeLabel; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
34 |
@property (nonatomic, retain) IBOutlet UITableView *table; |
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
35 |
@property (nonatomic, retain) IBOutlet UITableViewCell *volumeCell; |
2720 | 36 |
@property (nonatomic, retain) IBOutlet UIView *buttonContainer; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
37 |
|
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
38 |
-(IBAction) sliderChanged: (id)sender; |
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
39 |
-(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
|
40 |
-(IBAction) textFieldDoneEditing: (id)sender; |
2720 | 41 |
-(IBAction) deleteData: (id)sender; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
42 |
@end |