1 #ifndef _MUSSA_GUI_CONN_WINDOW_H_
2 #define _MUSSA_GUI_CONN_WINDOW_H_
4 // This file is part of the Mussa source distribution.
5 // http://mussa.caltech.edu/
6 // Contact author: Tristan De Buysscher, tristan@caltech.edu
8 // This program and all associated source code files are Copyright (C) 2005
9 // the California Institute of Technology, Pasadena, CA, 91125 USA. It is
10 // under the GNU Public License; please see the included LICENSE.txt
11 // file for more information, or contact Tristan directly.
15 #include <FL/Fl_Double_Window.H>
16 #include <FL/Fl_Menu_Bar.H>
17 #include <FL/Fl_Menu_Item.H>
19 #include "gui/ConnView.hpp"
20 #include "gui/SetupWindow.hpp"
21 #include "gui/SubAnalysisWindow.hpp"
22 #include "gui/SeqTextWindow.hpp"
24 //! Window for showing the lines connecting the various sequences together
25 class ConnWindow : public Fl_Double_Window
28 Mussa *an_analysis, *sub_analysis;
29 ConnWindow *sub_conn_win;
31 Fl_Menu_Button *file_menu;
32 Fl_Menu_Button *view_menu;
33 Fl_Menu_Bar *menu_bar;
36 Fl_Input *thres_input;
38 SetupWindow *setup_win;
39 SubAnalysisWindow *subana_win;
40 SeqTextWindow *show_seq_win;
41 int padding, name_pad;
42 std::string window_name;
45 ConnWindow(int w, int h, const char* title);
47 void add_ana(Mussa *the_ana);
49 void real_load_ana_cb();
50 void real_do_ana_cb();
51 void real_setup_ana_cb();
52 void real_subana_cb();
54 void real_seq_show_cb();
56 void real_seq_win_spawn_cb();
57 void real_motif_find_cb();
58 void real_annot_win_cb();
60 void real_toggle_bars_cb();
61 void real_set_bar_len_cb(Fl_Input* o);
62 void real_toggle_lines_cb();
63 void real_set_line_len_cb(Fl_Input* o);
64 void real_set_soft_thres_cb(Fl_Input* o);