author | smxx |
Fri, 26 Mar 2010 12:16:12 +0000 | |
changeset 3074 | 271cfcb2bcda |
parent 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; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
23 |
} |
2720 | 24 |
|
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
25 |
@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
|
26 |
@property (nonatomic, retain) IBOutlet UITextField *password; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
27 |
@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
|
28 |
@property (nonatomic, retain) UISwitch *soundsSwitch; |
2701
3a8560c00f78
settings tab has now a very nice iphone-like interface
koda
parents:
2696
diff
changeset
|
29 |
@property (nonatomic, retain) UISwitch *altDamageSwitch; |
2743 | 30 |
@property (nonatomic, retain) IBOutlet UITableView *settingsTable; |
2720 | 31 |
@property (nonatomic, retain) IBOutlet UIView *buttonContainer; |
2743 | 32 |
@property (nonatomic, retain) UIView *parentView; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
33 |
|
2694
dcd248e04f3d
can use latest sdlimage, work on setting panel and option when launching the game, minor fixes
koda
parents:
2687
diff
changeset
|
34 |
-(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
|
35 |
-(IBAction) textFieldDoneEditing: (id)sender; |
2720 | 36 |
-(IBAction) deleteData: (id)sender; |
2687
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
37 |
@end |