return zoom_level;
}
-void GlSeqBrowser::setColorMapper(boost::shared_ptr<AnnotationColors> cm)
+void GlSeqBrowser::setColorMapper(AnnotationColorsRef cm)
{
color_mapper = cm;
}
-const AnnotationColors& GlSeqBrowser::colorMapper()
+const AnnotationColorsRef GlSeqBrowser::colorMapper()
{
- return *color_mapper;
+ return color_mapper;
}
void GlSeqBrowser::clear()
void GlSeqBrowser::push_sequence(GlSequenceRef gs)
{
GlSequenceRef new_gs(new GlSequence(gs));
+ // mark where the undefined sequence is
+ new_gs->add_annotations_for_undefined_sequence(draw_narrow_track);
+
clear_links();
track_container.push_back(new_gs);
update_layout();
path_segments.push_back(pair_segment_map());
}
-const std::vector<boost::shared_ptr<GlSequence> >& GlSeqBrowser::sequences() const
+const std::vector<GlSequenceRef >& GlSeqBrowser::sequences() const
{
return track_container;
}