1 // This file is part of the Mussa source distribution.
2 // http://mussa.caltech.edu/
3 // Contact author: Tristan De Buysscher, tristan@caltech.edu
5 // This program and all associated source code files are Copyright (C) 2005
6 // the California Institute of Technology, Pasadena, CA, 91125 USA. It is
7 // under the GNU Public License; please see the included LICENSE.txt
8 // file for more information, or contact Tristan directly.
11 #include "mussa_gui_seq.hh"
12 #include <FL/Fl_Text_Buffer.H>
13 #include <FL/Fl_Text_Display.H>
14 #include <FL/Fl_Multiline_Output.H>
16 class SeqTextWin : public Fl_Window
19 SeqTextWin(int w, int h, const char* title, vector<Sequence> some_Seqs);
22 Fl_Button* get_seq_but;
23 Fl_Multiline_Output* seq_display;
24 Fl_Text_Buffer* seq_buffer;
25 Fl_Text_Display* seq_display2;
26 Fl_Input *seq_id_input;
27 Fl_Input *seq_start_input;
28 Fl_Input *seq_end_input;
30 // callback receiver functions
32 void real_get_seq_cb();
33 void real_set_seq_id_cb(Fl_Input* o);
34 void real_set_seq_start_cb(Fl_Input* o);
35 void real_set_seq_end_cb(Fl_Input* o);
39 vector<Sequence> the_Seqs;
41 int seq_id, seq_start, seq_end;