source: branches/port5/SL/AW_HELIX/AW_helix.hxx

Last change on this file was 5675, checked in by westram, 16 years ago
  • removed automatic timestamps (the best they were good for, were vc-conflicts)
  • 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      : AW_helix.hxx                                           //
4//   Purpose   : Wrapper for BI_helix + AW-specific functions           //
5//                                                                      //
6//                                                                      //
7// Coded by Ralf Westram (coder@reallysoft.de) in December 2004         //
8// Copyright Department of Microbiology (Technical University Munich)   //
9//                                                                      //
10// Visit our web site at: http://www.arb-home.de/                       //
11//                                                                      //
12// ==================================================================== //
13#ifndef AW_HELIX_HXX
14#define AW_HELIX_HXX
15
16#ifndef BI_HELIX_HXX
17#include <BI_helix.hxx>
18#endif
19#ifndef AW_ROOT_HXX
20#include <aw_root.hxx>
21#endif
22
23class AW_cb_struct;
24
25class AW_helix: public BI_helix {
26    long enabled; // draw or not
27
28public:
29    AW_helix(AW_root *awroot);
30
31    char *seq_2_helix(char *sequence,char undefsymbol = ' ');
32    char get_symbol(char left, char right, BI_PAIR_TYPE pair_type);
33    int show_helix( void *device, int gc1 , char *sequence,
34                    AW_pos x, AW_pos y,
35                    AW_bitset filter,
36                    AW_CL cd1, AW_CL cd2);
37
38    bool is_enabled() const { return (enabled != 0) && (size()>0); }
39};
40
41AW_window *create_helix_props_window(AW_root *awr, AW_cb_struct * /*owner*/awcbs);
42
43#else
44#error AW_helix.hxx included twice
45#endif // AW_HELIX_HXX
46
Note: See TracBrowser for help on using the repository browser.