-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathImportantMutationsDisplayView.h
35 lines (29 loc) · 1.16 KB
/
ImportantMutationsDisplayView.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
//
// ImportantMutationsDisplayView.h
// iGenomics
//
// Created by Stuckinaboot Inc. on 7/22/14.
//
//
#import <UIKit/UIKit.h>
#import "ImportantMutationInfo.h"
#import "DNAColors.h"
#define kImportantMutationsDisplayViewNibName @"ImportantMutationsDisplayView"
#define kImportantMutationInfoFormat @"Pos: %i Ref: %c Mut: %s"
#define kImportantMutationsInfoMatchIconSizeFactor 0.5 //Is multiplied by the table view cell height
#define kImportationMutationDisplayViewNoMutationsListed @"No important mutation file loaded"
@class MutationsInfoPopover;
@protocol ImportantMutationsDisplayViewDelegate <NSObject>
- (void)importantMutationAtPosPressedInImptMutDispView:(int)pos;
@end
@interface ImportantMutationsDisplayView : UIView <UITableViewDelegate, UITableViewDataSource> {
IBOutlet UITableView *tblView;
NSMutableArray *numOfRowsInSectionArr;
DNAColors *dnaColors;
NSArray *mutationsArray;
}
@property (nonatomic) id <ImportantMutationsDisplayViewDelegate> delegate;
- (IBAction)cellAccessoryBtnTapped:(id)sender forEvent:(UIEvent*)event;
- (void)setUpWithMutationsArray:(NSArray*)arr;
- (int)indexInMutationsArrayForIndexPath:(NSIndexPath*)indexPath;
@end