cocoaTouch/SettingsViewController.h
changeset 2743 39d097ac2276
parent 2720 a5111ec4d25f
child 2803 1f446fc5c8ec
equal deleted inserted replaced
2742:21c0d2e69753 2743:39d097ac2276
    14 	UITextField *username;
    14 	UITextField *username;
    15 	UITextField *password;
    15 	UITextField *password;
    16 	UISwitch *musicSwitch;
    16 	UISwitch *musicSwitch;
    17 	UISwitch *soundsSwitch;
    17 	UISwitch *soundsSwitch;
    18 	UISwitch *altDamageSwitch;
    18 	UISwitch *altDamageSwitch;
    19 	UISlider *volumeSlider;
    19 	UITableView *settingsTable;
    20 	UILabel *volumeLabel;
       
    21 	UITableView *table;
       
    22 	UITableViewCell *volumeCell;
    20 	UITableViewCell *volumeCell;
    23 	UIView *buttonContainer;
    21 	UIView *buttonContainer;
       
    22 	UIView *parentView;
    24 	BOOL needsReset;
    23 	BOOL needsReset;
    25 }
    24 }
    26 
    25 
    27 @property (nonatomic, retain) IBOutlet UITextField *username;
    26 @property (nonatomic, retain) IBOutlet UITextField *username;
    28 @property (nonatomic, retain) IBOutlet UITextField *password;
    27 @property (nonatomic, retain) IBOutlet UITextField *password;
    29 @property (nonatomic, retain) UISwitch *musicSwitch;
    28 @property (nonatomic, retain) UISwitch *musicSwitch;
    30 @property (nonatomic, retain) UISwitch *soundsSwitch;
    29 @property (nonatomic, retain) UISwitch *soundsSwitch;
    31 @property (nonatomic, retain) UISwitch *altDamageSwitch;
    30 @property (nonatomic, retain) UISwitch *altDamageSwitch;
    32 @property (nonatomic, retain) IBOutlet UISlider *volumeSlider;
    31 @property (nonatomic, retain) IBOutlet UITableView *settingsTable;
    33 @property (nonatomic, retain) IBOutlet UILabel *volumeLabel;
       
    34 @property (nonatomic, retain) IBOutlet UITableView *table;
       
    35 @property (nonatomic, retain) IBOutlet UITableViewCell *volumeCell;
       
    36 @property (nonatomic, retain) IBOutlet UIView *buttonContainer;
    32 @property (nonatomic, retain) IBOutlet UIView *buttonContainer;
       
    33 @property (nonatomic, retain) UIView *parentView;
    37 
    34 
    38 -(IBAction) sliderChanged: (id)sender;
       
    39 -(IBAction) backgroundTap: (id)sender;
    35 -(IBAction) backgroundTap: (id)sender;
    40 -(IBAction) textFieldDoneEditing: (id)sender;
    36 -(IBAction) textFieldDoneEditing: (id)sender;
    41 -(IBAction) deleteData: (id)sender;
    37 -(IBAction) deleteData: (id)sender;
    42 @end
    38 @end