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 | |
---|
20 | class AWT_graphic_parsimony : public AWT_graphic_tree { |
---|
21 | virtual AW_gc_manager init_devices(AW_window *, AW_device *, AWT_canvas *ntw, AW_CL cd2); |
---|
22 | /* init gcs, if any gc is changed you may call |
---|
23 | AWT_expose_cb(aw_window,ntw,cd2); |
---|
24 | or AWT_resize_cb(aw_window,ntw,cd2); |
---|
25 | The function may return a pointer to a preset window */ |
---|
26 | |
---|
27 | |
---|
28 | virtual void show(AW_device *device); |
---|
29 | virtual void command(AW_device *device, AWT_COMMAND_MODE cmd, int button, AW_key_mod key_modifier, AW_key_code key_code, char key_char, |
---|
30 | AW_event_type type, AW_pos x, AW_pos y, |
---|
31 | AW_clicked_line *cl, AW_clicked_text *ct); |
---|
32 | public: |
---|
33 | AWT_graphic_parsimony(AW_root *root, GBDATA *gb_main, AD_map_viewer_cb map_viewer_cb); |
---|
34 | |
---|
35 | }; |
---|
36 | |
---|
37 | void PARS_tree_init(AWT_graphic_tree *agt); |
---|
38 | void PARS_optimizer_cb(AP_tree *tree, arb_progress& progress); |
---|
39 | |
---|
40 | #else |
---|
41 | #error pars_dtree.hxx included twice |
---|
42 | #endif // PARS_DTREE_HXX |
---|