source: branches/species/PARSIMONY/pars_dtree.hxx

Last change on this file was 19613, checked in by westram, 2 months ago
  • reintegrates 'lib' into 'trunk'
    • replace dynamic library AWT by several static libraries: APP, ARB_SPEC, MASKS, CANVAS, MAPKEY, GUI_TK
    • now also check wrong library dependencies for untested units (only4me)
  • adds: log:branches/lib@19578:19612
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : pars_dtree.hxx                                    //
4//   Purpose   : phylogenetic tree display                         //
5//               (specialized for ARB_PARSIMONY)                   //
6//                                                                 //
7//   Institute of Microbiology (Technical University Munich)       //
8//   http://www.arb-home.de/                                       //
9//                                                                 //
10// =============================================================== //
11
12#ifndef PARS_DTREE_HXX
13#define PARS_DTREE_HXX
14
15#ifndef TREEDISPLAY_HXX
16#include <TreeDisplay.hxx>
17#endif
18
19class arb_progress;
20class ArbParsimony;
21class AP_tree_nlen;
22class AP_pars_root;
23
24class AWT_graphic_parsimony : public AWT_graphic_tree, virtual Noncopyable {
25    ArbParsimony& parsimony;
26
27    AW_gc_manager *init_devices(AW_window *, AW_device *, AWT_canvas *ntw) OVERRIDE;
28
29    void show(AW_device *device) OVERRIDE;
30
31    void handle_command(AW_device *device, AWT_graphic_event& event) OVERRIDE;
32    AP_tree_root *create_tree_root(AliView *aliview, AP_sequence *seq_prototype, bool insert_delete_cbs) OVERRIDE;
33
34public:
35    AWT_graphic_parsimony(ArbParsimony& parsimony_, GBDATA *gb_main_, AD_map_viewer_cb map_viewer_cb_);
36
37    AP_tree_nlen *get_root_node() {
38        return DOWNCAST(AP_tree_nlen*, AWT_graphic_tree::get_root_node());
39    }
40    AP_pars_root *get_tree_root() { return DOWNCAST(AP_pars_root*, AWT_graphic_tree::get_tree_root()); }
41    ArbParsimony& get_parsimony() { return parsimony; }
42};
43
44void PARS_tree_init(AWT_graphic_parsimony *agt);
45
46#else
47#error pars_dtree.hxx included twice
48#endif // PARS_DTREE_HXX
Note: See TracBrowser for help on using the repository browser.