1 #include "mussa_gui_subana.hh"
5 class ConnView : public Fl_Box
8 ConnView(int x_top,int y_top,int x_bot,int y_bot) :
9 Fl_Box(x_top,y_top,x_bot,y_bot)
12 void setup(string name, int sq_num, int win_len,
13 vector<Sequence> *, Nway_Paths *);
21 void set_bar_interval(int new_bar_len);
23 void set_line_interval(int new_line_len);
28 int seq_num, window, threshold;
29 bool win_append, thres_append;
31 //this data is passed as pointers to the instantiated classes
38 int drag_start, drag_end;
40 int ref_seq_num, max_seq_len;
41 bool dragging, selected;
44 //path data scaled for current view size
45 list<vector<int> > scaled_pathz;
47 vector<int> seq_scales;
48 int bar_interval, line_interval;
49 bool show_bars, show_lines;
51 //keeps track of all the motifs the user has inputed
52 vector<motif> some_motifs;
53 MotifWindow *motif_find_window;
55 //keeps track of the colors assigned to each motif type
56 vector<annot_color> some_annots;
57 AnnotWindow *annot_color_window;
63 void draw_sequence_stuff();
65 void resize(int x, int y, int w, int h);
67 void check_new_motifs();
69 //for drawing function debugging
70 void reporter(string var, int value);
71 void report_float(string var, float value);