1 #include "mussa_gui_load_window.hh"
5 #include <FL/fl_draw.H>
7 class SeqView : public Fl_Box
10 SeqView(int x_top,int y_top,int x_bot,int y_bot) :
11 Fl_Box(x_top,y_top,x_bot,y_bot)
21 void setup(string name, int sq_num, vector<Sequence> *some_seqs,
22 list<vector<int> > some_paths, vector<int> some_lens,
23 vector<motif> *some_motifs);
24 void align_offsets(int align_num);
25 void toggle_align(int align_num);
34 //this data is passed as pointers to the instantiated classes
36 //list of paths in selection box
39 //pointer to passed motif data
40 vector<motif> *the_motifs;
42 int x_max, y_max, x_min, y_min;
45 vector<int> seq_align_offsets;
46 vector<string> raw_sequence;
48 int drag_change, scroll_offset;
49 bool show_bars, show_motifs;
50 vector<bool> show_aligns;
52 void resize(int new_x, int new_y, int new_w, int new_h);
54 void draw_motifs(double ch_width);
55 void draw_sequence(double ch_width);
56 void draw_match_lines(double ch_width);
57 void draw_indices(double ch_width);
59 void reporter(string id, int value);