0994dcf69b556fcb84ac9bb6aacd7fd41efc40d1
[mussa.git] / mussa_gui_conn.hh
1 #include "mussa_gui_seq.hh"
2
3
4
5 class ConnView : public Fl_Box
6 {
7   private:
8     string ana_name;
9     int seq_num, window, threshold;
10     bool win_append, thres_append;
11
12     //this data is passed as pointers to the instantiated classes
13     vector<Sequence> *S;
14     Nway_Paths *P;
15
16     int x_max, y_max;
17     float x_scale_factor;
18     int y_seq_incre;
19   //list< will be list of these later for zooming history
20     list<vector<int> > scaled_pathz;
21     vector<int> seq_lens;
22
23
24   public:
25     ConnView(int x_top,int y_top,int x_bot,int y_bot) :
26       Fl_Box(x_top,y_top,x_bot,y_bot)
27       {
28         x_max = x_bot;
29         y_max = y_bot;
30       }
31
32     void setup(string name, int sq_num, int win_len,
33                vector<Sequence> *, Nway_Paths *);
34     void scale_paths();
35     void draw();
36     void spawnSeq();
37 };