istereo

diff src/ui.h @ 35:23e5d274b2a2

added options panel, also added the xib files to the repository as they're needed
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 09 Sep 2011 10:03:42 +0300
parents
children ff055bff6a15
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/ui.h	Fri Sep 09 10:03:42 2011 +0300
     1.3 @@ -0,0 +1,22 @@
     1.4 +/* UI and shit */
     1.5 +
     1.6 +#import <UIKit/UIKit.h>
     1.7 +
     1.8 +@interface UI : UIViewController {
     1.9 +	IBOutlet UISwitch *sw_stereo;
    1.10 +	IBOutlet UISlider *slider_split;
    1.11 +	IBOutlet UISegmentedControl *grp_mode;
    1.12 +	IBOutlet UIButton *bn_done;
    1.13 +}
    1.14 +
    1.15 +@property (nonatomic, retain) IBOutlet UISwitch *sw_stereo;
    1.16 +@property (nonatomic, retain) IBOutlet UISlider *slider_split;
    1.17 +@property (nonatomic, retain) IBOutlet UISegmentedControl *grp_mode;
    1.18 +@property (nonatomic, retain) IBOutlet UIButton *bn_done;
    1.19 +
    1.20 +-(IBAction) done_clicked: (id) sender;
    1.21 +-(IBAction) split_changed: (id) sender;
    1.22 +-(IBAction) stereo_changed: (id) sender;
    1.23 +-(IBAction) mode_changed: (id) sender;
    1.24 +
    1.25 +@end