cocoaTouch/SettingsViewController.h
author smxx
Sat, 03 Apr 2010 08:46:01 +0000
changeset 3282 9ca28cef559a
parent 2803 1f446fc5c8ec
permissions -rw-r--r--
Engine: * Avoid GetRandom(0) causing an exception
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a5111ec4d25f adds a "factory reset" to iphone frontend
koda
parents: 2702
diff changeset
    12
@interface SettingsViewController : UIViewController 
a5111ec4d25f adds a "factory reset" to iphone frontend
koda
parents: 2702
diff changeset
    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
39d097ac2276 implement transition in the way i had in mind
koda
parents: 2720
diff changeset
    19
	UITableView *settingsTable;
2701
3a8560c00f78 settings tab has now a very nice iphone-like interface
koda
parents: 2696
diff changeset
    20
	UITableViewCell *volumeCell;
2720
a5111ec4d25f adds a "factory reset" to iphone frontend
koda
parents: 2702
diff changeset
    21
	UIView *buttonContainer;
2743
39d097ac2276 implement transition in the way i had in mind
koda
parents: 2720
diff changeset
    22
	UIView *parentView;
2687
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    23
}
2720
a5111ec4d25f adds a "factory reset" to iphone frontend
koda
parents: 2702
diff changeset
    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
39d097ac2276 implement transition in the way i had in mind
koda
parents: 2720
diff changeset
    30
@property (nonatomic, retain) IBOutlet UITableView *settingsTable;
2720
a5111ec4d25f adds a "factory reset" to iphone frontend
koda
parents: 2702
diff changeset
    31
@property (nonatomic, retain) IBOutlet UIView *buttonContainer;
2743
39d097ac2276 implement transition in the way i had in mind
koda
parents: 2720
diff changeset
    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
a5111ec4d25f adds a "factory reset" to iphone frontend
koda
parents: 2702
diff changeset
    36
-(IBAction) deleteData: (id)sender;
2687
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    37
@end