Last change
on this file was
14838,
checked in by westram, 8 years ago
|
- no longer pseudo-hide gc-manager-object
- aw_gc_manager → AW_gc_manager
- use pointers to AW_gc_manager instead of pointer-typedef
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.7 KB
|
Line | |
---|
1 | // =============================================================== // |
---|
2 | // // |
---|
3 | // File : pars_dtree.hxx // |
---|
4 | // Purpose : // |
---|
5 | // // |
---|
6 | // Institute of Microbiology (Technical University Munich) // |
---|
7 | // http://www.arb-home.de/ // |
---|
8 | // // |
---|
9 | // =============================================================== // |
---|
10 | |
---|
11 | #ifndef PARS_DTREE_HXX |
---|
12 | #define PARS_DTREE_HXX |
---|
13 | |
---|
14 | #ifndef TREEDISPLAY_HXX |
---|
15 | #include <TreeDisplay.hxx> |
---|
16 | #endif |
---|
17 | |
---|
18 | class arb_progress; |
---|
19 | class ArbParsimony; |
---|
20 | class AP_tree_nlen; |
---|
21 | class AP_pars_root; |
---|
22 | |
---|
23 | class AWT_graphic_parsimony : public AWT_graphic_tree, virtual Noncopyable { |
---|
24 | ArbParsimony& parsimony; |
---|
25 | |
---|
26 | AW_gc_manager *init_devices(AW_window *, AW_device *, AWT_canvas *ntw) OVERRIDE; |
---|
27 | |
---|
28 | void show(AW_device *device) OVERRIDE; |
---|
29 | |
---|
30 | void handle_command(AW_device *device, AWT_graphic_event& event) OVERRIDE; |
---|
31 | AP_tree_root *create_tree_root(AliView *aliview, AP_sequence *seq_prototype, bool insert_delete_cbs) OVERRIDE; |
---|
32 | |
---|
33 | public: |
---|
34 | AWT_graphic_parsimony(ArbParsimony& parsimony_, GBDATA *gb_main_, AD_map_viewer_cb map_viewer_cb_); |
---|
35 | |
---|
36 | AP_tree_nlen *get_root_node() { |
---|
37 | return DOWNCAST(AP_tree_nlen*, AWT_graphic_tree::get_root_node()); |
---|
38 | } |
---|
39 | AP_pars_root *get_tree_root() { return DOWNCAST(AP_pars_root*, AWT_graphic_tree::get_tree_root()); } |
---|
40 | ArbParsimony& get_parsimony() { return parsimony; } |
---|
41 | }; |
---|
42 | |
---|
43 | void PARS_tree_init(AWT_graphic_parsimony *agt); |
---|
44 | |
---|
45 | #else |
---|
46 | #error pars_dtree.hxx included twice |
---|
47 | #endif // PARS_DTREE_HXX |
---|
Note: See
TracBrowser
for help on using the repository browser.