equal
deleted
inserted
replaced
19 */ |
19 */ |
20 |
20 |
21 |
21 |
22 #import <UIKit/UIKit.h> |
22 #import <UIKit/UIKit.h> |
23 #import "MapPreviewButtonView.h" |
23 #import "MapPreviewButtonView.h" |
24 |
24 #import "ValueTrackingSliderView.h" |
25 |
25 |
26 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> { |
26 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> { |
27 NSInteger oldValue; // for the slider |
27 NSInteger oldValue; // for the slider |
28 NSInteger oldPage; // for the segmented control |
28 NSInteger oldPage; // for the segmented control |
29 BOOL busy; // for the preview button |
29 BOOL busy; // for the preview button |
40 |
40 |
41 // various widgets in the view |
41 // various widgets in the view |
42 MapPreviewButtonView *previewButton; |
42 MapPreviewButtonView *previewButton; |
43 UITableView *tableView; |
43 UITableView *tableView; |
44 UILabel *maxLabel; |
44 UILabel *maxLabel; |
45 UILabel *sizeLabel; |
|
46 UISegmentedControl *segmentedControl; |
45 UISegmentedControl *segmentedControl; |
47 UISlider *slider; |
46 ValueTrackingSliderView *slider; |
48 |
47 |
49 // internal objects |
48 // internal objects |
50 NSIndexPath *lastIndexPath; |
49 NSIndexPath *lastIndexPath; |
51 NSArray *dataSourceArray; |
50 NSArray *dataSourceArray; |
52 } |
51 } |
65 @property (nonatomic,retain) NSString *missionCommand; |
64 @property (nonatomic,retain) NSString *missionCommand; |
66 |
65 |
67 @property (nonatomic,retain) IBOutlet MapPreviewButtonView *previewButton; |
66 @property (nonatomic,retain) IBOutlet MapPreviewButtonView *previewButton; |
68 @property (nonatomic,retain) IBOutlet UITableView *tableView; |
67 @property (nonatomic,retain) IBOutlet UITableView *tableView; |
69 @property (nonatomic,retain) IBOutlet UILabel *maxLabel; |
68 @property (nonatomic,retain) IBOutlet UILabel *maxLabel; |
70 @property (nonatomic,retain) IBOutlet UILabel *sizeLabel; |
|
71 @property (nonatomic,retain) IBOutlet UISegmentedControl *segmentedControl; |
69 @property (nonatomic,retain) IBOutlet UISegmentedControl *segmentedControl; |
72 @property (nonatomic,retain) IBOutlet UISlider *slider; |
70 @property (nonatomic,retain) IBOutlet ValueTrackingSliderView *slider; |
73 |
71 |
74 @property (nonatomic,retain) NSIndexPath *lastIndexPath; |
72 @property (nonatomic,retain) NSIndexPath *lastIndexPath; |
75 @property (nonatomic,retain) NSArray *dataSourceArray; |
73 @property (nonatomic,retain) NSArray *dataSourceArray; |
76 |
74 |
77 |
75 |