15 #ifndef BI_BASEPOS_HXX
22 #ifndef SECEDIT_EXTERN_HXX
29 #define AWAR_SECEDIT_BASELINEWIDTH "secedit/baselinewidth"
30 #define AWAR_SECEDIT_SAVEDIR "tmp/secedit/savedir"
32 #define AWAR_SECEDIT_DIST_BETW_STRANDS "secedit/layout/dist_betw_strands"
33 #define AWAR_SECEDIT_SKELETON_THICKNESS "secedit/layout/skelton_thickness"
34 #define AWAR_SECEDIT_BOND_THICKNESS "secedit/layout/bond_thickness"
35 #define AWAR_SECEDIT_SHOW_DEBUG "secedit/layout/show_debug_info"
36 #define AWAR_SECEDIT_SHOW_HELIX_NRS "secedit/layout/show_helix_numbers"
37 #define AWAR_SECEDIT_SHOW_ECOLI_POS "secedit/layout/show_ecoli_pos"
38 #define AWAR_SECEDIT_SHOW_STR_SKELETON "secedit/layout/show_structure_skeleton"
39 #define AWAR_SECEDIT_HIDE_BASES "secedit/layout/hide_bases"
40 #define AWAR_SECEDIT_SHOW_BONDS "secedit/layout/show_bonds"
41 #define AWAR_SECEDIT_SHOW_CURPOS "secedit/layout/show_cursor_pos"
42 #define AWAR_SECEDIT_DISPLAY_SAI "secedit/layout/display_sai"
43 #define AWAR_SECEDIT_DISPLAY_SEARCH "secedit/layout/display_search"
44 #define AWAR_SECEDIT_DISPPOS_BINDING "secedit/layout/disppos_binding"
45 #define AWAR_SECEDIT_DISPPOS_ECOLI "secedit/layout/disppos_ecoli"
47 #define AWAR_SECEDIT_BOND_SYMBOLS_EDIT4 "secedit/layout/bonds/edit4"
48 #define AWAR_SECEDIT_BOND_SYMBOLS_TRANS "secedit/layout/bonds/translated"
66 bool valid()
const {
return Data; }
68 char data(
size_t abspos)
const {
90 bool displayEcoliPositions;
96 bool displayBindingHelixPositions;
124 void reload_ecoli(
const SEC_dbcb *cb);
125 void reload_helix(
const SEC_dbcb *cb);
126 void update_positions(
const SEC_dbcb *cb);
129 void cursor_changed(
const SEC_dbcb *cb);
130 void alilen_changed(
const SEC_dbcb *cb);
132 void bind_awars(
const char **awars,
SEC_dbcb *cb);
141 size_t length()
const {
return ali_length; }
145 return displayPos[abspos];
149 return sequence->
data(abspos);
172 #error sec_db.hxx included twice
bool shallDisplayPosition(size_t abspos) const
const ED4_plugin_host & host() const
void update_shown_positions()
AWT_canvas * canvas() const
virtual const AW_helix * get_helix() const =0
char data(size_t abspos) const
const AW_helix * edit4_helix() const
SEC_structure_toggler * structure() const
SEC_db_interface(SEC_graphic *Gfx, AWT_canvas *Scr, ED4_plugin_host &host_)
SEC_graphic * graphic() const
SEC_root * secroot() const
BI_ecoli_ref * ecoli() const
void init_toggler() const
char baseAt(size_t abspos) const
SEC_bond_def * bonds() const
const char * sequence() const
SEC_seq_data(GBDATA *gb_item, const char *aliname, const SEC_dbcb *reload_item)