cocoaTouch/SettingsViewController.h
author smxx
Fri, 12 Feb 2010 16:39:22 +0000
changeset 2800 f286d91157b8
parent 2743 39d097ac2276
child 2803 1f446fc5c8ec
permissions -rw-r--r--
Engine: * Added executable icon (Win32 only) * Added window icon * Tiy should redo both as I couldn't get them right (blurred/transparency)

//
//  SettingsViewController.h
//  hwengine
//
//  Created by Vittorio on 08/01/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SettingsViewController : UIViewController 
		<UITableViewDelegate, UITableViewDataSource, UIActionSheetDelegate> {
	UITextField *username;
	UITextField *password;
	UISwitch *musicSwitch;
	UISwitch *soundsSwitch;
	UISwitch *altDamageSwitch;
	UITableView *settingsTable;
	UITableViewCell *volumeCell;
	UIView *buttonContainer;
	UIView *parentView;
	BOOL needsReset;
}

@property (nonatomic, retain) IBOutlet UITextField *username;
@property (nonatomic, retain) IBOutlet UITextField *password;
@property (nonatomic, retain) UISwitch *musicSwitch;
@property (nonatomic, retain) UISwitch *soundsSwitch;
@property (nonatomic, retain) UISwitch *altDamageSwitch;
@property (nonatomic, retain) IBOutlet UITableView *settingsTable;
@property (nonatomic, retain) IBOutlet UIView *buttonContainer;
@property (nonatomic, retain) UIView *parentView;

-(IBAction) backgroundTap: (id)sender;
-(IBAction) textFieldDoneEditing: (id)sender;
-(IBAction) deleteData: (id)sender;
@end