aed014024ad5a942f56ca250f94e18b9c490b8f8
[mussa.git] / mussa_gui_seq.hh
1 #include "mussa_nway.hh"
2
3 #include <math.h>
4 #include <FL/Fl.H>
5 #include <FL/Fl_Window.H>
6 #include <FL/Fl_Box.H>
7 #include <FL/fl_draw.H>
8 #include <FL/Fl_Scroll.H>
9
10 class SeqView : public Fl_Box
11 {
12   private:
13     string ana_name;
14     int seq_num;
15     int base_window_len;
16
17     //this data is passed as pointers to the instantiated classes
18     vector<Sequence> *S;
19     Nway_Paths *P;
20     vector<int> seq_lens;
21
22     int x_max, y_max;
23     int y_seq_incre;
24
25   public:
26     SeqView(int x_top,int y_top,int x_bot,int y_bot) :
27       Fl_Box(x_top,y_top,x_bot,y_bot)
28     {
29         x_max = x_bot;
30         y_max = y_bot;
31     }
32              
33     void setup(string, int, int, vector<Sequence> *, Nway_Paths *, vector<int>);
34     void draw();
35 };