12 #ifndef AWT_SEQ_COLORS_HXX
13 #define AWT_SEQ_COLORS_HXX
18 #ifndef _GLIBCXX_CSTRING
24 #ifndef _GLIBCXX_CCTYPE
28 #define e4_assert(bed) arb_assert(bed)
34 class ED4_species_manager;
41 void run_cb()
const {
if (cb) cb(); }
66 void reset_gap_table();
79 bool is_set()
const {
return reference; }
83 char r = reference[pos];
86 if (mindcase)
return c;
87 if (tolower(c) != tolower(r))
return c;
94 return term == ref_term;
113 #error ed4_seq_colors.hxx included twice
114 #endif // AWT_SEQ_COLORS_HXX
AW_window * ED4_create_viewDifferences_window(AW_root *awr)
void ED4_viewDifferences_announceTerminalChange()
bool only_show_diff_for(const ED4_sequence_terminal *term) const
ED4_seq_colors(int baseGC, void(*changed_cb)())
CONSTEXPR_INLINE unsigned char safeCharIndex(char c)
int convert(char c, int pos) const
void expand_to_length(int len)
void data_changed_cb(ED4_species_manager *calledFrom)
void set_nodiff_indicator(char ind)
AW_window * ED4_create_seq_colors_window(AW_root *awr, ED4_seq_colors *sc)
void ED4_viewDifferences_setNewReference()
bool reference_species_is(const ED4_sequence_terminal *term) const
bool reference_is_a_consensus() const
void ED4_toggle_viewDifferences(AW_root *awr)
void ED4_viewDifferences_disable()
void set_case_sensitive(bool mindcase_)
void define(const ED4_sequence_terminal *rterm)
void set_gap_handling(bool mindgaptype_, const char *gaptypes)