cocoaTouch/GeneralSettingsViewController.h
author sheepluva
Thu, 06 May 2010 01:41:07 +0000
changeset 3428 46a2694867bc
parent 3332 3c90a923f156
permissions -rw-r--r--
portal: * add/change/move some code * fix graphics (there was a 1 px offset at one frame) * you can use tab key to switch (next) portal color now (for testing purposes, might be removed again)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     1
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     2
//  SettingsViewController.h
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     3
//  hwengine
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     4
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     5
//  Created by Vittorio on 08/01/10.
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     7
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     8
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    10
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    11
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    12
@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    13
    NSMutableDictionary *settingsDictionary;
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    14
	UITextField *textFieldBeingEdited;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    15
	UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    16
	UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    17
	UISwitch *altDamageSwitch;
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    18
    BOOL isWriteNeeded;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    19
}
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    20
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    21
@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    22
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    23
@property (nonatomic, retain) UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    24
@property (nonatomic, retain) UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    25
@property (nonatomic, retain) UISwitch *altDamageSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    26
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    27
#define kNetworkFields 0
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    28
#define kAudioFields 1
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    29
#define kOtherFields 2
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    30
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    31
@end