{
// draw annotations
GLfloat annotation_z = z() + 10.0;
- const std::list<annot>& annots = Sequence::annotations();
+ const SeqSpanRefList& annots = Sequence::annotations();
const MotifList& motifs = Sequence::motifs();
- for (std::list<annot>::const_iterator annot_itor = annots.begin();
+ for (SeqSpanRefList::const_iterator annot_itor = annots.begin();
annot_itor != annots.end();
++annot_itor)
{
glColor3f(0.0, 0.8, 0.0);
- draw_box(left, right, x()+annot_itor->begin, x()+annot_itor->end,
+ draw_box(left, right, x()+(*annot_itor)->start(), x()+(*annot_itor)->stop(),
height(), annotation_z);
}
// if motifs?