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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     1
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     2
//  SettingsViewController.h
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     3
//  hwengine
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     4
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     5
//  Created by Vittorio on 08/01/10.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     7
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     8
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     9
#import <UIKit/UIKit.h>
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    10
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    11
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    12
@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    13
    NSMutableDictionary *settingsDictionary;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    14
    UITextField *textFieldBeingEdited;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    15
    UISwitch *musicSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    16
    UISwitch *soundSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    17
    UISwitch *altDamageSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    18
    BOOL isWriteNeeded;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    19
}
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    20
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    21
@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    22
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    23
@property (nonatomic, retain) UISwitch *musicSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    24
@property (nonatomic, retain) UISwitch *soundSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    25
@property (nonatomic, retain) UISwitch *altDamageSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    26
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    27
#define kNetworkFields 0
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    28
#define kAudioFields 1
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    29
#define kOtherFields 2
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    30
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    31
@end