project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h
author koda
Tue, 20 Jul 2010 03:14:43 +0200
changeset 3659 f8d5ac50e307
parent 3547 02875b1145b7
child 3660 bc125bea5849
permissions -rw-r--r--
half reworking of the settings page with delegation some graphical enhancements, leaks and fixes

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

#import <UIKit/UIKit.h>


@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
    NSMutableDictionary *settingsDictionary;
    UITextField *textFieldBeingEdited;
    UISwitch *musicSwitch;
    UISwitch *soundSwitch;
    UISwitch *altDamageSwitch;
    BOOL isWriteNeeded;
}

@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
@property (nonatomic, retain) UISwitch *musicSwitch;
@property (nonatomic, retain) UISwitch *soundSwitch;
@property (nonatomic, retain) UISwitch *altDamageSwitch;

#define kNetworkFields 0
#define kAudioFields 1
#define kOtherFields 2

@end