projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set annotation draw function by type
[mussa.git]
/
alg
/
glseqbrowser.cpp
diff --git
a/alg/glseqbrowser.cpp
b/alg/glseqbrowser.cpp
index 107099bd824105df653a994699472f3a122cf2fb..c3f5cb19a8f4199e7debd2892fd40615d63c1465 100644
(file)
--- a/
alg/glseqbrowser.cpp
+++ b/
alg/glseqbrowser.cpp
@@
-354,7
+354,9
@@
void GlSeqBrowser::push_sequence(GlSequence gs)
void GlSeqBrowser::push_sequence(GlSequenceRef gs)
{
void GlSeqBrowser::push_sequence(GlSequenceRef gs)
{
+ ColorRef default_color(new Color(0.0, 0.8, 0.0));
GlSequenceRef new_gs(new GlSequence(gs));
GlSequenceRef new_gs(new GlSequence(gs));
+ new_gs->update_annotation_draw_function("gene", draw_narrow_track, default_color);
// mark where the sequence is
new_gs->add_annotations_for_defined_sequence(draw_track);
// mark where the sequence is
new_gs->add_annotations_for_defined_sequence(draw_track);