cocoaTouch/SettingsViewController.h
changeset 2701 3a8560c00f78
parent 2696 41aa7b56c17b
child 2702 48fc46a922fd
equal deleted inserted replaced
2700:726e4a230b48 2701:3a8560c00f78
     7 //
     7 //
     8 
     8 
     9 #import <UIKit/UIKit.h>
     9 #import <UIKit/UIKit.h>
    10 
    10 
    11 
    11 
    12 @interface SettingsViewController : UIViewController {
    12 @interface SettingsViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
    13 	UITextField *username;
    13 	UITextField *username;
    14 	UITextField *password;
    14 	UITextField *password;
    15 	UISwitch *musicOn;
    15 	UISwitch *musicSwitch;
    16 	UISwitch *effectsOn;
    16 	UISwitch *effectsSwitch;
    17 	UISwitch *altDamageOn;
    17 	UISwitch *altDamageSwitch;
    18 	UISlider *volumeSlider;
    18 	UISlider *volumeSlider;
    19 	UILabel *volumeLabel;
    19 	UILabel *volumeLabel;
       
    20 	UITableView *table;
       
    21 	UITableViewCell *volumeCell;
    20 }
    22 }
    21 @property (nonatomic, retain) IBOutlet UITextField *username;
    23 @property (nonatomic, retain) IBOutlet UITextField *username;
    22 @property (nonatomic, retain) IBOutlet UITextField *password;
    24 @property (nonatomic, retain) IBOutlet UITextField *password;
    23 @property (nonatomic, retain) IBOutlet UISwitch *musicOn;
    25 @property (nonatomic, retain) UISwitch *musicSwitch;
    24 @property (nonatomic, retain) IBOutlet UISwitch *effectsOn;
    26 @property (nonatomic, retain) UISwitch *effectsSwitch;
    25 @property (nonatomic, retain) IBOutlet UISwitch *altDamageOn;
    27 @property (nonatomic, retain) UISwitch *altDamageSwitch;
    26 @property (nonatomic, retain) IBOutlet UISlider *volumeSlider;
    28 @property (nonatomic, retain) IBOutlet UISlider *volumeSlider;
    27 @property (nonatomic, retain) IBOutlet UILabel *volumeLabel;
    29 @property (nonatomic, retain) IBOutlet UILabel *volumeLabel;
       
    30 @property (nonatomic, retain) IBOutlet UITableView *table;
       
    31 @property (nonatomic, retain) IBOutlet UITableViewCell *volumeCell;
    28 
    32 
    29 -(IBAction) sliderChanged: (id)sender;
    33 -(IBAction) sliderChanged: (id)sender;
    30 -(IBAction) backgroundTap: (id)sender;
    34 -(IBAction) backgroundTap: (id)sender;
    31 -(IBAction) textFieldDoneEditing: (id)sender;
    35 -(IBAction) textFieldDoneEditing: (id)sender;
    32 @end
    36 @end