projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix problems with motif changes not showing up in sequencebrowser
[mussa.git]
/
alg
/
glsequence.hpp
diff --git
a/alg/glsequence.hpp
b/alg/glsequence.hpp
index cbb933c6d3836717e4340e97aac5451bb55b8f12..4d93d15b66969aea13f3a51026352c58c9524a4a 100644
(file)
--- a/
alg/glsequence.hpp
+++ b/
alg/glsequence.hpp
@@
-54,6
+54,8
@@
public:
const ColorRef color() const;
//! return our draw color
ColorRef color();
const ColorRef color() const;
//! return our draw color
ColorRef color();
+ //! return our annotation color mapper
+ AnnotationColorsRef colorMapper() { return color_mapper; }
//! draw a track
/*! left and right are the edges of the current viewport
//! draw a track
/*! left and right are the edges of the current viewport
@@
-100,7
+102,7
@@
public:
friend bool operator==(const GlSequence &left, const GlSequence &right);
protected:
friend bool operator==(const GlSequence &left, const GlSequence &right);
protected:
-
boost::shared_ptr<AnnotationColors>
color_mapper;
+
AnnotationColorsRef
color_mapper;
const GLfloat char_pix_per_world_unit;
//! Return the pixel width of the opengl viewport.
const GLfloat char_pix_per_world_unit;
//! Return the pixel width of the opengl viewport.