[project @ 13]
[mussa.git] / mussa_gui_conn_window.hh
1 //  This file is part of the Mussa source distribution.
2 //  http://mussa.caltech.edu/
3 //  Contact author: Tristan  De Buysscher, tristan@caltech.edu
4
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.
9
10
11 #include "mussa_gui_conn_view.hh"
12 #include <FL/fl_ask.H>
13
14
15 class ConnWindow : public Fl_Double_Window
16 {
17   private:
18     Mussa *an_analysis, *sub_analysis;
19     ConnWindow *sub_conn_win;
20
21     Fl_Menu_Button *file_menu;
22     Fl_Menu_Button *view_menu;
23     Fl_Input *bar_input;
24     Fl_Input *line_input;
25     Fl_Input *thres_input;
26     ConnView *conn_box;
27     SetupWindow *setup_win;
28     SubanaWindow *subana_win;
29     SeqTextWin *show_seq_win;
30     int padding, name_pad;
31     string window_name;
32
33   public:
34     ConnWindow(int w, int h, const char* title);
35     ~ConnWindow();
36     void add_ana(Mussa *the_ana);
37
38     void real_load_ana_cb();
39     void real_do_ana_cb();
40     void real_setup_ana_cb();
41     void real_subana_cb();
42     void real_resthres();
43     void real_seq_show_cb();
44
45     void real_seq_win_spawn_cb();
46     void real_motif_find_cb();
47     void real_annot_win_cb();
48
49     void real_toggle_bars_cb();
50     void real_set_bar_len_cb(Fl_Input* o);
51     void real_toggle_lines_cb();
52     void real_set_line_len_cb(Fl_Input* o);
53     void real_set_soft_thres_cb(Fl_Input* o);
54
55
56   // I goddamned hate gcc
57 };