-
Notifications
You must be signed in to change notification settings - Fork 5
/
AnalysisControllerIPhoneToolbar.h
45 lines (40 loc) · 1.51 KB
/
AnalysisControllerIPhoneToolbar.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// AnalysisControllerIPhoneToolbar.h
// iGenomics
//
// Created by Stuckinaboot Inc. on 3/29/14.
//
//
#import <UIKit/UIKit.h>
#import "GlobalVars.h"
#import "ImportantMutationsDisplayView.h"
#define kGridViewSwitcherCtrlAlignmentsIndex 0
#define kGridViewSwitcherCtrlCovProfileIndex 1
@protocol AnalysisControllerIPhoneToolbarDelegate <NSObject>
- (void)readyViewForCovProfile;
- (void)readyViewForAlignments;
- (void)readyViewCalledBySegPickerView:(int)indexToScrollTo;
- (void)scrollToPos:(int)pos;
@end
@interface AnalysisControllerIPhoneToolbar : UIView <UIScrollViewDelegate, ImportantMutationsDisplayViewDelegate, UITextFieldDelegate> {
IBOutlet UIScrollView *scrollView;
IBOutlet UIPageControl *pageControl;
IBOutlet UINavigationBar *summaryNavBar;
NSArray *pages;
IBOutlet UIView *btnsView;
IBOutlet UIView *lblsView;
IBOutlet UIView *segSelectView;
UIButton *showAlignmentViewSegmentPckrBtn;
UIButton *showCoverageProfileSegmentPckrBtn;
}
@property (nonatomic) ImportantMutationsDisplayView *imptMutsDispView;
@property (nonatomic) id <AnalysisControllerIPhoneToolbarDelegate> delegate;
- (IBAction)showAlignmentsPressed:(id)sender;
- (IBAction)showCovProfilePressed:(id)sender;
- (IBAction)donePressed:(id)sender;
- (void)hide;
- (IBAction)pageChanged:(id)sender;
- (void)setUpWithImptMutationList:(NSMutableArray*)imptMutations;
- (void)setAlignmentSegmentPckrBtn:(UIButton*)aBtn covProfileSegmentPckrBtn:(UIButton*)cBtn;
- (void)addDoneBtnForTxtFields:(NSArray*)txtFields;
@end